summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan Pasanen <dan.pasanen@gmail.com>2016-12-29 09:08:07 -0600
committerBruno Martins <bgcngm@gmail.com>2018-10-29 17:07:53 +0000
commit0748e5dcc445c5a6e146f34a8efa257b281d9743 (patch)
treebf85200387e8fb36c5b0960886801ccee5ec58e6
parent69b0e5f769fd9689fc18e94ec0361e5259000995 (diff)
telephony: Allow devices to provide their own telephony-ext
* Pixel devices specifically ship their own variants of telephony-ext and ims-common-ext. Change-Id: I610d28aa8baaaef4ae4eeb2dcdc115335e3d9b73
-rw-r--r--ims/Android.mk4
-rw-r--r--internal/Android.mk4
2 files changed, 8 insertions, 0 deletions
diff --git a/ims/Android.mk b/ims/Android.mk
index a2393bf..78457a4 100644
--- a/ims/Android.mk
+++ b/ims/Android.mk
@@ -1,3 +1,5 @@
+ifeq ($(TARGET_PROVIDES_TELEPHONY_EXT),)
+
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
@@ -16,3 +18,5 @@ include $(BUILD_STATIC_JAVA_LIBRARY)
# Include subdirectory makefiles
# ============================================================
include $(call all-makefiles-under,$(LOCAL_PATH))
+
+endif
diff --git a/internal/Android.mk b/internal/Android.mk
index 08b95a8..7d61fff 100644
--- a/internal/Android.mk
+++ b/internal/Android.mk
@@ -1,3 +1,5 @@
+ifeq ($(TARGET_PROVIDES_TELEPHONY_EXT),)
+
LOCAL_PATH := $(call my-dir)
include $(CLEAR_VARS)
@@ -17,3 +19,5 @@ include $(BUILD_JAVA_LIBRARY)
# Include subdirectory makefiles
# ============================================================
include $(call all-makefiles-under,$(LOCAL_PATH))
+
+endif