diff options
author | Dan Willemsen <dwillemsen@google.com> | 2021-07-13 21:51:50 -0700 |
---|---|---|
committer | Dan Willemsen <dwillemsen@google.com> | 2021-10-12 19:18:00 -0700 |
commit | 59aa68dac4323ec360855c14584d853c747e2c9d (patch) | |
tree | 5c82ab31907ed64cb0b61493d4cb6548a2f9967c | |
parent | 138ade68f9d3388a1b0a6d9ce5e091ff6f7e7448 (diff) | |
download | chromium-trace-59aa68dac4323ec360855c14584d853c747e2c9d.tar.gz |
Add Android.bp to expose files for platform-tools sdk-repo build
Bug: 187222815
Change-Id: I762186d51e749c5fd25c4f07c875e4d080fbf063
-rw-r--r-- | Android.bp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 00000000..95dc658d --- /dev/null +++ b/Android.bp @@ -0,0 +1,19 @@ +genrule { + name: "systrace-sdk-zip", + visibility: ["//development/build"], + tools: ["soong_zip"], + // TODO: Use $(in) or similar, but bash cmdline limits are a problem + // (Use implement a version of $(in) that works with rspfile?) + cmd: "$(location soong_zip) -o $(out) -P systrace -C $$(dirname $(location systrace.py)) " + + "-D $$(dirname $(location systrace.py))/catapult " + + "-f $(location systrace.py) " + + "-f $(location NOTICE) " + + "-f $(location UPSTREAM_REVISION)", + srcs: [ + "catapult/**/*", + "systrace.py", + "NOTICE", + "UPSTREAM_REVISION", + ], + out: ["output.zip"], +} |