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 host_supported: true, 14 defaults: ["libbinder_ndk_host_user"], 15 srcs: ["NativeHandle.cpp"], 16 export_include_dirs: ["include"], 17 shared_libs: [ 18 "android.hardware.common-V2-ndk_platform", 19 "libcutils", 20 ], 21 apex_available: [ 22 "//apex_available:platform", 23 "com.android.neuralnetworks", 24 ], 25 min_sdk_version: "29", 26} 27 28cc_test { 29 name: "libaidlcommonsupport_test", 30 host_supported: true, 31 defaults: ["libbinder_ndk_host_user"], 32 srcs: ["test.cpp"], 33 static_libs: [ 34 "android.hardware.common-V2-ndk_platform", 35 "libaidlcommonsupport", 36 ], 37 shared_libs: [ 38 "libcutils", 39 ], 40 test_suites: ["general-tests"], 41} 42