summaryrefslogtreecommitdiffstats
path: root/stack/Android.mk
diff options
context:
space:
mode:
authorAndre Eisenbach <andre@broadcom.com>2012-04-11 13:36:27 -0700
committerMatthew Xie <mattx@google.com>2012-07-14 11:19:16 -0700
commit87564f3972ffbb4106682f7b6e88110fbe76004f (patch)
treea3d51e612f4f352502567c704cfd65729ecd1828 /stack/Android.mk
parent15ccfa97c678c45b05cc226d51287fb59a4f8b29 (diff)
downloadexternal_bluetooth_bluedroid-87564f3972ffbb4106682f7b6e88110fbe76004f.zip
external_bluetooth_bluedroid-87564f3972ffbb4106682f7b6e88110fbe76004f.tar.gz
external_bluetooth_bluedroid-87564f3972ffbb4106682f7b6e88110fbe76004f.tar.bz2
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
Diffstat (limited to 'stack/Android.mk')
-rw-r--r--stack/Android.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/stack/Android.mk b/stack/Android.mk
index f280b5d..0d7a17e 100644
--- a/stack/Android.mk
+++ b/stack/Android.mk
@@ -2,8 +2,6 @@ ifneq ($(TARGET_SIMULATOR),true)
LOCAL_PATH:= $(call my-dir)
-include $(LOCAL_PATH)/../include/buildcfg.mk
-
include $(CLEAR_VARS)
LOCAL_C_INCLUDES:= . \
@@ -184,8 +182,11 @@ LOCAL_SRC_FILES:= \
LOCAL_MODULE := libbt-brcm_stack
LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_CLASS := STATIC_LIBRARIES
LOCAL_SHARED_LIBRARIES := libcutils libc
+include $(LOCAL_PATH)/../include/buildcfg.mk
+
include $(BUILD_STATIC_LIBRARY)
endif # TARGET_SIMULATOR != true