Disable modules that can't be built in PDK

Modules that can't be built in PDK are disabled when TARGET_BUILD_PDK is
true

Bug: 71361051
Test: lunch aosp_walleye-userdebug
PDK_FUSION_PLATFORM_ZIP=vendor/pdk/walleye/walleye-userdebug/platform/platform.zip m -j

Change-Id: I2cc7ab6d667daab7d3566baf8a9b473cafc4e452
This commit is contained in:
Jiyong Park
2018-03-08 17:30:27 +09:00
parent 9dc4b0c1a9
commit 56c0900c11

View File

@@ -1,4 +1,8 @@
LOCAL_PATH := $(call my-dir)
# Disabling when building with PDK (b/68767391)
ifneq ($(TARGET_BUILD_PDK),true)
include $(CLEAR_VARS)
LOCAL_SHARED_LIBRARIES := \
@@ -20,3 +24,5 @@ LOCAL_MODULE_TAGS := optional
LOCAL_MODULE_OWNER := google
include $(BUILD_EXECUTABLE)
endif