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_library_static { 11 name: "libaidlcommonsupport", 12 vendor_available: true, 13 product_available: true, 14 host_supported: true, 15 target: { 16 darwin: { 17 enabled: false, 18 }, 19 }, 20 srcs: ["NativeHandle.cpp"], 21 export_include_dirs: ["include"], 22 shared_libs: [ 23 "android.hardware.common-V2-ndk", 24 "libcutils", 25 ], 26 apex_available: [ 27 "//apex_available:anyapex", 28 "//apex_available:platform", 29 ], 30 min_sdk_version: "29", 31} 32 33cc_test { 34 name: "libaidlcommonsupport_test", 35 host_supported: true, 36 target: { 37 darwin: { 38 enabled: false, 39 }, 40 }, 41 srcs: ["test.cpp"], 42 static_libs: [ 43 "android.hardware.common-V2-ndk", 44 "libaidlcommonsupport", 45 ], 46 shared_libs: [ 47 "libcutils", 48 ], 49 test_suites: ["general-tests"], 50} 51