blob: cf2c59b8032875f05a1ef539644cfae3797e043d [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]
19
20includeFiles = [
21 "include",
22]
23
24staticLibraries = [
25 "libbufferhub",
Stephen Kiazyke77dce22017-03-14 15:38:12 -070026]
27
28sharedLibraries = [
29 "libbase",
30 "libbinder",
31 "libcutils",
32 "libhardware",
33 "liblog",
34 "libui",
35 "libutils",
Jiwen 'Steve' Cai037f35a2018-01-25 19:40:23 -080036 "libpdx_default_transport",
Stephen Kiazyke77dce22017-03-14 15:38:12 -070037]
38
Mathias Agopian6a3c05b2017-04-27 20:06:55 -070039headerLibraries = [
Jiwen 'Steve' Caid6cb17f2017-05-08 16:15:35 -070040 "libdvr_headers",
Mathias Agopian6a3c05b2017-04-27 20:06:55 -070041 "libnativebase_headers",
42]
43
Jiwen 'Steve' Cai037f35a2018-01-25 19:40:23 -080044cc_library_shared {
Stephen Kiazyke77dce22017-03-14 15:38:12 -070045 name: "libbufferhubqueue",
Alex Vakulenko66fd7cb2017-03-30 10:53:11 -070046 cflags: [
Jiwen 'Steve' Cai2d82ceb2017-03-22 17:26:00 -070047 "-DLOG_TAG=\"libbufferhubqueue\"",
Jiwen 'Steve' Cai25fd3fa2017-03-20 15:30:21 -070048 "-DTRACE=0",
Chih-Hung Hsieh91f25222017-10-11 11:59:33 -070049 "-DATRACE_TAG=ATRACE_TAG_GRAPHICS",
Chih-Hung Hsiehe1900832017-10-05 14:27:38 -070050 "-Wall",
51 "-Werror",
52 "-Wno-format",
53 "-Wno-unused-parameter",
54 "-Wno-unused-variable",
Jiwen 'Steve' Cai25fd3fa2017-03-20 15:30:21 -070055 ],
Chih-Hung Hsieh94574f22018-02-07 21:14:19 -080056 arch: {
57 arm: {
58 instruction_set: "arm",
59 },
60 },
Stephen Kiazyke77dce22017-03-14 15:38:12 -070061 srcs: sourceFiles,
62 export_include_dirs: includeFiles,
Jiwen 'Steve' Caia3613612017-03-08 17:41:48 -080063 export_static_lib_headers: staticLibraries,
Stephen Kiazyke77dce22017-03-14 15:38:12 -070064 static_libs: staticLibraries,
65 shared_libs: sharedLibraries,
Mathias Agopian6a3c05b2017-04-27 20:06:55 -070066 header_libs: headerLibraries,
Jiwen 'Steve' Cai0f950842018-01-16 17:05:54 -080067 vendor_available: false,
68 vndk: {
69 enabled: true,
70 },
Stephen Kiazyke77dce22017-03-14 15:38:12 -070071}
72
Jiwen 'Steve' Caibd21fca2018-01-29 11:44:38 -080073subdirs = ["benchmarks", "tests"]