platform_build_soong/cmd
Colin Cross 607c0b795c Fix multiple copies of read-only files in sbox
Sbox preserves the permissions of input files when copying them into the
sandbox.  A read-only file copied into the sandbox multiple times causes
a permission denied error on the second write.  Building in Bazel results
in more read-only files, which triggers the issue on existing sbox rules
with duplicate input files.  Remove the destination file when copying if
it exists.

Bug: 184113103
Test: m USE_BAZEL=true
Change-Id: I7edf92d82b766100e3cbbd90d22428269d7d0167
2021-03-31 13:17:42 -07:00
..
dep_fixer Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
diff_target_files Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
extract_apks Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
extract_jar_packages Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
extract_linker Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
fileslist Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
host_bionic_inject Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
javac_wrapper Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
merge_zips Move response file handling to a separate package 2021-03-25 11:06:45 -07:00
multiproduct_kati Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
path_interposer Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
pom2bp Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
pom2mk Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
sbox Fix multiple copies of read-only files in sbox 2021-03-31 13:17:42 -07:00
soong_build Merge "bp2build: add allowlist for package-level conversions." 2021-03-24 21:38:07 +00:00
soong_ui Embed minibp into soong_ui. 2021-03-17 08:35:52 +01:00
zip2zip Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00
zipsync Add LOCAL_LICENSE_KINDS to build/soong 2021-02-06 04:23:21 +00:00