Tomasz Wasilczyk | 4837755 | 2017-06-22 10:45:33 -0700 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2017 The Android Open Source Project |
| 3 | // |
| 4 | // Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | // you may not use this file except in compliance with the License. |
| 6 | // You may obtain a copy of the License at |
| 7 | // |
| 8 | // http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | // |
| 10 | // Unless required by applicable law or agreed to in writing, software |
| 11 | // distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | // See the License for the specific language governing permissions and |
| 14 | // limitations under the License. |
| 15 | // |
| 16 | |
| 17 | cc_test { |
Tomasz Wasilczyk | 06100b3 | 2017-12-04 09:53:32 -0800 | [diff] [blame] | 18 | name: "android.hardware.broadcastradio@common-utils-xx-tests", |
| 19 | vendor: true, |
| 20 | cflags: [ |
| 21 | "-Wall", |
| 22 | "-Wextra", |
| 23 | "-Werror", |
| 24 | ], |
Tomasz Wasilczyk | c71624f | 2017-12-22 10:54:34 -0800 | [diff] [blame] | 25 | cppflags: [ |
| 26 | "-std=c++1z", |
| 27 | ], |
Tomasz Wasilczyk | 06100b3 | 2017-12-04 09:53:32 -0800 | [diff] [blame] | 28 | srcs: [ |
| 29 | "CommonXX_test.cpp", |
| 30 | ], |
| 31 | static_libs: [ |
| 32 | "android.hardware.broadcastradio@common-utils-1x-lib", |
| 33 | "android.hardware.broadcastradio@common-utils-2x-lib", |
| 34 | ], |
| 35 | shared_libs: [ |
Tomasz Wasilczyk | 8c34c81 | 2018-02-08 13:42:31 -0800 | [diff] [blame] | 36 | "android.hardware.broadcastradio@1.1", |
Tomasz Wasilczyk | 06100b3 | 2017-12-04 09:53:32 -0800 | [diff] [blame] | 37 | "android.hardware.broadcastradio@2.0", |
| 38 | ], |
Keun Soo YIM | ff84c37 | 2018-11-27 14:04:42 -0800 | [diff] [blame] | 39 | test_suites: ["general-tests"], |
Tomasz Wasilczyk | 06100b3 | 2017-12-04 09:53:32 -0800 | [diff] [blame] | 40 | } |
Tomasz Wasilczyk | bceb885 | 2017-12-18 13:59:29 -0800 | [diff] [blame] | 41 | |
| 42 | cc_test { |
| 43 | name: "android.hardware.broadcastradio@common-utils-2x-tests", |
| 44 | vendor: true, |
| 45 | cflags: [ |
| 46 | "-Wall", |
| 47 | "-Wextra", |
| 48 | "-Werror", |
| 49 | ], |
Tomasz Wasilczyk | c71624f | 2017-12-22 10:54:34 -0800 | [diff] [blame] | 50 | cppflags: [ |
| 51 | "-std=c++1z", |
| 52 | ], |
Tomasz Wasilczyk | bceb885 | 2017-12-18 13:59:29 -0800 | [diff] [blame] | 53 | srcs: [ |
| 54 | "IdentifierIterator_test.cpp", |
Tomasz Wasilczyk | c71624f | 2017-12-22 10:54:34 -0800 | [diff] [blame] | 55 | "ProgramIdentifier_test.cpp", |
Tomasz Wasilczyk | bceb885 | 2017-12-18 13:59:29 -0800 | [diff] [blame] | 56 | ], |
| 57 | static_libs: [ |
| 58 | "android.hardware.broadcastradio@common-utils-2x-lib", |
| 59 | ], |
| 60 | shared_libs: [ |
| 61 | "android.hardware.broadcastradio@2.0", |
| 62 | ], |
Keun Soo YIM | ff84c37 | 2018-11-27 14:04:42 -0800 | [diff] [blame] | 63 | test_suites: ["general-tests"], |
Tomasz Wasilczyk | bceb885 | 2017-12-18 13:59:29 -0800 | [diff] [blame] | 64 | } |
| 65 | |
| 66 | cc_test { |
| 67 | name: "android.hardware.broadcastradio@common-utils-tests", |
| 68 | vendor: true, |
| 69 | cflags: [ |
| 70 | "-Wall", |
| 71 | "-Wextra", |
| 72 | "-Werror", |
| 73 | ], |
| 74 | srcs: [ |
| 75 | "WorkerThread_test.cpp", |
| 76 | ], |
| 77 | static_libs: ["android.hardware.broadcastradio@common-utils-lib"], |
Keun Soo YIM | ff84c37 | 2018-11-27 14:04:42 -0800 | [diff] [blame] | 78 | test_suites: ["general-tests"], |
Tomasz Wasilczyk | bceb885 | 2017-12-18 13:59:29 -0800 | [diff] [blame] | 79 | } |