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 "hardware_interfaces_license" 5 // to get the below license kinds: 6 // SPDX-license-identifier-Apache-2.0 7 default_applicable_licenses: ["hardware_interfaces_license"], 8} 9 10cc_binary { 11 name: "android.hardware.dumpstate@1.1-service.example", 12 vendor: true, 13 relative_install_path: "hw", 14 defaults: ["hidl_defaults"], 15 init_rc: [ 16 "android.hardware.dumpstate@1.1-service.example.rc", 17 ], 18 vintf_fragments: [ 19 "android.hardware.dumpstate@1.1-service.example.xml", 20 ], 21 srcs: ["main.cpp"], 22 shared_libs: [ 23 "android.hardware.dumpstate@1.0", 24 "android.hardware.dumpstate@1.1", 25 "libbase", 26 "libcutils", 27 "libdumpstateutil", 28 "libhidlbase", 29 "liblog", 30 "libutils", 31 ], 32 cflags: [ 33 "-DLOG_TAG=\"android.hardware.dumpstate@1.1-service.example\"", 34 ], 35} 36