Dan Willemsen | d3eac26 | 2017-09-08 22:47:47 -0700 | [diff] [blame] | 1 | // Copyright 2008 The Android Open Source Project |
| 2 | // |
| 3 | |
Bob Badour | 051ef78 | 2021-02-12 17:07:05 -0800 | [diff] [blame] | 4 | package { |
| 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 |
| 10 | license { |
| 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 Willemsen | d3eac26 | 2017-09-08 22:47:47 -0700 | [diff] [blame] | 21 | cc_library_host_static { |
| 22 | name: "libinstrumentation", |
| 23 | srcs: ["**/*.proto"], |
Chih-Hung Hsieh | c7edf07 | 2017-10-03 09:57:55 -0700 | [diff] [blame] | 24 | cflags: ["-Wall", "-Werror"], |
Dan Willemsen | d3eac26 | 2017-09-08 22:47:47 -0700 | [diff] [blame] | 25 | proto: { |
| 26 | type: "full", |
| 27 | export_proto_headers: true, |
| 28 | }, |
| 29 | } |
Colin Cross | 45c0d71 | 2019-03-28 22:31:35 -0700 | [diff] [blame] | 30 | |
| 31 | java_binary { |
| 32 | name: "am", |
Cole Faust | d633c8e | 2022-09-01 15:04:37 -0700 | [diff] [blame] | 33 | wrapper: "am.sh", |
Colin Cross | 45c0d71 | 2019-03-28 22:31:35 -0700 | [diff] [blame] | 34 | srcs: [ |
| 35 | "src/**/*.java", |
| 36 | "proto/**/*.proto", |
| 37 | ], |
| 38 | proto: { |
| 39 | plugin: "javastream", |
| 40 | }, |
| 41 | static_libs: ["libprotobuf-java-lite"], |
| 42 | } |