1package { 2 default_applicable_licenses: ["external_chromium-trace_license"], 3} 4 5// Added automatically by a large-scale-change 6// See: http://go/android-license-faq 7license { 8 name: "external_chromium-trace_license", 9 visibility: [":__subpackages__"], 10 license_kinds: [ 11 "legacy_restricted", 12 ], 13 license_text: [ 14 "NOTICE", 15 ], 16} 17 18genrule { 19 name: "systrace-sdk-zip", 20 visibility: ["//development/build"], 21 tools: ["soong_zip"], 22 // TODO: Use $(in) or similar, but bash cmdline limits are a problem 23 // (Use implement a version of $(in) that works with rspfile?) 24 cmd: "$(location soong_zip) -o $(out) -P systrace -C $$(dirname $(location systrace.py)) " + 25 "-D $$(dirname $(location systrace.py))/catapult " + 26 "-f $(location systrace.py) " + 27 "-f $(location NOTICE) " + 28 "-f $(location UPSTREAM_REVISION)", 29 srcs: [ 30 "catapult/**/*", 31 "systrace.py", 32 "NOTICE", 33 "UPSTREAM_REVISION", 34 ], 35 out: ["output.zip"], 36} 37