platform_build/tools
Bowgo Tsai 702b8fdfe0 sign_target_files_apks: adding --allow_gsi_debug_sepolicy
https://android-review.googlesource.com/q/topic:gsi_debug_policy
adds userdebug_plat_sepolicy.cil into the GSI system.img to
reduce the steps of repacking a debug ramdisk.

This CL checks that the file userdebug_plat_sepolicy.cil shouldn't
exist before signing, unless the caller explicitly specifies
--allow_gsi_debug_sepolicy to allow it.

Note: also fixes the indentation around the block.

Bug: 188067818
Bug: 201482141
Test: sign_target_files_apks *-target_files-*.zip signed.zip
Change-Id: I56ed328a9ae70cf49dbd3c6efb5a4a8c54e1b7a7
Merged-In: I56ed328a9ae70cf49dbd3c6efb5a4a8c54e1b7a7
(cherry picked from commit 5a73b0ee976dc61fe6fa12e48f15d5ec53f90878)
2021-11-24 07:55:31 +00:00
..
acp [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
apicheck [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
atree [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
docker docker: update sha256sum for repo version 1.25 2019-04-11 13:38:05 -07:00
droiddoc [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
fs_config [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
fs_get_stats [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
libhost [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
product_config ALLOW_RULES_IN_PRODUCT_CONFIG 2021-02-23 22:40:39 -08:00
rbcrun Always use /bin/sh to run the command. 2021-04-01 16:44:47 -07:00
releasetools sign_target_files_apks: adding --allow_gsi_debug_sepolicy 2021-11-24 07:55:31 +00:00
signapk [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
signtos [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
warn Fix more pylint warnings. 2021-04-30 14:32:25 -07:00
zipalign zipalign: clarify the help for -p slightly. 2021-04-05 16:02:16 -07:00
ziptime [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
Android.bp [LSC] Add LOCAL_LICENSE_KINDS to build/make 2021-02-14 10:37:20 -08:00
auto_gen_test_config.py Update auto-gen test config template with PARAMETERIZED_STRINGS 2020-05-18 09:58:18 +08:00
auto_gen_test_config_test.py Migrate build/make to androidx.test 2018-12-13 19:06:34 -08:00
brillo-clang-format
build-license-metadata.sh Fix bug: repeated restricted effective conditions. 2021-04-15 10:59:40 -07:00
buildinfo.sh Don't set the build id if we need to append the digest 2021-05-06 00:32:56 +00:00
check_elf_file.py Merge changes from topic "exclude-system-shared-libs-from-elfcheck-suggestions" 2020-09-28 03:54:27 +00:00
check_identical_lib.sh Add more details to divergent vndk lib error. 2020-08-06 18:02:31 +00:00
check_radio_versions.py
checkowners.py Accept the "file:(project:)?filePath" directive. 2019-03-12 11:56:33 -07:00
compare_builds.py Add tool to find problems with build repeatability. 2021-02-11 08:52:44 +00:00
compare_fileslist.py
event_log_tags.py logtags: Support # line comments. 2019-11-29 15:28:48 +00:00
exercise_compare_builds Add tool to find problems with build repeatability. 2021-02-11 08:52:44 +00:00
extract_kernel.py extract_kernel: make it py2/py3 compatible 2021-02-07 17:05:53 +08:00
fat16copy.py fat16copy: Allow to copy files to an existing directory. 2017-02-13 16:00:07 +00:00
fileslist_util.py build: tools: Add json collection of installed files with hashes. 2016-10-20 10:07:13 -07:00
filter-product-graph.py
findleaves.py findleaves: Fix typo for --dir argument 2018-08-16 02:30:45 +02:00
fixlinebreaks.sh
generate-enforce-rro-android-manifest.py Put DEVICE/PRODUCT overlays in different partitions 2019-03-22 13:25:20 +00:00
generate-notice-files.py Fix bug: include all dirs not just the last one. 2021-04-13 13:14:13 -07:00
generate-self-extracting-archive.py Fix comment to reflect that the value passed to head is actually the size 2019-12-06 19:13:21 -08:00
java-event-log-tags.py Allow converting logtags to java without merged logtags file 2017-11-16 14:58:05 -08:00
java-layers.py
merge-event-log-tags.py
mk2bp_catalog.py Add CSV output of remaining makefiles for bp converstion 2020-09-10 14:09:29 -07:00
normalize_path.py
OWNERS Use multiple globs/emails in per-file syntax 2018-08-20 14:16:04 -07:00
parsedeps.py
post_process_props.py Remove grf_required_api_level 2021-04-13 17:58:59 +09:00
post_process_props_unittest.xml Support optional prop assignments 2020-06-30 18:44:01 +09:00
print_module_licenses.sh
product_debug.py
soong_to_convert.py Add mk2bp_catalog.py that outputs more data about makefiles to be converted to soong. 2020-07-16 18:19:15 -07:00
test_extract_kernel.py extract_kernel: make it py2/py3 compatible 2021-02-07 17:05:53 +08:00
test_post_process_props.py Remove grf_required_api_level 2021-04-13 17:58:59 +09:00
warn.py Fix/suppress most pylint and gpylint warnings 2021-04-28 14:57:56 -07:00