diff options
author | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-11 05:03:20 +0000 |
---|---|---|
committer | Android Build Coastguard Worker <android-build-coastguard-worker@google.com> | 2022-05-11 05:03:20 +0000 |
commit | 0de980e3e00fb403d7c4d55f09ff416abf05ab2f (patch) | |
tree | f963075d397c69eec4d16efc219696a5e8ac249e | |
parent | d99121445c5fc1887b7b4b303fc72f6a78ebdd06 (diff) | |
parent | 9456b95a6d4b95c765c9f2264a71b0334f6cf8d7 (diff) | |
download | chromium-trace-android13-mainline-media-swcodec-release.tar.gz |
Snap for 8570526 from 9456b95a6d4b95c765c9f2264a71b0334f6cf8d7 to mainline-media-swcodec-releaseaml_swc_331911000aml_swc_331712000aml_swc_331612000aml_swc_331511000aml_swc_331410000aml_swc_331318000aml_swc_331116000aml_swc_331012020android13-mainline-media-swcodec-release
Change-Id: I0268e02951d9eaa5946b4fde53d02c4d76818a85
-rw-r--r-- | Android.bp | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp new file mode 100644 index 00000000..d2d03e81 --- /dev/null +++ b/Android.bp @@ -0,0 +1,36 @@ +package { + default_applicable_licenses: ["external_chromium-trace_license"], +} + +// Added automatically by a large-scale-change +// See: http://go/android-license-faq +license { + name: "external_chromium-trace_license", + visibility: [":__subpackages__"], + license_kinds: [ + "legacy_restricted", + ], + license_text: [ + "NOTICE", + ], +} + +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"], +} |