Dan Willemsen | 59e086f | 2016-07-25 17:13:45 -0700 | [diff] [blame] | 1 | // |
| 2 | // Copyright (C) 2014 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 { |
| 18 | product_variables: { |
| 19 | binder32bit: { |
| 20 | cflags: ["-DBINDER_IPC_32BIT=1"], |
| 21 | }, |
| 22 | }, |
| 23 | |
| 24 | name: "binderDriverInterfaceTest", |
| 25 | srcs: ["binderDriverInterfaceTest.cpp"], |
| 26 | } |
| 27 | |
| 28 | cc_test { |
Robert Quattlebaum | 6316f5b | 2017-01-04 13:25:14 -0800 | [diff] [blame^] | 29 | name: "binderValueTypeTest", |
| 30 | srcs: ["binderValueTypeTest.cpp"], |
| 31 | shared_libs: [ |
| 32 | "libbinder", |
| 33 | "libutils", |
| 34 | ], |
| 35 | } |
| 36 | |
| 37 | cc_test { |
Dan Willemsen | 59e086f | 2016-07-25 17:13:45 -0700 | [diff] [blame] | 38 | name: "binderLibTest", |
| 39 | srcs: ["binderLibTest.cpp"], |
| 40 | shared_libs: [ |
| 41 | "libbinder", |
| 42 | "libutils", |
| 43 | ], |
| 44 | } |
| 45 | |
| 46 | cc_test { |
| 47 | name: "binderThroughputTest", |
| 48 | srcs: ["binderThroughputTest.cpp"], |
| 49 | shared_libs: [ |
| 50 | "libbinder", |
| 51 | "libutils", |
| 52 | ], |
| 53 | clang: true, |
| 54 | cflags: [ |
| 55 | "-g", |
| 56 | "-Wall", |
| 57 | "-Werror", |
Dan Willemsen | 59e086f | 2016-07-25 17:13:45 -0700 | [diff] [blame] | 58 | "-Wno-missing-field-initializers", |
| 59 | "-Wno-sign-compare", |
| 60 | "-O3", |
| 61 | ], |
| 62 | } |
Wei Wang | 78f2a37 | 2016-10-20 23:18:17 -0700 | [diff] [blame] | 63 | |
| 64 | cc_test { |
| 65 | name: "binderTextOutputTest", |
| 66 | srcs: ["binderTextOutputTest.cpp"], |
| 67 | shared_libs: [ |
| 68 | "libbinder", |
| 69 | "libutils", |
| 70 | "libbase", |
| 71 | ], |
| 72 | } |