platform_build_soong/java
Dan Willemsen 4339853a20 Add a dependency fixer for proto deps
protoc dependency files, at least for C++ outputs, uses the form of:

  a/b.c \
  a/b.h: <dep1> <dep2>...

Ninja will fail the command when it parses a dep file and there's more
than one output file (even though it doesn't care what the output file
name is). So this tool will parse the original file, and output a
version with only a single output file.

Bug: 67329638
Test: NINJA_ARGS="-t deps ...pb.c" m
Test: NINJA_ARGS="-t deps ...srcjar" m
Test: NINJA_ARGS="-t deps ...srcszip" m
Test: Run dep_fixer across all of taimen's dep files, no failures.
Test: Run dep_fixer against the processed files, no changes.
Test: Run androidmk across all of our Android.mk files, inspect the diffs
Change-Id: I4263b7d5faea37285afa6b24dedf5964aa7d19dc
2018-05-07 16:21:59 -07:00
..
config Regenerate R.java files from LOCAL_STATIC_ANDROID_LIBRARIES 2018-05-02 13:11:01 -07:00
aapt2.go Regenerate R.java files from LOCAL_STATIC_ANDROID_LIBRARIES 2018-05-02 13:11:01 -07:00
aar.go Regenerate R.java files from LOCAL_STATIC_ANDROID_LIBRARIES 2018-05-02 13:11:01 -07:00
android_resources.go Add support for android_library modules 2018-04-16 15:24:47 -07:00
androidmk.go Regenerate R.java files from LOCAL_STATIC_ANDROID_LIBRARIES 2018-05-02 13:11:01 -07:00
app.go Regenerate R.java files from LOCAL_STATIC_ANDROID_LIBRARIES 2018-05-02 13:11:01 -07:00
app_builder.go Add support for android_library modules 2018-04-16 15:24:47 -07:00
app_test.go Fix aapt2 --min-sdk-version after finalized SDK 2018-04-18 12:39:25 -07:00
builder.go Add support for renamed kotlin stdlib. 2018-03-20 12:55:19 +00:00
dex.go Add EMMA_INSTRUMENT_STATIC support 2018-01-04 14:52:45 -08:00
droiddoc.go Add new Doclava flag support to soong 2018-04-25 10:12:40 +00:00
gen.go Add proto.canonical_path_from_root 2018-02-22 16:48:35 -08:00
genrule.go Soong: add "java_genrule_host" 2018-04-13 16:37:22 -07:00
jacoco.go Change syntax for jacoco filter wildcard params. 2018-01-29 12:46:26 -08:00
jacoco_test.go Change syntax for jacoco filter wildcard params. 2018-01-29 12:46:26 -08:00
java.go Adding java_sdk_library 2018-04-19 08:57:30 +09:00
java_resources.go Add support for android_library modules 2018-04-16 15:24:47 -07:00
java_test.go Add prebuilt_etc_xml 2018-04-28 00:13:00 +09:00
proto.go Add a dependency fixer for proto deps 2018-05-07 16:21:59 -07:00
sdk_library.go Property api_srcs added for api-only source files 2018-05-02 02:13:44 +09:00
system_modules.go Export system module library list to Make 2018-01-25 14:51:50 -08:00