blob: 2a3f5fc28992e195dda39041a848aee4e5aa91d3 [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",
17 "buffer_hub_queue_core.cpp",
18 "buffer_hub_queue_consumer.cpp",
19 "buffer_hub_queue_producer.cpp",
20]
21
22includeFiles = [
23 "include",
24]
25
26staticLibraries = [
27 "libbufferhub",
28 "libdvrcommon",
29 "libpdx_default_transport",
30]
31
32sharedLibraries = [
33 "libbase",
34 "libbinder",
35 "libcutils",
36 "libhardware",
37 "liblog",
38 "libui",
39 "libutils",
40 "libgui",
41]
42
Mathias Agopian6a3c05b2017-04-27 20:06:55 -070043headerLibraries = [
44 "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",
52 ],
Stephen Kiazyke77dce22017-03-14 15:38:12 -070053 srcs: sourceFiles,
54 export_include_dirs: includeFiles,
Jiwen 'Steve' Caia3613612017-03-08 17:41:48 -080055 export_static_lib_headers: staticLibraries,
Stephen Kiazyke77dce22017-03-14 15:38:12 -070056 static_libs: staticLibraries,
57 shared_libs: sharedLibraries,
Mathias Agopian6a3c05b2017-04-27 20:06:55 -070058 header_libs: headerLibraries,
Stephen Kiazyke77dce22017-03-14 15:38:12 -070059}
60
Jiwen 'Steve' Cai25fd3fa2017-03-20 15:30:21 -070061subdirs = ["tests"]