blob: 4a841499ffde66ed516d5c543207335dd4d24f97 [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 {
36 name: "binderLibTest",
37 srcs: ["binderLibTest.cpp"],
38 shared_libs: [
39 "libbinder",
40 "libutils",
41 ],
42}
43
44cc_test {
45 name: "binderThroughputTest",
46 srcs: ["binderThroughputTest.cpp"],
47 shared_libs: [
48 "libbinder",
49 "libutils",
50 ],
51 clang: true,
52 cflags: [
53 "-g",
54 "-Wall",
55 "-Werror",
Dan Willemsen59e086f2016-07-25 17:13:45 -070056 "-Wno-missing-field-initializers",
57 "-Wno-sign-compare",
58 "-O3",
59 ],
60}
Wei Wang236cdb42016-10-20 23:18:17 -070061
62cc_test {
63 name: "binderTextOutputTest",
64 srcs: ["binderTextOutputTest.cpp"],
65 shared_libs: [
66 "libbinder",
67 "libutils",
68 "libbase",
69 ],
70}
Howard Chenb0ad31f2017-03-25 17:12:59 +080071
72cc_test {
73 name: "schd-dbg",
74 srcs: ["schd-dbg.cpp"],
75 shared_libs: [
76 "libbinder",
77 "libutils",
78 "libbase",
79 ],
80}