Android.bp revision 64177e82296a330bdd3c131a020aaffea4905df0
1// Copyright (C) 2017 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
15shared_libraries = [
16    "libbase",
17    "libbinder",
18    "libcutils",
19    "libgui",
20    "liblog",
21    "libhardware",
22    "libui",
23    "libutils",
24    "libnativewindow",
25]
26
27static_libraries = [
28    "libdvr",
29    "libbufferhubqueue",
30    "libbufferhub",
31    "libchrome",
32    "libdvrcommon",
33    "libdisplay",
34    "libpdx_default_transport",
35]
36
37cc_test {
38    srcs: [
39        "dvr_buffer_queue-test.cpp",
40        "dvr_display_manager-test.cpp",
41        "dvr_named_buffer-test.cpp",
42    ],
43
44    static_libs: static_libraries,
45    shared_libs: shared_libraries,
46    cflags: [
47        "-DLOG_TAG=\"dvr_api-test\"",
48        "-DTRACE=0",
49        "-O0",
50        "-g",
51    ],
52    name: "dvr_api-test",
53}
54