summaryrefslogtreecommitdiffstats
path: root/core/base_rules.mk
diff options
context:
space:
mode:
authorAdnan Begovic <adnan@cyngn.com>2015-05-08 14:42:25 -0700
committerGerrit Code Review <gerrit@cyanogenmod.org>2015-10-09 13:28:05 -0700
commitfdbb9b1be25e87dcabcc2990b59d04fc088f80bc (patch)
tree4029b9daa1406f404d1651263766476af9773569 /core/base_rules.mk
parent102c083a342ef87c9924a7fe098e3af869f4a881 (diff)
downloadbuild-fdbb9b1be25e87dcabcc2990b59d04fc088f80bc.zip
build-fdbb9b1be25e87dcabcc2990b59d04fc088f80bc.tar.gz
build-fdbb9b1be25e87dcabcc2990b59d04fc088f80bc.tar.bz2
build/core: Create means of ignoring subdir layer for packages.
An external resource package that acts as a secondary framework resource should be presented in system/framework similarily to the framework-res module. Change-Id: Ie4110a184cd7262035110a6a04bb7ea91e7a42b0
Diffstat (limited to 'core/base_rules.mk')
-rw-r--r--core/base_rules.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/base_rules.mk b/core/base_rules.mk
index 0f2accc..202398a 100644
--- a/core/base_rules.mk
+++ b/core/base_rules.mk
@@ -184,7 +184,7 @@ ifneq (true,$(LOCAL_UNINSTALLABLE_MODULE))
# Apk and its attachments reside in its own subdir.
ifeq ($(LOCAL_MODULE_CLASS),APPS)
# framework-res.apk doesn't like the additional layer.
- ifneq ($(LOCAL_NO_STANDARD_LIBRARIES),true)
+ ifeq ($(filter true,$(LOCAL_NO_STANDARD_LIBRARIES) $(LOCAL_IGNORE_SUBDIR)),)
my_module_path := $(my_module_path)/$(LOCAL_MODULE)
endif
endif