Merge "VTS tests now static link to HAL def libs. #2" into oc-mr1-dev am: 2883486706

am: a6969cdd68

Change-Id: Iecd7cfd4e02aea837647e2f12446e7375744f004
This commit is contained in:
Tri Vo 2017-08-10 18:38:53 +00:00 committed by android-build-merger
commit 2b2ba2fa83
28 changed files with 61 additions and 403 deletions

View file

@ -16,21 +16,8 @@
cc_test {
name: "VtsHalBiometricsFingerprintV2_1TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalBiometricsFingerprintV2_1TargetTest.cpp"],
shared_libs: [
"libbase",
"libhidltransport",
"libhardware",
"libhidlbase",
"liblog",
"libutils",
"android.hardware.biometrics.fingerprint@2.1",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
]
static_libs: ["android.hardware.biometrics.fingerprint@2.1"],
}

View file

@ -16,20 +16,7 @@
cc_test {
name: "VtsHalBootV1_0TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalBootV1_0TargetTest.cpp"],
shared_libs: [
"libbase",
"liblog",
"libcutils",
"libhidlbase",
"libnativehelper",
"libutils",
"android.hardware.boot@1.0",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
]
static_libs: ["android.hardware.boot@1.0"],
}

View file

@ -16,21 +16,7 @@
cc_test {
name: "VtsHalBroadcastradioV1_0TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalBroadcastradioV1_0TargetTest.cpp"],
shared_libs: [
"libbase",
"liblog",
"libcutils",
"libhidlbase",
"libhidltransport",
"libnativehelper",
"libutils",
"android.hardware.broadcastradio@1.0",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
],
static_libs: ["android.hardware.broadcastradio@1.0"],
}

View file

@ -16,28 +16,13 @@
cc_test {
name: "VtsHalBroadcastradioV1_1TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalBroadcastradioV1_1TargetTest.cpp"],
shared_libs: [
"libbase",
"liblog",
"libcutils",
"libhidlbase",
"libhidltransport",
"libnativehelper",
"libutils",
static_libs: [
"android.hardware.broadcastradio@1.0",
"android.hardware.broadcastradio@1.1",
],
static_libs: [
"VtsHalHidlTargetTestBase",
"android.hardware.broadcastradio@1.1-utils-lib",
"android.hardware.broadcastradio@1.1-vts-utils-lib",
"libgmock",
],
cflags: [
"-Wextra",
"-O0",
"-g",
],
}

View file

@ -16,19 +16,8 @@
cc_test {
name: "VtsHalConfigstoreV1_0TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalConfigstoreV1_0TargetTest.cpp"],
shared_libs: [
"libbase",
"libhidlbase",
"liblog",
"libutils",
"android.hardware.configstore@1.0",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
]
static_libs: ["android.hardware.configstore@1.0"],
}

View file

@ -16,19 +16,11 @@
cc_test {
name: "VtsHalConfigstoreV1_1TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalConfigstoreV1_1TargetTest.cpp"],
shared_libs: [
"libbase",
"libhidlbase",
"liblog",
"libutils",
static_libs: [
"android.hardware.configstore@1.0",
"android.hardware.configstore@1.1",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
]
}

View file

@ -16,19 +16,8 @@
cc_test {
name: "VtsHalContexthubV1_0TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalContexthubV1_0TargetTest.cpp"],
shared_libs: [
"liblog",
"libhidlbase",
"libhidltransport",
"libutils",
"android.hardware.contexthub@1.0",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
]
static_libs: ["android.hardware.contexthub@1.0"],
}

View file

@ -15,18 +15,7 @@
cc_test {
name: "VtsHalDumpstateV1_0TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalDumpstateV1_0TargetTest.cpp"],
shared_libs: [
"android.hardware.dumpstate@1.0",
"libcutils",
"libhidlbase",
"liblog",
"libutils",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
]
static_libs: ["android.hardware.dumpstate@1.0"],
}

View file

