blob: 8241809775a929124ec86ee574a2178e136fd657 [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",
Jiwen 'Steve' Caia88e3ee2017-11-03 17:33:33 -070017 "buffer_hub_queue_parcelable.cpp",
Stephen Kiazyke77dce22017-03-14 15:38:12 -070018 "buffer_hub_queue_producer.cpp",
19]
20
21includeFiles = [
22 "include",
23]
24
25staticLibraries = [
26 "libbufferhub",
27 "libdvrcommon",
28 "libpdx_default_transport",
29]
30
31sharedLibraries = [
32 "libbase",
33 "libbinder",
34 "libcutils",
35 "libhardware",
36 "liblog",
37 "libui",
38 "libutils",
39 "libgui",
40]
41
Mathias Agopian6a3c05b2017-04-27 20:06:55 -070042headerLibraries = [
Jiwen 'Steve' Caid6cb17f2017-05-08 16:15:35 -070043 "libdvr_headers",
Mathias Agopian6a3c05b2017-04-27 20:06:55 -070044 "libnativebase_headers",
45]
46
Stephen Kiazyke77dce22017-03-14 15:38:12 -070047cc_library {
48 name: "libbufferhubqueue",
Alex Vakulenko66fd7cb2017-03-30 10:53:11 -070049 cflags: [
Jiwen 'Steve' Cai2d82ceb2017-03-22 17:26:00 -070050 "-DLOG_TAG=\"libbufferhubqueue\"",
Jiwen 'Steve' Cai25fd3fa2017-03-20 15:30:21 -070051 "-DTRACE=0",
Chih-Hung Hsieh91f25222017-10-11 11:59:33 -070052 "-DATRACE_TAG=ATRACE_TAG_GRAPHICS",
Chih-Hung Hsiehe1900832017-10-05 14:27:38 -070053 "-Wall",
54 "-Werror",
55 "-Wno-format",
56 "-Wno-unused-parameter",
57 "-Wno-unused-variable",
Jiwen 'Steve' Cai25fd3fa2017-03-20 15:30:21 -070058 ],
Stephen Kiazyke77dce22017-03-14 15:38:12 -070059 srcs: sourceFiles,
60 export_include_dirs: includeFiles,
Jiwen 'Steve' Caia3613612017-03-08 17:41:48 -080061 export_static_lib_headers: staticLibraries,
Stephen Kiazyke77dce22017-03-14 15:38:12 -070062 static_libs: staticLibraries,
63 shared_libs: sharedLibraries,
Mathias Agopian6a3c05b2017-04-27 20:06:55 -070064 header_libs: headerLibraries,
Stephen Kiazyke77dce22017-03-14 15:38:12 -070065}
66
Jiwen 'Steve' Cai25fd3fa2017-03-20 15:30:21 -070067subdirs = ["tests"]