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_parcelable.cpp", 18] 19 20includeFiles = [ 21 "include", 22] 23 24staticLibraries = [ 25 "libbufferhub", 26] 27 28sharedLibraries = [ 29 "libbinder", 30 "libcutils", 31 "liblog", 32 "libui", 33 "libutils", 34 "libpdx_default_transport", 35] 36 37headerLibraries = [ 38 "libdvr_headers", 39 "libnativebase_headers", 40] 41 42cc_library_shared { 43 name: "libbufferhubqueue", 44 cflags: [ 45 "-DLOG_TAG=\"libbufferhubqueue\"", 46 "-DTRACE=0", 47 "-DATRACE_TAG=ATRACE_TAG_GRAPHICS", 48 "-Wall", 49 "-Werror", 50 "-Wno-format", 51 "-Wno-unused-parameter", 52 "-Wno-unused-variable", 53 ], 54 srcs: sourceFiles, 55 export_include_dirs: includeFiles, 56 export_static_lib_headers: staticLibraries, 57 static_libs: staticLibraries, 58 shared_libs: sharedLibraries, 59 header_libs: headerLibraries, 60} 61 62subdirs = ["benchmarks", "tests"] 63