blob: e8aa6b7b5e9041b4bc71f9ea93d6e58b7a50efb1 [file] [log] [blame]
Jiwen 'Steve' Cai64177e82017-05-08 17:07:52 -07001// 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",
Jiwen 'Steve' Cai037f35a2018-01-25 19:40:23 -080018 "libbufferhubqueue",
Jiwen 'Steve' Cai64177e82017-05-08 17:07:52 -070019 "libcutils",
20 "libgui",
21 "liblog",
22 "libhardware",
23 "libui",
24 "libutils",
25 "libnativewindow",
Jiwen 'Steve' Cai037f35a2018-01-25 19:40:23 -080026 "libpdx_default_transport",
Jiwen 'Steve' Cai64177e82017-05-08 17:07:52 -070027]
28
29static_libraries = [
Steven Thomas3be0aa62017-05-08 15:45:30 -070030 "libdvr_static",
Jiwen 'Steve' Cai64177e82017-05-08 17:07:52 -070031 "libchrome",
32 "libdvrcommon",
33 "libdisplay",
John Bates954796e2017-05-11 11:00:31 -070034 "libbroadcastring",
Jiwen 'Steve' Cai64177e82017-05-08 17:07:52 -070035]
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
Corey Tabaka52ea25c2017-09-13 18:02:48 -070044 header_libs: ["libdvr_headers"],
Jiwen 'Steve' Cai64177e82017-05-08 17:07:52 -070045 static_libs: static_libraries,
46 shared_libs: shared_libraries,
47 cflags: [
48 "-DLOG_TAG=\"dvr_api-test\"",
49 "-DTRACE=0",
Jiwen 'Steve' Cai638b7f72017-09-08 11:10:29 -070050 "-Wno-missing-field-initializers",
Jiwen 'Steve' Cai64177e82017-05-08 17:07:52 -070051 "-O0",
52 "-g",
Jiwen 'Steve' Cai64177e82017-05-08 17:07:52 -070053 ],
54 name: "dvr_api-test",
55}