2021-02-12 20:13:01 -08:00
|
|
|
package {
|
|
|
|
|
// See: http://go/android-license-faq
|
|
|
|
|
// A large-scale-change added 'default_applicable_licenses' to import
|
|
|
|
|
// all of the 'license_kinds' from "hardware_interfaces_license"
|
|
|
|
|
// to get the below license kinds:
|
|
|
|
|
// SPDX-license-identifier-Apache-2.0
|
|
|
|
|
default_applicable_licenses: ["hardware_interfaces_license"],
|
|
|
|
|
}
|
|
|
|
|
|
2020-12-15 00:13:40 +00:00
|
|
|
cc_library_static {
|
|
|
|
|
name: "libaidlcommonsupport",
|
|
|
|
|
vendor_available: true,
|
2024-05-08 17:35:18 +02:00
|
|
|
product_available: true,
|
2020-12-15 00:13:40 +00:00
|
|
|
host_supported: true,
|
2022-01-07 22:15:32 +00:00
|
|
|
target: {
|
|
|
|
|
darwin: {
|
|
|
|
|
enabled: false,
|
|
|
|
|
},
|
|
|
|
|
},
|
2020-12-15 00:13:40 +00:00
|
|
|
srcs: ["NativeHandle.cpp"],
|
|
|
|
|
export_include_dirs: ["include"],
|
|
|
|
|
shared_libs: [
|
2021-07-27 12:16:52 +09:00
|
|
|
"android.hardware.common-V2-ndk",
|
2020-12-15 00:13:40 +00:00
|
|
|
"libcutils",
|
|
|
|
|
],
|
2021-03-25 15:27:38 -07:00
|
|
|
apex_available: [
|
|
|
|
|
"//apex_available:platform",
|
|
|
|
|
"com.android.neuralnetworks",
|
2022-01-04 11:08:53 -05:00
|
|
|
"com.android.media.swcodec",
|
2021-03-25 15:27:38 -07:00
|
|
|
],
|
|
|
|
|
min_sdk_version: "29",
|
2020-12-15 00:13:40 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
cc_test {
|
|
|
|
|
name: "libaidlcommonsupport_test",
|
|
|
|
|
host_supported: true,
|
2022-01-07 22:15:32 +00:00
|
|
|
target: {
|
|
|
|
|
darwin: {
|
|
|
|
|
enabled: false,
|
|
|
|
|
},
|
|
|
|
|
},
|
2020-12-15 00:13:40 +00:00
|
|
|
srcs: ["test.cpp"],
|
|
|
|
|
static_libs: [
|
2021-07-27 12:16:52 +09:00
|
|
|
"android.hardware.common-V2-ndk",
|
2020-12-15 00:13:40 +00:00
|
|
|
"libaidlcommonsupport",
|
|
|
|
|
],
|
|
|
|
|
shared_libs: [
|
|
|
|
|
"libcutils",
|
|
|
|
|
],
|
|
|
|
|
test_suites: ["general-tests"],
|
|
|
|
|
}
|