blob: 540295acd4e66c6d54be5372d62044ec79cc089f [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 {
Hsin-Yi Chenec18c022017-07-06 11:40:20 +080036 name: "binderLibTest_IPC_32",
37 srcs: ["binderLibTest.cpp"],
38 shared_libs: [
39 "libbinder",
40 "libutils",
41 ],
42 compile_multilib: "32",
43 cflags: ["-DBINDER_IPC_32BIT=1"],
44}
45
46cc_test {
47 product_variables: {
48 binder32bit: {
49 cflags: ["-DBINDER_IPC_32BIT=1"],
50 },
51 },
52
Dan Willemsen59e086f2016-07-25 17:13:45 -070053 name: "binderLibTest",
54 srcs: ["binderLibTest.cpp"],
55 shared_libs: [
56 "libbinder",
57 "libutils",
58 ],
59}
60
61cc_test {
62 name: "binderThroughputTest",
63 srcs: ["binderThroughputTest.cpp"],
64 shared_libs: [
65 "libbinder",
66 "libutils",
67 ],
68 clang: true,
69 cflags: [
70 "-g",
71 "-Wall",
72 "-Werror",
Dan Willemsen59e086f2016-07-25 17:13:45 -070073 "-Wno-missing-field-initializers",
74 "-Wno-sign-compare",
75 "-O3",
76 ],
77}
Wei Wang236cdb42016-10-20 23:18:17 -070078
79cc_test {
80 name: "binderTextOutputTest",
81 srcs: ["binderTextOutputTest.cpp"],
82 shared_libs: [
83 "libbinder",
84 "libutils",
85 "libbase",
86 ],
87}
Howard Chenb0ad31f2017-03-25 17:12:59 +080088
89cc_test {
90 name: "schd-dbg",
91 srcs: ["schd-dbg.cpp"],
92 shared_libs: [
93 "libbinder",
94 "libutils",
95 "libbase",
96 ],
97}