blob: 8aea306dae9ebce766e0b51220c0ddb6d63dcee9 [file] [log] [blame]
Bob Badourb224b362021-02-12 20:13:01 -08001package {
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
Steven Moreland74e043b2020-12-15 00:13:40 +000010cc_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: [
Steven Moreland2ca1e9a2021-01-26 19:37:22 +000018 "android.hardware.common-V2-ndk_platform",
Steven Moreland74e043b2020-12-15 00:13:40 +000019 "libcutils",
20 ],
21}
22
23cc_test {
24 name: "libaidlcommonsupport_test",
25 host_supported: true,
26 defaults: ["libbinder_ndk_host_user"],
27 srcs: ["test.cpp"],
28 static_libs: [
Steven Moreland2ca1e9a2021-01-26 19:37:22 +000029 "android.hardware.common-V2-ndk_platform",
Steven Moreland74e043b2020-12-15 00:13:40 +000030 "libaidlcommonsupport",
31 ],
32 shared_libs: [
Steven Moreland74e043b2020-12-15 00:13:40 +000033 "libcutils",
34 ],
35 test_suites: ["general-tests"],
36}