blob: a587f958797b413b074999e395e36956af49d89f [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
Jiwen 'Steve' Caie08ab3f2017-05-08 16:15:35 -070024headerLibraries = [
25 "libdvr_headers",
26]
27
Stephen Kiazyke77dce22017-03-14 15:38:12 -070028staticLibraries = [
29 "libbufferhub",
30 "libdvrcommon",
31 "libpdx_default_transport",
32]
33
34sharedLibraries = [
35 "libbase",
36 "libbinder",
37 "libcutils",
38 "libhardware",
39 "liblog",
40 "libui",
41 "libutils",
42 "libgui",
43]
44
45cc_library {
46 name: "libbufferhubqueue",
Alex Vakulenko734c7ec2017-03-30 10:53:11 -070047 cflags: [
Jiwen 'Steve' Cai2d82ceb2017-03-22 17:26:00 -070048 "-DLOG_TAG=\"libbufferhubqueue\"",
Jiwen 'Steve' Cai25fd3fa2017-03-20 15:30:21 -070049 "-DTRACE=0",
50 ],
Stephen Kiazyke77dce22017-03-14 15:38:12 -070051 srcs: sourceFiles,
52 export_include_dirs: includeFiles,
Jiwen 'Steve' Caia3613612017-03-08 17:41:48 -080053 export_static_lib_headers: staticLibraries,
Jiwen 'Steve' Caie08ab3f2017-05-08 16:15:35 -070054 header_libs: headerLibraries,
Stephen Kiazyke77dce22017-03-14 15:38:12 -070055 static_libs: staticLibraries,
56 shared_libs: sharedLibraries,
57}
58
Jiwen 'Steve' Cai25fd3fa2017-03-20 15:30:21 -070059subdirs = ["tests"]