@ -16,21 +16,7 @@
cc_test {
name: "VtsHalGatekeeperV1_0TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalGatekeeperV1_0TargetTest.cpp"],
shared_libs: [
"libbase",
"liblog",
"libcutils",
"libhidlbase",
"libhidltransport",
"libnativehelper",
"libutils",
"android.hardware.gatekeeper@1.0",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
]
static_libs: ["android.hardware.gatekeeper@1.0"],
}

View file

@ -16,21 +16,7 @@
cc_test {
name: "VtsHalGnssV1_0TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalGnssV1_0TargetTest.cpp"],
shared_libs: [
"android.hardware.gnss@1.0",
"libbase",
"libcutils",
"libhidlbase",
"libhidltransport",
"liblog",
"libnativehelper",
"libutils",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
],
static_libs: ["android.hardware.gnss@1.0"],
}

View file

@ -16,17 +16,7 @@
cc_test {
name: "VtsHalHealthV1_0TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalHealthV1_0TargetTest.cpp"],
shared_libs: [
"libhidlbase",
"liblog",
"libutils",
"android.hardware.health@1.0",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
]
static_libs: ["android.hardware.health@1.0"],
}

View file

@ -16,19 +16,8 @@
cc_test {
name: "VtsHalLightV2_0TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalLightV2_0TargetTest.cpp"],
shared_libs: [
"libbase",
"libhidlbase",
"liblog",
"libutils",
"android.hardware.light@2.0",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
]
static_libs: ["android.hardware.light@2.0"],
}

View file

@ -16,20 +16,7 @@
cc_test {
name: "VtsHalMemtrackV1_0TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalMemtrackV1_0TargetTest.cpp"],
shared_libs: [
"libbase",
"liblog",
"libcutils",
"libhardware",
"libhidlbase",
"libutils",
"android.hardware.memtrack@1.0",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
]
static_libs: ["android.hardware.memtrack@1.0"],
}

View file

@ -16,21 +16,7 @@
cc_test {
name: "VtsHalOemLockV1_0TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalOemLockV1_0TargetTest.cpp"],
shared_libs: [
"libbase",
"liblog",
"libcutils",
"libhidlbase",
"libhidltransport",
"libnativehelper",
"libutils",
"android.hardware.oemlock@1.0",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
],
static_libs: ["android.hardware.oemlock@1.0"],
}

View file

@ -16,21 +16,7 @@
cc_test {
name: "VtsHalPowerV1_0TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalPowerV1_0TargetTest.cpp"],
shared_libs: [
"libbase",
"liblog",
"libcutils",
"libhidlbase",
"libhidltransport",
"libnativehelper",
"libutils",
"android.hardware.power@1.0",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
]
static_libs: ["android.hardware.power@1.0"],
}

View file

@ -16,19 +16,10 @@
cc_test {
name: "VtsHalPowerV1_1TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalPowerV1_1TargetTest.cpp"],
shared_libs: [
"libbase",
"liblog",
"libhidlbase",
"libhidltransport",
"libutils",
static_libs: [
"android.hardware.power@1.0",
"android.hardware.power@1.1",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
]
}

View file

@ -16,19 +16,8 @@
cc_test {
name: "VtsHalSensorsV1_0TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalSensorsV1_0TargetTest.cpp"],
shared_libs: [
"android.hardware.sensors@1.0",
"libcutils",
"libhidlbase",
"liblog",
"libutils",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
],
static_libs: ["android.hardware.sensors@1.0"],
}

View file

@ -16,21 +16,7 @@
cc_test {
name: "VtsHalSoundtriggerV2_0TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalSoundtriggerV2_0TargetTest.cpp"],
shared_libs: [
"libbase",
"liblog",
"libcutils",
"libhidlbase",
"libhidltransport",
"libnativehelper",
"libutils",
"android.hardware.soundtrigger@2.0",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
],
static_libs: ["android.hardware.soundtrigger@2.0"],
}

View file

@ -16,22 +16,8 @@
cc_test {
name: "VtsHalThermalV1_0TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalThermalV1_0TargetTest.cpp"],
shared_libs: [
"libbase",
"liblog",
"libcutils",
"libhidlbase",
"libhidltransport",
"libnativehelper",
"libutils",
"android.hardware.thermal@1.0",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
],
static_libs: ["android.hardware.thermal@1.0"],
}

