From 87564f3972ffbb4106682f7b6e88110fbe76004f Mon Sep 17 00:00:00 2001 From: Andre Eisenbach Date: Wed, 11 Apr 2012 13:36:27 -0700 Subject: Move build configuration files to output directory Build configuration files (buildcfg.h and vnd_buildcfg.h) are now automatically generated on demand in the intermediate output directories for each platform. In addition, buth buildcfg.h and vnd_buildcfg.h files are now generated using a common script. Change-Id: I3580701f32f1993750588d15bd529c6ee337031b --- bta/Android.mk | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bta') diff --git a/bta/Android.mk b/bta/Android.mk index 79d8677..f5ab5e1 100644 --- a/bta/Android.mk +++ b/bta/Android.mk @@ -2,8 +2,6 @@ ifneq ($(TARGET_SIMULATOR),true) LOCAL_PATH:= $(call my-dir) -include $(LOCAL_PATH)/../include/buildcfg.mk - include $(CLEAR_VARS) ifeq ($(BOARD_HAVE_BLUETOOTH_BCM),true) @@ -127,6 +125,7 @@ LOCAL_SRC_FILES:= \ ./jv/bta_jv_api.c LOCAL_MODULE := libbt-brcm_bta +LOCAL_MODULE_CLASS := STATIC_LIBRARIES LOCAL_MODULE_TAGS := optional LOCAL_SHARED_LIBRARIES := libcutils libc @@ -144,6 +143,8 @@ LOCAL_C_INCLUDES+= . \ $(LOCAL_PATH)/../udrv/include \ $(LOCAL_PATH)/../brcm/include \ +include $(LOCAL_PATH)/../include/buildcfg.mk + include $(BUILD_STATIC_LIBRARY) endif # TARGET_SIMULATOR != true -- cgit v1.1