1package { 2 // See: http://go/android-license-faq 3 // A large-scale-change added 'default_applicable_licenses' to import 4 // all of the 'license_kinds' from "frameworks_base_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["frameworks_base_license"], 8} 9 10cc_binary { 11 name: "accessorychat", 12 host_supported: true, 13 14 srcs: ["accessorychat.c"], 15 cflags: [ 16 "-Werror", 17 "-Wno-unused-parameter", 18 ], 19 20 target: { 21 android: { 22 shared_libs: [ 23 "libusbhost", 24 "libcutils", 25 ], 26 }, 27 host: { 28 static_libs: [ 29 "libusbhost", 30 "libcutils", 31 ], 32 33 cflags: ["-O0"], 34 }, 35 darwin: { 36 enabled: false, 37 }, 38 }, 39} 40