blob: 0dc4469eb1a2533d7e41529aad98cc4e3a092ead [file] [log] [blame]
Dan Willemsen59e086f2016-07-25 17:13:45 -07001//
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
17cc_test {
18 product_variables: {
19 binder32bit: {
20 cflags: ["-DBINDER_IPC_32BIT=1"],
21 },
22 },
23
24 name: "binderDriverInterfaceTest",
25 srcs: ["binderDriverInterfaceTest.cpp"],
26}
27
28cc_test {
Robert Quattlebaum6316f5b2017-01-04 13:25:14 -080029 name: "binderValueTypeTest",
30 srcs: ["binderValueTypeTest.cpp"],
31 shared_libs: [
32 "libbinder",
33 "libutils",
34 ],
35}
36
37cc_test {
Dan Willemsen59e086f2016-07-25 17:13:45 -070038 name: "binderLibTest",
39 srcs: ["binderLibTest.cpp"],
40 shared_libs: [
41 "libbinder",
42 "libutils",
43 ],
44}
45
46cc_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 Willemsen59e086f2016-07-25 17:13:45 -070058 "-Wno-missing-field-initializers",
59 "-Wno-sign-compare",
60 "-O3",
61 ],
62}
Wei Wang78f2a372016-10-20 23:18:17 -070063
64cc_test {
65 name: "binderTextOutputTest",
66 srcs: ["binderTextOutputTest.cpp"],
67 shared_libs: [
68 "libbinder",
69 "libutils",
70 "libbase",
71 ],
72}