Merge "Build HalProxy unit tests with a test library ScopedWakelock"
This commit is contained in:
commit
43e05713c5
2 changed files with 16 additions and 1 deletions
|
@ -92,3 +92,18 @@ cc_test_library {
|
|||
"android.hardware.sensors@2.0-ScopedWakelock",
|
||||
],
|
||||
}
|
||||
|
||||
cc_test_library {
|
||||
name: "android.hardware.sensors@2.0-ScopedWakelock.testlib",
|
||||
defaults: [
|
||||
"hidl_defaults",
|
||||
"android.hardware.sensors@2.0-multihal-defaults",
|
||||
],
|
||||
srcs: [
|
||||
"ScopedWakelock.cpp",
|
||||
],
|
||||
vendor_available: true,
|
||||
export_header_lib_headers: [
|
||||
"android.hardware.sensors@2.0-multihal.header",
|
||||
],
|
||||
}
|
||||
|
|
|
@ -80,11 +80,11 @@ cc_test {
|
|||
static_libs: [
|
||||
"android.hardware.sensors@2.0-HalProxy",
|
||||
"android.hardware.sensors@2.0-fakesubhal-unittest",
|
||||
"android.hardware.sensors@2.0-ScopedWakelock.testlib",
|
||||
],
|
||||
shared_libs: [
|
||||
"android.hardware.sensors@1.0",
|
||||
"android.hardware.sensors@2.0",
|
||||
"android.hardware.sensors@2.0-ScopedWakelock",
|
||||
"libbase",
|
||||
"libcutils",
|
||||
"libfmq",
|
||||
|
|
Loading…
Reference in a new issue