platform_build_soong/scripts
Ryan Prichard afefacf196 Fix mini_debug_info stripping when no symbols should be kept.
If there are no symbols to keep (i.e. all function symbols are also in
the dynsym table), then the "${outfile}.keep_symbols" file has size 0.
When objcopy parses a --keep-symbols file, it has a special case for
0-sized files where it silently fails (exits with status 1, no error
message). On the other hand, objcopy is happy with a file containing no
symbols, as long as there is some whitespace or a comment. Avoid the
special case by appending a newline to keep_symbols.

Bug: b/62815515
Bug: b/77242617
Test: manual
Change-Id: I90fd3258426176dc18aa5a8c19389c55fe6329c7
2018-03-29 01:39:13 +00:00
..
build-ndk-prebuilts.sh Remove unnecessary DeviceUsesClang. 2018-01-11 14:29:41 -08:00
copygcclib.sh Add license headers to all go and shell files 2017-11-17 23:05:26 +00:00
diff_build_graphs.sh Have diff_build_graphs.sh print the number of lines in the diff 2017-11-29 12:54:43 -08:00
gen-kotlin-build-file.sh Add rsp and srcjar support to kotlinc build rule 2018-02-14 20:47:17 +00:00
jar-args.sh Add license headers to all go and shell files 2017-11-17 23:05:26 +00:00
jar-wrapper.sh Add default jar wrapper when wrapper property is not specified 2017-11-03 15:19:15 -07:00
jars-to-module-info-java.sh Add license headers to all go and shell files 2017-11-17 23:05:26 +00:00
microfactory.bash Switch to blueprint's microfactory 2017-07-24 15:29:14 -07:00
setup_go_workspace_for_soong.sh Make setup_go_workspace_for_soong work on Mac 2017-12-04 14:58:00 -08:00
strip.sh Fix mini_debug_info stripping when no symbols should be kept. 2018-03-29 01:39:13 +00:00
toc.sh Add license headers to all go and shell files 2017-11-17 23:05:26 +00:00