blob: e354b11f6d497bdb9b6282ea2e34e70cdbb1a10e [file] [log] [blame]
Dan Willemsene05dc6d2016-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 {
29 name: "binderLibTest",
30 srcs: ["binderLibTest.cpp"],
31 shared_libs: [
32 "libbinder",
33 "libutils",
34 ],
35}
36
37cc_test {
38 name: "binderThroughputTest",
39 srcs: ["binderThroughputTest.cpp"],
40 shared_libs: [
41 "libbinder",
42 "libutils",
43 ],
44 clang: true,
45 cflags: [
46 "-g",
47 "-Wall",
48 "-Werror",
49 "-std=c++11",
50 "-Wno-missing-field-initializers",
51 "-Wno-sign-compare",
52 "-O3",
53 ],
54}