1// Copyright 2008 The Android Open Source Project 2// 3 4package { 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 21cc_library_host_static { 22 name: "libinstrumentation", 23 srcs: ["**/*.proto"], 24 cflags: ["-Wall", "-Werror"], 25 proto: { 26 type: "full", 27 export_proto_headers: true, 28 }, 29} 30 31java_binary { 32 name: "am", 33 wrapper: "am.sh", 34 srcs: [ 35 "src/**/*.java", 36 "proto/**/*.proto", 37 ], 38 proto: { 39 plugin: "javastream", 40 }, 41 static_libs: ["libprotobuf-java-lite"], 42} 43