blob: b2798753095be857ea4c6c937081324de25a0174 [file] [log] [blame]
Stephen Kiazyke77dce22017-03-14 15:38:12 -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
15sourceFiles = [
16 "buffer_hub_queue_client.cpp",
Stephen Kiazyke77dce22017-03-14 15:38:12 -070017 "buffer_hub_queue_producer.cpp",
18]
19
20includeFiles = [
21 "include",
22]
23
24staticLibraries = [
25 "libbufferhub",
26 "libdvrcommon",
27 "libpdx_default_transport",
28]
29
30sharedLibraries = [
31 "libbase",
32 "libbinder",
33 "libcutils",
34 "libhardware",
35 "liblog",
36 "libui",
37 "libutils",
38 "libgui",
39]
40
Mathias Agopian6a3c05b2017-04-27 20:06:55 -070041headerLibraries = [
Jiwen 'Steve' Caid6cb17f2017-05-08 16:15:35 -070042 "libdvr_headers",
Mathias Agopian6a3c05b2017-04-27 20:06:55 -070043 "libnativebase_headers",
44]
45
Stephen Kiazyke77dce22017-03-14 15:38:12 -070046cc_library {
47 name: "libbufferhubqueue",
Alex Vakulenko66fd7cb2017-03-30 10:53:11 -070048 cflags: [
Jiwen 'Steve' Cai2d82ceb2017-03-22 17:26:00 -070049 "-DLOG_TAG=\"libbufferhubqueue\"",
Jiwen 'Steve' Cai25fd3fa2017-03-20 15:30:21 -070050 "-DTRACE=0",
Chih-Hung Hsieh91f25222017-10-11 11:59:33 -070051 "-DATRACE_TAG=ATRACE_TAG_GRAPHICS",
Chih-Hung Hsiehe1900832017-10-05 14:27:38 -070052 "-Wall",
53 "-Werror",
54 "-Wno-format",
55 "-Wno-unused-parameter",
56 "-Wno-unused-variable",
Jiwen 'Steve' Cai25fd3fa2017-03-20 15:30:21 -070057 ],
Stephen Kiazyke77dce22017-03-14 15:38:12 -070058 srcs: sourceFiles,
59 export_include_dirs: includeFiles,
Jiwen 'Steve' Caia3613612017-03-08 17:41:48 -080060 export_static_lib_headers: staticLibraries,
Stephen Kiazyke77dce22017-03-14 15:38:12 -070061 static_libs: staticLibraries,
62 shared_libs: sharedLibraries,
Mathias Agopian6a3c05b2017-04-27 20:06:55 -070063 header_libs: headerLibraries,
Stephen Kiazyke77dce22017-03-14 15:38:12 -070064}
65
Jiwen 'Steve' Cai25fd3fa2017-03-20 15:30:21 -070066subdirs = ["tests"]