platform_build/tools
Tao Bao 3eb353cdb0 Fix the symlink detection when signing TF.zip.
We used to check for 'attr >> 16 == 0xa1ff' (i.e. 0o120777) to detect
symlinks in the input target_files zip (TF.zip). This becomes broken
after we switch to soong_zip, which packs symlinks with 0o120700.

This CL fixes the issue by using stat.S_ISLNK() instead.

Note that we don't need to stage the files with the exact permission
bits as in the input TF.zip. Because this part is covered by mkbootfs
by using the canned or the compiled-in fs_config - as long as the
files/directories are accessible and the symlinks are created.

Bug: 38455129
Test: sign_target_files_apks.py on bullhead TF.zip. Check the
      checksums in SYSTEM/bin/install-recovery.sh.
Change-Id: I51c1fc9a257fb3f18c16c2ed71528abaa6f7d9c9
(cherry picked from commit 406050bdb6)
2017-05-23 11:18:26 -07:00
..
acp
apicheck
atree Fix clang-tidy performance warnings. 2016-07-27 10:28:33 -07:00
droiddoc Delete all of templates-sdk/. 2017-03-27 17:23:36 +00:00
fs_config fs_config_generate: README 2017-03-24 08:57:27 -07:00
fs_get_stats
ijar
libhost
makeparallel Wait for children to exit in makeparallel 2017-02-21 17:53:35 -08:00
releasetools Fix the symlink detection when signing TF.zip. 2017-05-23 11:18:26 -07:00
signapk Faster auto-detection of APK's minSdkVersion 2016-12-14 12:53:44 -08:00
signtos
zipalign fallout of cleaning-up libutils includes 2017-03-03 12:37:34 -08:00
ziptime
adbs
Android.mk
brillo-clang-format
buildinfo.sh Split board-specific system properties into vendor partition 2017-02-27 13:35:37 +09:00
check_builds.sh
check_link_type.py Fix link_type checking 2016-09-15 14:40:39 -07:00
check_radio_versions.py
checkowners.py Add a script to check OWNERS file syntax. 2017-02-24 15:28:29 -08:00
compare_fileslist.py
dump-package-stats
event_log_tags.py
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.py: prevent recursion into symlink loops 2016-11-03 14:29:40 -07:00
fixlinebreaks.sh
generate-enforce-rro-android-manifest.py Enforce RROs for all the build-time ROs 2017-03-14 23:55:50 +09:00
generate-notice-files.py Split vendor license notices into vendor partition 2017-04-28 16:29:17 +09:00
java-event-log-tags.py
java-layers.py
merge-event-log-tags.py
mktarball.sh
normalize_path.py
parsedeps.py
post_process_props.py Merge "There's no longer a limit on property names." am: dda91dbef8 am: daac92eb51 2017-02-28 20:22:56 +00:00
print_module_licenses.sh
product_debug.py
soong_to_convert.py Remove DBus support. 2017-03-02 18:00:21 -08:00
vendor_buildinfo.sh Split board-specific system properties into vendor partition 2017-02-27 13:35:37 +09:00
warn.py Update warn.py for new Error Prone diagnostics 2016-11-22 10:35:07 -08:00