| 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 |  | 
| Bob Badour | 3c53823 | 2021-02-12 21:26:48 -0800 | [diff] [blame] | 15 | package { | 
 | 16 |     // See: http://go/android-license-faq | 
 | 17 |     // A large-scale-change added 'default_applicable_licenses' to import | 
 | 18 |     // all of the 'license_kinds' from "frameworks_native_license" | 
 | 19 |     // to get the below license kinds: | 
 | 20 |     //   SPDX-license-identifier-Apache-2.0 | 
 | 21 |     //   SPDX-license-identifier-MIT | 
 | 22 |     //   SPDX-license-identifier-Unicode-DFS | 
 | 23 |     default_applicable_licenses: ["frameworks_native_license"], | 
 | 24 | } | 
 | 25 |  | 
| Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 26 | sourceFiles = [ | 
 | 27 |     "buffer_hub_queue_client.cpp", | 
| Jiwen 'Steve' Cai | a88e3ee | 2017-11-03 17:33:33 -0700 | [diff] [blame] | 28 |     "buffer_hub_queue_parcelable.cpp", | 
| Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 29 | ] | 
 | 30 |  | 
 | 31 | includeFiles = [ | 
 | 32 |     "include", | 
 | 33 | ] | 
 | 34 |  | 
 | 35 | staticLibraries = [ | 
 | 36 |     "libbufferhub", | 
| Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 37 | ] | 
 | 38 |  | 
 | 39 | sharedLibraries = [ | 
| Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 40 |     "libbinder", | 
 | 41 |     "libcutils", | 
| Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 42 |     "liblog", | 
 | 43 |     "libui", | 
 | 44 |     "libutils", | 
| Jiwen 'Steve' Cai | 037f35a | 2018-01-25 19:40:23 -0800 | [diff] [blame] | 45 |     "libpdx_default_transport", | 
| Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 46 | ] | 
 | 47 |  | 
| Mathias Agopian | 6a3c05b | 2017-04-27 20:06:55 -0700 | [diff] [blame] | 48 | headerLibraries = [ | 
| Jiwen 'Steve' Cai | d6cb17f | 2017-05-08 16:15:35 -0700 | [diff] [blame] | 49 |     "libdvr_headers", | 
| Mathias Agopian | 6a3c05b | 2017-04-27 20:06:55 -0700 | [diff] [blame] | 50 |     "libnativebase_headers", | 
 | 51 | ] | 
 | 52 |  | 
| Jiwen 'Steve' Cai | 037f35a | 2018-01-25 19:40:23 -0800 | [diff] [blame] | 53 | cc_library_shared { | 
| Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 54 |     name: "libbufferhubqueue", | 
| Alex Vakulenko | 66fd7cb | 2017-03-30 10:53:11 -0700 | [diff] [blame] | 55 |     cflags: [ | 
| Jiwen 'Steve' Cai | 2d82ceb | 2017-03-22 17:26:00 -0700 | [diff] [blame] | 56 |         "-DLOG_TAG=\"libbufferhubqueue\"", | 
| Jiwen 'Steve' Cai | 25fd3fa | 2017-03-20 15:30:21 -0700 | [diff] [blame] | 57 |         "-DTRACE=0", | 
| Chih-Hung Hsieh | 91f2522 | 2017-10-11 11:59:33 -0700 | [diff] [blame] | 58 |         "-DATRACE_TAG=ATRACE_TAG_GRAPHICS", | 
| Chih-Hung Hsieh | e190083 | 2017-10-05 14:27:38 -0700 | [diff] [blame] | 59 |         "-Wall", | 
 | 60 |         "-Werror", | 
 | 61 |         "-Wno-format", | 
 | 62 |         "-Wno-unused-parameter", | 
 | 63 |         "-Wno-unused-variable", | 
| Jiwen 'Steve' Cai | 25fd3fa | 2017-03-20 15:30:21 -0700 | [diff] [blame] | 64 |     ], | 
| Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 65 |     srcs: sourceFiles, | 
 | 66 |     export_include_dirs: includeFiles, | 
| Jiwen 'Steve' Cai | a361361 | 2017-03-08 17:41:48 -0800 | [diff] [blame] | 67 |     export_static_lib_headers: staticLibraries, | 
| Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 68 |     static_libs: staticLibraries, | 
 | 69 |     shared_libs: sharedLibraries, | 
| Mathias Agopian | 6a3c05b | 2017-04-27 20:06:55 -0700 | [diff] [blame] | 70 |     header_libs: headerLibraries, | 
| Stephen Kiazyk | e77dce2 | 2017-03-14 15:38:12 -0700 | [diff] [blame] | 71 | } | 
 | 72 |  | 
| Jiwen 'Steve' Cai | bd21fca | 2018-01-29 11:44:38 -0800 | [diff] [blame] | 73 | subdirs = ["benchmarks", "tests"] |