blob: ce3aa3fbd62c2829cf1dc20efe3a6ae12664e7c4 [file] [log] [blame]
Steven Moreland74e043b2020-12-15 00:13:40 +00001cc_library_static {
2 name: "libaidlcommonsupport",
3 vendor_available: true,
4 host_supported: true,
5 defaults: ["libbinder_ndk_host_user"],
6 srcs: ["NativeHandle.cpp"],
7 export_include_dirs: ["include"],
8 shared_libs: [
Steven Moreland2ca1e9a2021-01-26 19:37:22 +00009 "android.hardware.common-V2-ndk_platform",
Steven Moreland74e043b2020-12-15 00:13:40 +000010 "libcutils",
11 ],
12}
13
14cc_test {
15 name: "libaidlcommonsupport_test",
16 host_supported: true,
17 defaults: ["libbinder_ndk_host_user"],
18 srcs: ["test.cpp"],
19 static_libs: [
Steven Moreland2ca1e9a2021-01-26 19:37:22 +000020 "android.hardware.common-V2-ndk_platform",
Steven Moreland74e043b2020-12-15 00:13:40 +000021 "libaidlcommonsupport",
22 ],
23 shared_libs: [
Steven Moreland74e043b2020-12-15 00:13:40 +000024 "libcutils",
25 ],
26 test_suites: ["general-tests"],
27}