diff options
author | Ying Wang <wangying@google.com> | 2010-12-28 13:14:29 -0800 |
---|---|---|
committer | Ying Wang <wangying@google.com> | 2010-12-28 13:16:06 -0800 |
commit | 8b07ed87fac07337f82f96613aa4e3f6170b279b (patch) | |
tree | 2d62b8cf0c781bca6868fb869baf6c29e2184a61 /core | |
parent | 085ff6a8ac90e989507097885eaf65c9587c2c96 (diff) | |
download | build-8b07ed87fac07337f82f96613aa4e3f6170b279b.zip build-8b07ed87fac07337f82f96613aa4e3f6170b279b.tar.gz build-8b07ed87fac07337f82f96613aa4e3f6170b279b.tar.bz2 |
LOCAL_AAPT_INCLUDE_ALL_RESOURCES
Set this flag to include all the resources in the given dirs.
Bug: 3313179
Change-Id: I68c02b24174bebe41a5948810cc2f49cc916e51c
Diffstat (limited to 'core')
-rw-r--r-- | core/clear_vars.mk | 1 | ||||
-rw-r--r-- | core/package.mk | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/core/clear_vars.mk b/core/clear_vars.mk index 5c4dbea..ca70c55 100644 --- a/core/clear_vars.mk +++ b/core/clear_vars.mk @@ -44,6 +44,7 @@ LOCAL_C_INCLUDES:= LOCAL_LDFLAGS:= LOCAL_LDLIBS:= LOCAL_AAPT_FLAGS:= +LOCAL_AAPT_INCLUDE_ALL_RESOURCES:= LOCAL_SYSTEM_SHARED_LIBRARIES:=none LOCAL_PREBUILT_LIBS:= LOCAL_PREBUILT_EXECUTABLES:= diff --git a/core/package.mk b/core/package.mk index f8be8a7..4033f8d 100644 --- a/core/package.mk +++ b/core/package.mk @@ -331,6 +331,9 @@ $(LOCAL_BUILT_MODULE): PRIVATE_JNI_SHARED_LIBRARIES := $(jni_shared_libraries) $(LOCAL_BUILT_MODULE): PRIVATE_JNI_SHARED_LIBRARIES_ABI := $(jni_shared_libraries_abi) ifneq ($(TARGET_BUILD_APPS),) # Include all resources for unbundled apps. + LOCAL_AAPT_INCLUDE_ALL_RESOURCES := true +endif +ifeq ($(LOCAL_AAPT_INCLUDE_ALL_RESOURCES),true) $(LOCAL_BUILT_MODULE): PRODUCT_AAPT_CONFIG := endif $(LOCAL_BUILT_MODULE): $(all_res_assets) $(jni_shared_libraries) $(full_android_manifest) |