blob: bef95058216a650fb87a0094ae907a7b5d855ff2 [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 {
Hsin-Yi Chen69295752017-06-07 18:05:05 +080018 name: "binderDriverInterfaceTest_IPC_32",
19 srcs: ["binderDriverInterfaceTest.cpp"],
20 compile_multilib: "32",
21 cflags: ["-DBINDER_IPC_32BIT=1"],
22}
23
24cc_test {
Dan Willemsen59e086f2016-07-25 17:13:45 -070025 product_variables: {
26 binder32bit: {
27 cflags: ["-DBINDER_IPC_32BIT=1"],
28 },
29 },
30
31 name: "binderDriverInterfaceTest",
32 srcs: ["binderDriverInterfaceTest.cpp"],
33}
34
35cc_test {
Robert Quattlebaum6316f5b2017-01-04 13:25:14 -080036 name: "binderValueTypeTest",
37 srcs: ["binderValueTypeTest.cpp"],
38 shared_libs: [
39 "libbinder",
40 "libutils",
41 ],
42}
43
44cc_test {
Dan Willemsen59e086f2016-07-25 17:13:45 -070045 name: "binderLibTest",
46 srcs: ["binderLibTest.cpp"],
47 shared_libs: [
48 "libbinder",
49 "libutils",
50 ],
51}
52
53cc_test {
54 name: "binderThroughputTest",
55 srcs: ["binderThroughputTest.cpp"],
56 shared_libs: [
57 "libbinder",
58 "libutils",
59 ],
60 clang: true,
61 cflags: [
62 "-g",
63 "-Wall",
64 "-Werror",
Dan Willemsen59e086f2016-07-25 17:13:45 -070065 "-Wno-missing-field-initializers",
66 "-Wno-sign-compare",
67 "-O3",
68 ],
69}
Wei Wang78f2a372016-10-20 23:18:17 -070070
71cc_test {
72 name: "binderTextOutputTest",
73 srcs: ["binderTextOutputTest.cpp"],
74 shared_libs: [
75 "libbinder",
76 "libutils",
77 "libbase",
78 ],
79}
Howard Chenc135dbc2017-03-25 17:12:59 +080080
81cc_test {
82 name: "schd-dbg",
83 srcs: ["schd-dbg.cpp"],
84 shared_libs: [
85 "libbinder",
86 "libutils",
87 "libbase",
88 ],
89}
Dan Stozad630e522016-12-01 15:16:31 -080090
91cc_test {
92 name: "binderSafeInterfaceTest",
93 srcs: ["binderSafeInterfaceTest.cpp"],
94
95 cppflags: [
96 "-Werror",
97 "-Weverything",
98 "-Wno-c++98-compat",
99 "-Wno-c++98-compat-pedantic",
100 "-Wno-global-constructors",
101 "-Wno-padded",
102 "-Wno-weak-vtables",
103 ],
104
105 cpp_std: "experimental",
106 gnu_extensions: false,
107
108 shared_libs: [
109 "libbinder",
Dan Stoza2537db72017-04-07 16:32:38 -0700110 "libcutils",
Dan Stozad630e522016-12-01 15:16:31 -0800111 "liblog",
112 "libutils",
113 ],
114}