1 Star 0 Fork 0

harricHe/android_system_bt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
克隆/下载
Android.mk 1.14 KB
一键复制 编辑 原始数据 按行查看 历史
LOCAL_PATH := $(call my-dir)
# Setup bdroid local make variables for handling configuration
ifneq ($(BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR),)
bdroid_C_INCLUDES := $(BOARD_BLUETOOTH_BDROID_BUILDCFG_INCLUDE_DIR)
bdroid_CFLAGS += -DHAS_BDROID_BUILDCFG
else
bdroid_C_INCLUDES :=
bdroid_CFLAGS += -DHAS_NO_BDROID_BUILDCFG
endif
ifeq ($(TARGET_BUILD_VARIANT),userdebug)
ifneq ($(BOARD_HAS_QCA_BT_ROME),true)
bdroid_CFLAGS += -DQLOGKIT_USERDEBUG
endif
endif
ifneq ($(BOARD_BLUETOOTH_BDROID_HCILP_INCLUDED),)
bdroid_CFLAGS += -DHCILP_INCLUDED=$(BOARD_BLUETOOTH_BDROID_HCILP_INCLUDED)
endif
ifeq ($(TARGET_BUILD_VARIANT),eng)
bdroid_CFLAGS += -DBLUEDROID_DEBUG
bdroid_CFLAGS += -DUSE_AUDIO_TRACK
endif
ifeq ($(BOARD_USES_WIPOWER), true)
bdroid_CFLAGS += -DWIPOWER_SUPPORTED
endif
ifeq ($(strip $(AUDIO_FEATURE_ENABLED_SPLIT_A2DP)),true)
bdroid_CFLAGS += -DBTA_AV_SPLIT_A2DP_ENABLED
bdroid_CFLAGS += -DBTA_AV_SPLIT_A2DP_DEF_FREQ_48KHZ
endif
bdroid_CFLAGS += \
-Wall \
-Wno-unused-parameter \
-Wunused-but-set-variable \
-UNDEBUG \
-DLOG_NDEBUG=1
include $(call all-subdir-makefiles)
# Cleanup our locals
bdroid_C_INCLUDES :=
bdroid_CFLAGS :=
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/harric/android_system_bt.git
git@gitee.com:harric/android_system_bt.git
harric
android_system_bt
android_system_bt
cm-13.0

搜索帮助