forked from openkylin/platform_build
Enforce specifying sdk/private for apps.
am: 49b67af95e
Change-Id: I0ee4ac79d751cba874e5f5810991d8f59645d441
This commit is contained in:
commit
8ece80aeb3
|
@ -8,6 +8,11 @@
|
|||
|
||||
whitelisted_modules := framework-res__auto_generated_rro
|
||||
|
||||
|
||||
ifeq (,$(JAVA_SDK_ENFORCEMENT_ERROR))
|
||||
JAVA_SDK_ENFORCEMENT_ERROR := APPS
|
||||
endif
|
||||
|
||||
ifeq ($(LOCAL_SDK_VERSION)$(LOCAL_PRIVATE_PLATFORM_APIS),)
|
||||
ifeq (,$(filter $(LOCAL_MODULE),$(whitelisted_modules)))
|
||||
ifneq ($(JAVA_SDK_ENFORCEMENT_WARNING)$(JAVA_SDK_ENFORCEMENT_ERROR),)
|
||||
|
|
Loading…
Reference in New Issue