summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRicardo Cerqueira <cyanogenmod@cerqueira.org>2013-08-09 17:11:09 +0100
committerRicardo Cerqueira <cyanogenmod@cerqueira.org>2013-08-09 17:11:09 +0100
commitfe8bc91ae750b5749e14b517a536c976cb45471f (patch)
tree863bc358a5b563f8f4b88e173c8053db9f0cbea3
parent843599985b06fc7b224109d58e73d91d5920eeb1 (diff)
downloadandroid_frameworks_opt_hardware-fe8bc91ae750b5749e14b517a536c976cb45471f.tar.gz
android_frameworks_opt_hardware-fe8bc91ae750b5749e14b517a536c976cb45471f.tar.bz2
android_frameworks_opt_hardware-fe8bc91ae750b5749e14b517a536c976cb45471f.zip
Support multiple source paths
This will not verify for duplicate classes yet, so be careful not to place duplicate implementations on multiple locations
-rw-r--r--Android.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index ab3af6b..61208eb 100644
--- a/Android.mk
+++ b/Android.mk
@@ -17,7 +17,8 @@ LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
ifneq ($(BOARD_HARDWARE_CLASS),)
- LOCAL_SRC_FILES += $(call all-java-files-under, ../../../$(BOARD_HARDWARE_CLASS))
+ $(foreach bcp,$(BOARD_HARDWARE_CLASS), \
+ $(eval LOCAL_SRC_FILES += $(call all-java-files-under, ../../../$(bcp))))
endif
BASE_SRC_FILES += $(call all-java-files-under, src/)