2ca1e9ad88
In case devices don't have them. I've also changed the version of these libraries which are used to be explicit. Fixes: 178483563 Test: libaidlcommonsupport_test Change-Id: I4ebbbc84f8cb383b99d1e9a1ecc5ad6b28b8549e
27 lines
658 B
Text
27 lines
658 B
Text
cc_library_static {
|
|
name: "libaidlcommonsupport",
|
|
vendor_available: true,
|
|
host_supported: true,
|
|
defaults: ["libbinder_ndk_host_user"],
|
|
srcs: ["NativeHandle.cpp"],
|
|
export_include_dirs: ["include"],
|
|
shared_libs: [
|
|
"android.hardware.common-V2-ndk_platform",
|
|
"libcutils",
|
|
],
|
|
}
|
|
|
|
cc_test {
|
|
name: "libaidlcommonsupport_test",
|
|
host_supported: true,
|
|
defaults: ["libbinder_ndk_host_user"],
|
|
srcs: ["test.cpp"],
|
|
static_libs: [
|
|
"android.hardware.common-V2-ndk_platform",
|
|
"libaidlcommonsupport",
|
|
],
|
|
shared_libs: [
|
|
"libcutils",
|
|
],
|
|
test_suites: ["general-tests"],
|
|
}
|