blob: 1ee4b6f741df638be3d2f7e94e3cb16f4533bbc5 [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}
Howard Chenc135dbc2017-03-25 17:12:59 +080073
74cc_test {
75 name: "schd-dbg",
76 srcs: ["schd-dbg.cpp"],
77 shared_libs: [
78 "libbinder",
79 "libutils",
80 "libbase",
81 ],
82}
Dan Stozad630e522016-12-01 15:16:31 -080083
84cc_test {
85 name: "binderSafeInterfaceTest",
86 srcs: ["binderSafeInterfaceTest.cpp"],
87
88 cppflags: [
89 "-Werror",
90 "-Weverything",
91 "-Wno-c++98-compat",
92 "-Wno-c++98-compat-pedantic",
93 "-Wno-global-constructors",
94 "-Wno-padded",
95 "-Wno-weak-vtables",
96 ],
97
98 cpp_std: "experimental",
99 gnu_extensions: false,
100
101 shared_libs: [
102 "libbinder",
103 "liblog",
104 "libutils",
105 ],
106}