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 { |
| 29 | name: "binderLibTest", |
| 30 | srcs: ["binderLibTest.cpp"], |
| 31 | shared_libs: [ |
| 32 | "libbinder", |
| 33 | "libutils", |
| 34 | ], |
| 35 | } |
| 36 | |
| 37 | cc_test { |
| 38 | name: "binderThroughputTest", |
| 39 | srcs: ["binderThroughputTest.cpp"], |
| 40 | shared_libs: [ |
| 41 | "libbinder", |
| 42 | "libutils", |
| 43 | ], |
| 44 | clang: true, |
| 45 | cflags: [ |
| 46 | "-g", |
| 47 | "-Wall", |
| 48 | "-Werror", |
Dan Willemsen | 59e086f | 2016-07-25 17:13:45 -0700 | [diff] [blame] | 49 | "-Wno-missing-field-initializers", |
| 50 | "-Wno-sign-compare", |
| 51 | "-O3", |
| 52 | ], |
| 53 | } |
Wei Wang | 236cdb4 | 2016-10-20 23:18:17 -0700 | [diff] [blame] | 54 | |
| 55 | cc_test { |
| 56 | name: "binderTextOutputTest", |
| 57 | srcs: ["binderTextOutputTest.cpp"], |
| 58 | shared_libs: [ |
| 59 | "libbinder", |
| 60 | "libutils", |
| 61 | "libbase", |
| 62 | ], |
| 63 | } |