summaryrefslogtreecommitdiff
path: root/tools/releasetools/apex_utils.py
diff options
context:
space:
mode:
author Yo Chiang <yochiang@google.com> 2020-03-17 17:49:49 +0800
committer Yo Chiang <yochiang@google.com> 2020-04-08 18:01:24 +0800
commit0b49c03727cab24cb89d3da6b89bc79fdcbef45f (patch)
tree5d4090932ac94be8bd1612e6edec91ed261d3202 /tools/releasetools/apex_utils.py
parenta3541df2910cd61334cfe35d85aef4a66d53e85e (diff)
Check ELF prebuilts in PRODUCT_COPY_FILES
Add a check to ban ELF prebuilts in PRODUCT_COPY_FILES. ELF prebuilts should be defined properly by cc_prebuilt_library_shared and cc_prebuilt_binary so that the build system can keep track of the file dependencies. To opt in this check, set this option in BoardConfig.mk: BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := false After all devices that have ELF prebuilts in PRODUCT_COPY_FILES are tagged with BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true flip BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES to default false. After a device is cleaned up, remove its BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := true setting. Bug: 140560012 Test: Set BUILD_BROKEN_ELF_PREBUILT_PRODUCT_COPY_FILES := false Test: m # Should report any ELF prebuilt error in PRODUCT_COPY_FILES Change-Id: Id75dac9417aed9baa7c5e9388430ff9369cf9b4f
Diffstat (limited to 'tools/releasetools/apex_utils.py')
0 files changed, 0 insertions, 0 deletions