2016-12-07 03:59:15 +01:00
|
|
|
//
|
|
|
|
// Copyright (C) 2016 The Android Open Source Project
|
|
|
|
//
|
|
|
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
// you may not use this file except in compliance with the License.
|
|
|
|
// You may obtain a copy of the License at
|
|
|
|
//
|
|
|
|
// http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
//
|
|
|
|
// Unless required by applicable law or agreed to in writing, software
|
|
|
|
// distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
// See the License for the specific language governing permissions and
|
|
|
|
// limitations under the License.
|
|
|
|
//
|
|
|
|
|
2017-03-10 19:43:31 +01:00
|
|
|
cc_library_static {
|
|
|
|
name: "VtsHalWifiV1_0TargetTestUtil",
|
|
|
|
srcs: [
|
2017-03-23 16:11:47 +01:00
|
|
|
|
2017-03-10 19:43:31 +01:00
|
|
|
"wifi_hidl_call_util_selftest.cpp",
|
|
|
|
"wifi_hidl_test.cpp",
|
|
|
|
"wifi_hidl_test_utils.cpp"],
|
|
|
|
shared_libs: [
|
|
|
|
"libbase",
|
|
|
|
"liblog",
|
|
|
|
"libcutils",
|
|
|
|
"libhidlbase",
|
|
|
|
"libhidltransport",
|
|
|
|
"libnativehelper",
|
|
|
|
"libutils",
|
|
|
|
"android.hardware.wifi@1.0",
|
|
|
|
],
|
|
|
|
static_libs: ["VtsHalHidlTargetTestBase"],
|
|
|
|
}
|
|
|
|
|
2016-12-07 03:59:15 +01:00
|
|
|
cc_test {
|
2017-02-16 23:58:55 +01:00
|
|
|
name: "VtsHalWifiV1_0TargetTest",
|
2017-03-09 00:58:46 +01:00
|
|
|
defaults: ["hidl_defaults"],
|
2016-12-07 03:59:15 +01:00
|
|
|
srcs: [
|
2017-03-23 16:11:47 +01:00
|
|
|
"VtsHalWifiV1_0TargetTest.cpp",
|
2016-12-07 03:59:15 +01:00
|
|
|
"wifi_ap_iface_hidl_test.cpp",
|
|
|
|
"wifi_chip_hidl_test.cpp",
|
|
|
|
"wifi_p2p_iface_hidl_test.cpp",
|
|
|
|
"wifi_rtt_controller_hidl_test.cpp",
|
|
|
|
"wifi_sta_iface_hidl_test.cpp"],
|
|
|
|
shared_libs: [
|
|
|
|
"libbase",
|
|
|
|
"liblog",
|
|
|
|
"libcutils",
|
|
|
|
"libhidlbase",
|
|
|
|
"libhidltransport",
|
|
|
|
"libnativehelper",
|
|
|
|
"libutils",
|
|
|
|
"android.hardware.wifi@1.0",
|
|
|
|
],
|
2017-03-10 19:43:31 +01:00
|
|
|
static_libs: ["VtsHalWifiV1_0TargetTestUtil", "VtsHalHidlTargetTestBase"],
|
|
|
|
cflags: [
|
|
|
|
"-O0",
|
|
|
|
"-g",
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
|
|
|
cc_test {
|
|
|
|
name: "VtsHalWifiNanV1_0TargetTest",
|
|
|
|
defaults: ["hidl_defaults"],
|
2017-03-23 16:11:47 +01:00
|
|
|
srcs: [
|
|
|
|
"VtsHalWifiV1_0TargetTest.cpp",
|
|
|
|
"wifi_nan_iface_hidl_test.cpp"],
|
2017-03-10 19:43:31 +01:00
|
|
|
shared_libs: [
|
|
|
|
"libbase",
|
|
|
|
"liblog",
|
|
|
|
"libcutils",
|
|
|
|
"libhidlbase",
|
|
|
|
"libhidltransport",
|
|
|
|
"libnativehelper",
|
|
|
|
"libutils",
|
|
|
|
"android.hardware.wifi@1.0",
|
|
|
|
],
|
|
|
|
static_libs: ["VtsHalWifiV1_0TargetTestUtil", "VtsHalHidlTargetTestBase"],
|
2016-12-07 03:59:15 +01:00
|
|
|
cflags: [
|
|
|
|
"-O0",
|
|
|
|
"-g",
|
|
|
|
],
|
|
|
|
}
|