2017-06-22 10:45:33 -07:00
|
|
|
//
|
|
|
|
|
// Copyright (C) 2017 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.
|
|
|
|
|
//
|
|
|
|
|
|
|
|
|
|
cc_test {
|
2017-12-18 13:59:29 -08:00
|
|
|
name: "android.hardware.broadcastradio@common-utils-xx-tests",
|
2017-06-29 11:09:33 -07:00
|
|
|
vendor: true,
|
2017-06-22 10:45:33 -07:00
|
|
|
cflags: [
|
|
|
|
|
"-Wall",
|
|
|
|
|
"-Wextra",
|
|
|
|
|
"-Werror",
|
|
|
|
|
],
|
2017-12-22 10:54:34 -08:00
|
|
|
cppflags: [
|
|
|
|
|
"-std=c++1z",
|
|
|
|
|
],
|
2017-06-22 10:45:33 -07:00
|
|
|
srcs: [
|
2017-12-18 13:59:29 -08:00
|
|
|
"CommonXX_test.cpp",
|
|
|
|
|
],
|
|
|
|
|
static_libs: [
|
|
|
|
|
"android.hardware.broadcastradio@common-utils-1x-lib",
|
|
|
|
|
"android.hardware.broadcastradio@common-utils-2x-lib",
|
|
|
|
|
],
|
|
|
|
|
shared_libs: [
|
2018-02-08 13:42:31 -08:00
|
|
|
"android.hardware.broadcastradio@1.1",
|
2017-12-18 13:59:29 -08:00
|
|
|
"android.hardware.broadcastradio@2.0",
|
2017-06-22 10:45:33 -07:00
|
|
|
],
|
2018-11-27 14:04:42 -08:00
|
|
|
test_suites: ["general-tests"],
|
2017-12-04 09:53:32 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
cc_test {
|
2017-12-18 13:59:29 -08:00
|
|
|
name: "android.hardware.broadcastradio@common-utils-2x-tests",
|
2017-12-04 09:53:32 -08:00
|
|
|
vendor: true,
|
|
|
|
|
cflags: [
|
|
|
|
|
"-Wall",
|
|
|
|
|
"-Wextra",
|
|
|
|
|
"-Werror",
|
|
|
|
|
],
|
2017-12-22 10:54:34 -08:00
|
|
|
cppflags: [
|
|
|
|
|
"-std=c++1z",
|
|
|
|
|
],
|
2017-12-04 09:53:32 -08:00
|
|
|
srcs: [
|
2017-12-18 13:59:29 -08:00
|
|
|
"IdentifierIterator_test.cpp",
|
2017-12-22 10:54:34 -08:00
|
|
|
"ProgramIdentifier_test.cpp",
|
2017-12-04 09:53:32 -08:00
|
|
|
],
|
|
|
|
|
static_libs: [
|
|
|
|
|
"android.hardware.broadcastradio@common-utils-2x-lib",
|
|
|
|
|
],
|
|
|
|
|
shared_libs: [
|
2019-04-19 19:51:41 -07:00
|
|
|
"libhidlbase",
|
2017-12-04 09:53:32 -08:00
|
|
|
"android.hardware.broadcastradio@2.0",
|
|
|
|
|
],
|
2018-11-27 14:04:42 -08:00
|
|
|
test_suites: ["general-tests"],
|
2017-12-04 09:53:32 -08:00
|
|
|
}
|
2017-12-18 13:59:29 -08:00
|
|
|
|
|
|
|
|
cc_test {
|
|
|
|
|
name: "android.hardware.broadcastradio@common-utils-tests",
|
|
|
|
|
vendor: true,
|
|
|
|
|
cflags: [
|
|
|
|
|
"-Wall",
|
|
|
|
|
"-Wextra",
|
|
|
|
|
"-Werror",
|
|
|
|
|
],
|
|
|
|
|
srcs: [
|
|
|
|
|
"WorkerThread_test.cpp",
|
|
|
|
|
],
|
|
|
|
|
static_libs: ["android.hardware.broadcastradio@common-utils-lib"],
|
2018-11-27 14:04:42 -08:00
|
|
|
test_suites: ["general-tests"],
|
2017-12-18 13:59:29 -08:00
|
|
|
}
|