Dan Willemsen | d3eac26 | 2017-09-08 22:47:47 -0700 | [diff] [blame] | 1 | // Copyright 2008 The Android Open Source Project |
| 2 | // |
| 3 | |
| 4 | cc_library_host_static { |
| 5 | name: "libinstrumentation", |
| 6 | srcs: ["**/*.proto"], |
Chih-Hung Hsieh | c7edf07 | 2017-10-03 09:57:55 -0700 | [diff] [blame] | 7 | cflags: ["-Wall", "-Werror"], |
Dan Willemsen | d3eac26 | 2017-09-08 22:47:47 -0700 | [diff] [blame] | 8 | proto: { |
| 9 | type: "full", |
| 10 | export_proto_headers: true, |
| 11 | }, |
| 12 | } |
Colin Cross | 45c0d71 | 2019-03-28 22:31:35 -0700 | [diff] [blame] | 13 | |
| 14 | java_binary { |
| 15 | name: "am", |
| 16 | wrapper: "am", |
| 17 | srcs: [ |
| 18 | "src/**/*.java", |
| 19 | "proto/**/*.proto", |
| 20 | ], |
| 21 | proto: { |
| 22 | plugin: "javastream", |
| 23 | }, |
| 24 | static_libs: ["libprotobuf-java-lite"], |
| 25 | } |