blob: ea670fad2a40f628c202e882851529c8b5277986 [file] [log] [blame]
Dan Willemsen6365a872016-09-13 16:29:54 -07001// Copyright (C) 2016 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7// http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
Yifan Hong602b85a2016-10-24 13:40:01 -070015subdirs = [
Yifan Hong00f4a392016-11-16 12:35:58 -080016 "base", // libhidlbase
17 "transport", // libhidl
Yifan Hong602b85a2016-10-24 13:40:01 -070018]
19
Yifan Hong00f4a392016-11-16 12:35:58 -080020cc_test {
21 name: "libhidl_test",
22 gtest: false,
23 srcs: ["test_main.cpp"],
24
Dan Willemsen6365a872016-09-13 16:29:54 -070025 shared_libs: [
26 "libbase",
Yifan Hong00f4a392016-11-16 12:35:58 -080027 "libhidlbase",
28 "libhidltransport",
29 "libhwbinder",
Dan Willemsen6365a872016-09-13 16:29:54 -070030 "liblog",
31 "libutils",
Dan Willemsen6365a872016-09-13 16:29:54 -070032 ],
Yifan Hong00f4a392016-11-16 12:35:58 -080033 static_libs: ["libgtest"],
34
35 cflags: [
36 "-O0",
37 "-g",
Dan Willemsen6365a872016-09-13 16:29:54 -070038 ],
Dan Willemsen6365a872016-09-13 16:29:54 -070039}