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 15sourceFiles = [ 16 "buffer_hub_queue_client.cpp", 17 "buffer_hub_queue_producer.cpp", 18] 19 20includeFiles = [ 21 "include", 22] 23 24headerLibraries = [ 25 "libdvr_headers", 26] 27 28staticLibraries = [ 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", 47 cflags: [ 48 "-DLOG_TAG=\"libbufferhubqueue\"", 49 "-DTRACE=0", 50 ], 51 srcs: sourceFiles, 52 export_include_dirs: includeFiles, 53 export_static_lib_headers: staticLibraries, 54 header_libs: headerLibraries, 55 static_libs: staticLibraries, 56 shared_libs: sharedLibraries, 57} 58 59subdirs = ["tests"] 60