View file

@ -16,22 +16,8 @@
cc_test {
name: "VtsHalTvInputV1_0TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalTvInputV1_0TargetTest.cpp"],
shared_libs: [
"libbase",
"liblog",
"libcutils",
"libhidlbase",
"libhidltransport",
"libnativehelper",
"libutils",
"android.hardware.tv.input@1.0",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
]
static_libs: ["android.hardware.tv.input@1.0"],
}

View file

@ -16,21 +16,7 @@
cc_test {
name: "VtsHalUsbV1_0TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalUsbV1_0TargetTest.cpp"],
shared_libs: [
"libbase",
"liblog",
"libcutils",
"libhidlbase",
"libhidltransport",
"libnativehelper",
"libutils",
"android.hardware.usb@1.0",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
],
static_libs: ["android.hardware.usb@1.0"],
}

View file

@ -16,23 +16,11 @@
cc_test {
name: "VtsHalUsbV1_1TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalUsbV1_1TargetTest.cpp"],
shared_libs: [
"libbase",
"liblog",
"libcutils",
"libhidlbase",
"libhidltransport",
"libnativehelper",
"libutils",
static_libs: [
"android.hardware.usb@1.0",
"android.hardware.usb@1.1",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
],
}

View file

@ -16,19 +16,8 @@
cc_test {
name: "VtsHalVibratorV1_0TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalVibratorV1_0TargetTest.cpp"],
shared_libs: [
"libbase",
"libhidlbase",
"liblog",
"libutils",
"android.hardware.vibrator@1.0",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
],
static_libs: ["android.hardware.vibrator@1.0"],
}

View file

@ -16,19 +16,11 @@
cc_test {
name: "VtsHalVibratorV1_1TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalVibratorV1_1TargetTest.cpp"],
shared_libs: [
"libbase",
"libhidlbase",
"liblog",
"libutils",
static_libs: [
"android.hardware.vibrator@1.0",
"android.hardware.vibrator@1.1",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
],
}

View file

@ -16,17 +16,7 @@
cc_test {
name: "VtsHalVrV1_0TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalVrV1_0TargetTest.cpp"],
shared_libs: [
"liblog",
"libhidlbase",
"libutils",
"android.hardware.vr@1.0",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
]
static_libs: ["android.hardware.vr@1.0"],
}

View file

@ -16,21 +16,7 @@
cc_test {
name: "VtsHalWeaverV1_0TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalWeaverV1_0TargetTest.cpp"],
shared_libs: [
"libbase",
"liblog",
"libcutils",
"libhidlbase",
"libhidltransport",
"libnativehelper",
"libutils",
"android.hardware.weaver@1.0",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
],
static_libs: ["android.hardware.weaver@1.0"],
}

View file

@ -16,24 +16,13 @@
cc_test {
name: "VtsHalWifiV1_1TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: [
"VtsHalWifiV1_1TargetTest.cpp",
"wifi_chip_hidl_test.cpp"],
shared_libs: [
"libbase",
"liblog",
"libcutils",
"libhidlbase",
"libhidltransport",
"libnativehelper",
"libutils",
static_libs: [
"VtsHalWifiV1_0TargetTestUtil",
"android.hardware.wifi@1.0",
"android.hardware.wifi@1.1",
],
static_libs: ["VtsHalWifiV1_0TargetTestUtil", "VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
],
}

View file

@ -16,21 +16,7 @@
cc_test {
name: "VtsHalWifiOffloadV1_0TargetTest",
defaults: ["hidl_defaults"],
defaults: ["VtsHalTargetTestDefaults"],
srcs: ["VtsHalWifiOffloadV1_0TargetTest.cpp"],
shared_libs: [
"libbase",
"liblog",
"libcutils",
"libhidlbase",
"libhidltransport",
"libnativehelper",
"libutils",
"android.hardware.wifi.offload@1.0",
],
static_libs: ["VtsHalHidlTargetTestBase"],
cflags: [
"-O0",
"-g",
],
static_libs: ["android.hardware.wifi.offload@1.0"],
}