aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJiyong Park2018-12-15 20:02:09 -0600
committerJiyong Park2019-01-10 22:33:56 -0600
commit3387e656861ebfaea8a1216674965ba13dcbbad3 (patch)
tree89611aee9a41056944448fabf77fd3171654202c
parentbdf0ec03b67f044fa9f9d1a5ab488b0fe96445b5 (diff)
downloadplatform-build-3387e656861ebfaea8a1216674965ba13dcbbad3.tar.gz
platform-build-3387e656861ebfaea8a1216674965ba13dcbbad3.tar.xz
platform-build-3387e656861ebfaea8a1216674965ba13dcbbad3.zip
Add $(PRODUCT_OUT)/apex to the artifact path whitelist
$(PRODUCT_OUT)/apex is where shared libraries in APEXes get installed into. The path can be considered as a fake path as the shared libraries are installed there just to have symbol files for them under $(PRODUCT_OUT)/symbols/apex for debugging purpose. Shared libraries in APEXes are made available to the path at runtime by mounting APEXes via apexd. The files under $(PRODUCT_OUT)/apex are never compiled into a file system image (e.g. system.img) Bug: 120846816 Test: build/soong/build_test.bash -dist -products mainline_system_arm64 Change-Id: I3727091214f08f945559fa5f0f1450e74c1a5c9b
-rw-r--r--core/main.mk6
1 files changed, 6 insertions, 0 deletions
diff --git a/core/main.mk b/core/main.mk
index 282821cdb..0a99e7c84 100644
--- a/core/main.mk
+++ b/core/main.mk
@@ -1089,6 +1089,12 @@ ifdef FULL_BUILD
1089 static_whitelist_patterns := $(TARGET_OUT_FAKE)/% $(HOST_OUT)/% 1089 static_whitelist_patterns := $(TARGET_OUT_FAKE)/% $(HOST_OUT)/%
1090 # RROs become REQUIRED by the source module, but are always placed on the vendor partition. 1090 # RROs become REQUIRED by the source module, but are always placed on the vendor partition.
1091 static_whitelist_patterns += %__auto_generated_rro.apk 1091 static_whitelist_patterns += %__auto_generated_rro.apk
1092 # $(PRODUCT_OUT)/apex is where shared libraries in APEXes get installed.
1093 # The path can be considered as a fake path, as the shared libraries
1094 # are installed there just to have symbols files for them under
1095 # $(PRODUCT_OUT)/symbols/apex for debugging purpose. The /apex directory
1096 # is never compiled into a filesystem image.
1097 static_whitelist_patterns += $(PRODUCT_OUT)/apex/%
1092 ifeq (true,$(BOARD_USES_SYSTEM_OTHER_ODEX)) 1098 ifeq (true,$(BOARD_USES_SYSTEM_OTHER_ODEX))
1093 # Allow system_other odex space optimization. 1099 # Allow system_other odex space optimization.
1094 static_whitelist_patterns += \ 1100 static_whitelist_patterns += \