blob: 5fe6ad55dc81abc6b223be4eb5e2ee0156501877 [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 = [
Martijn Coenen30791002016-12-01 15:40:46 +010016 "base", // libhidlbase
17 "libhidlmemory", // libhidlmemory
18 "transport", // libhidltransport
Yifan Hong602b85a2016-10-24 13:40:01 -070019]
20
Yifan Hong00f4a392016-11-16 12:35:58 -080021cc_test {
22 name: "libhidl_test",
23 gtest: false,
24 srcs: ["test_main.cpp"],
25
Dan Willemsen6365a872016-09-13 16:29:54 -070026 shared_libs: [
27 "libbase",
Yifan Hong00f4a392016-11-16 12:35:58 -080028 "libhidlbase",
29 "libhidltransport",
30 "libhwbinder",
Dan Willemsen6365a872016-09-13 16:29:54 -070031 "liblog",
32 "libutils",
Dan Willemsen6365a872016-09-13 16:29:54 -070033 ],
Yifan Hong00f4a392016-11-16 12:35:58 -080034 static_libs: ["libgtest"],
35
36 cflags: [
37 "-O0",
38 "-g",
Dan Willemsen6365a872016-09-13 16:29:54 -070039 ],
Dan Willemsen6365a872016-09-13 16:29:54 -070040}