platform_build_soong/cmd
Colin Cross 628d55d7ef Make zipsync list file output empty if there are no files
The make javac rule uses [ -s srcjar-list ] to decide whether or
not to run javac.  zipsync was putting a trailing "\n" in the
list file, so the file was never empty.  There was one case of a
package that contained no source files (so java-source-list was
empty) and had a res directory with an xml file that declared no
resources (so aapt.jar was created but empty).  The 1-byte
srcjar-list file caused javac to run and error with:
javac: no source files

Test: m checkbuild
Change-Id: I26b394b66bf81e4f5abbd27e4dc06bee1d9420a8
2018-03-22 13:02:39 -07:00
..
extract_linker Extract the linker and embed it into host bionic binaries 2017-09-20 15:34:33 -07:00
fileslist fileslist: hash the content of symlink, not the file it points to. 2017-03-29 13:43:41 -07:00
javac_wrapper Use soong_javac_wrapper in soong javac compiles 2017-10-18 17:09:54 +00:00
merge_zips Remove timestamp based filelist file for tracking Python dependencies 2018-03-09 14:12:48 -08:00
multiproduct_kati Increase per-process file limits for multiproduct_kati 2017-12-11 22:53:16 +00:00
pom2mk Use "jar" as default type, "compile" as default scope 2018-02-13 15:21:18 -05:00
sbox Use __SBOX_OUT_DIR__ in sbox output file list 2018-02-21 14:55:34 -08:00
soong_build Allow Soong to generate its own build documentation 2017-12-12 11:12:32 -08:00
soong_env Switch to blueprint's microfactory 2017-07-24 15:29:14 -07:00
soong_ui Revert "Revert "Test for dangling rules in make checkbuild"" 2017-11-25 05:26:10 +00:00
symbol_inject add a library to report build numbers without causing rebuilds 2018-03-02 16:55:51 -08:00
zip2zip Support exclusions and Blueprint-style ** globs in zip2zip 2017-11-22 16:08:34 -08:00
zipsync Make zipsync list file output empty if there are no files 2018-03-22 13:02:39 -07:00