summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/Android.mk9
1 files changed, 9 insertions, 0 deletions
diff --git a/main/Android.mk b/main/Android.mk
index 43f5605dd..55497a0d8 100644
--- a/main/Android.mk
+++ b/main/Android.mk
@@ -57,6 +57,11 @@ LOCAL_SRC_FILES += \
../btif/src/btif_util.c \
../btif/src/stack_manager.c
+ifeq ($(BOARD_USES_WIPOWER), true)
+ LOCAL_SRC_FILES += \
+ ../wipowerif/src/wipower.c
+endif
+
# callouts
LOCAL_SRC_FILES+= \
../btif/co/bta_ag_co.c \
@@ -114,6 +119,10 @@ LOCAL_C_INCLUDES+= . \
external/tinyxml2 \
external/zlib
+ifeq ($(BOARD_USES_WIPOWER), true)
+ LOCAL_C_INCLUDES+= $(LOCAL_PATH)/../wipowerif/include
+endif
+
LOCAL_CFLAGS += -DBUILDCFG $(bdroid_CFLAGS) -Wno-error=maybe-uninitialized -Wno-error=uninitialized -Wno-error=unused-parameter
LOCAL_CONLYFLAGS := -std=c99