Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 1 | // 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 | |
| 15 | sourceFiles = [ |
| 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 | |
| 22 | includeFiles = [ |
| 23 | "include", |
| 24 | ] |
| 25 | |
| 26 | staticLibraries = [ |
| 27 | "libbufferhub", |
| 28 | "libdvrcommon", |
| 29 | "libpdx_default_transport", |
| 30 | ] |
| 31 | |
| 32 | sharedLibraries = [ |
| 33 | "libbase", |
| 34 | "libbinder", |
| 35 | "libcutils", |
| 36 | "libhardware", |
| 37 | "liblog", |
| 38 | "libui", |
| 39 | "libutils", |
| 40 | "libgui", |
| 41 | ] |
| 42 | |
| 43 | cc_library { |
| 44 | name: "libbufferhubqueue", |
Jiwen 'Steve' Cai | 25fd3fa | 2017-03-20 15:30:21 -0700 | [diff] [blame] | 45 | cflags = [ |
Jiwen 'Steve' Cai | 2d82ceb | 2017-03-22 17:26:00 -0700 | [diff] [blame^] | 46 | "-DLOG_TAG=\"libbufferhubqueue\"", |
Jiwen 'Steve' Cai | 25fd3fa | 2017-03-20 15:30:21 -0700 | [diff] [blame] | 47 | "-DTRACE=0", |
| 48 | ], |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 49 | srcs: sourceFiles, |
| 50 | export_include_dirs: includeFiles, |
Jiwen 'Steve' Cai | a361361 | 2017-03-08 17:41:48 -0800 | [diff] [blame] | 51 | export_static_lib_headers: staticLibraries, |
Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 52 | static_libs: staticLibraries, |
| 53 | shared_libs: sharedLibraries, |
| 54 | } |
| 55 | |
Jiwen 'Steve' Cai | 25fd3fa | 2017-03-20 15:30:21 -0700 | [diff] [blame] | 56 | subdirs = ["tests"] |