blob: c6cc7c55dae33282979b0173e74e7480597fad40 [file] [log] [blame]
Dan Willemsend3eac262017-09-08 22:47:47 -07001// Copyright 2008 The Android Open Source Project
2//
3
Bob Badour051ef782021-02-12 17:07:05 -08004package {
5 default_applicable_licenses: ["frameworks_base_cmds_am_license"],
6}
7
8// Added automatically by a large-scale-change
9// See: http://go/android-license-faq
10license {
11 name: "frameworks_base_cmds_am_license",
12 visibility: [":__subpackages__"],
13 license_kinds: [
14 "SPDX-license-identifier-Apache-2.0",
15 ],
16 license_text: [
17 "NOTICE",
18 ],
19}
20
Dan Willemsend3eac262017-09-08 22:47:47 -070021cc_library_host_static {
22 name: "libinstrumentation",
23 srcs: ["**/*.proto"],
Chih-Hung Hsiehc7edf072017-10-03 09:57:55 -070024 cflags: ["-Wall", "-Werror"],
Dan Willemsend3eac262017-09-08 22:47:47 -070025 proto: {
26 type: "full",
27 export_proto_headers: true,
28 },
29}
Colin Cross45c0d712019-03-28 22:31:35 -070030
31java_binary {
32 name: "am",
Cole Faustd633c8e2022-09-01 15:04:37 -070033 wrapper: "am.sh",
Colin Cross45c0d712019-03-28 22:31:35 -070034 srcs: [
35 "src/**/*.java",
36 "proto/**/*.proto",
37 ],
38 proto: {
39 plugin: "javastream",
40 },
41 static_libs: ["libprotobuf-java-lite"],
42}