Enforce specifying sdk/private for apps.
All apps in master comply with this now, but new offenders are being added daily. This will ensure compliance going forward. Test: build/soong/build_test.bash Bug: 73535841 Exempt-From-Owner-Approval: cp from master Change-Id: If28049750a9787bf455f72402e624dbddf842253 Merged-In: Id3fbb502d26d91b64480fec74e241ba77fa0faff
This commit is contained in:
@@ -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),)
|
||||
|
Reference in New Issue
Block a user