1 Star 0 Fork 0

OpenFDE/lineageos_android_hardware_broadcom_libbt

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
Android.mk 1.48 KB
一键复制 编辑 原始数据 按行查看 历史
LOCAL_PATH := $(call my-dir)
ifneq ($(BOARD_HAVE_BLUETOOTH_BCM),)
include $(CLEAR_VARS)
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
BDROID_DIR := $(TOP_DIR)system/bt
ifeq ($(strip $(USE_BLUETOOTH_BCM4343)),true)
LOCAL_CFLAGS += -DUSE_BLUETOOTH_BCM4343
endif
LOCAL_CFLAGS += \
-Wall \
-Werror \
-Wno-switch \
-Wno-unused-function \
-Wno-unused-parameter \
-Wno-unused-variable \
LOCAL_SRC_FILES := \
src/bt_vendor_brcm.c \
src/hardware.c \
src/userial_vendor.c \
src/upio.c \
src/conf.c
LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/include \
$(BDROID_DIR)/hci/include \
$(BDROID_DIR)/include \
$(BDROID_DIR)/device/include \
$(BDROID_DIR)
LOCAL_C_INCLUDES += $(bdroid_C_INCLUDES)
LOCAL_CFLAGS += $(bdroid_CFLAGS)
LOCAL_HEADER_LIBRARIES := libutils_headers
ifneq ($(BOARD_HAVE_BLUETOOTH_BCM_A2DP_OFFLOAD),)
LOCAL_STATIC_LIBRARIES := libbt-brcm_a2dp
endif
LOCAL_SHARED_LIBRARIES := \
libcutils \
liblog
LOCAL_MODULE := libbt-vendor
LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_CLASS := SHARED_LIBRARIES
LOCAL_MODULE_OWNER := broadcom
LOCAL_PROPRIETARY_MODULE := true
include $(LOCAL_PATH)/vnd_buildcfg.mk
include $(BUILD_SHARED_LIBRARY)
endif # BOARD_HAVE_BLUETOOTH_BCM
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/openfde/lineageos_android_hardware_broadcom_libbt.git
git@gitee.com:openfde/lineageos_android_hardware_broadcom_libbt.git
openfde
lineageos_android_hardware_broadcom_libbt
lineageos_android_hardware_broadcom_libbt
fde_w

搜索帮助