1 2/* 3 * Copyright (C) 2020 Samsung Electronics Co. Ltd. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); 6 * you may not use this file except in compliance with the License. 7 * You may obtain a copy of the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 */ 17 18package { 19 default_applicable_licenses: ["Android-Apache-2.0"], 20} 21 22cc_library_shared { 23 name: "libvendorgraphicbuffer", 24 srcs: [ 25 "gralloc4/vendor_graphicbuffer_meta.cpp", 26 ], 27 shared_libs: [ 28 "libdrm", 29 "libutils", 30 "libui", 31 "liblog", 32 "libhardware", 33 "android.hardware.graphics.allocator@2.0", 34 "android.hardware.graphics.allocator@3.0", 35 "android.hardware.graphics.allocator@4.0", 36 "android.hardware.graphics.common@1.2", 37 "android.hardware.graphics.mapper@2.0", 38 "android.hardware.graphics.mapper@2.1", 39 "android.hardware.graphics.mapper@3.0", 40 "android.hardware.graphics.mapper@4.0", 41 "libgralloctypes", 42 "libhidlbase", 43 ], 44 header_libs: [ 45 "libgralloc_headers", 46 "pixel-gralloc-headers", 47 ], 48 include_dirs: [ 49 "hardware/google/gchips/include", 50 ], 51 export_include_dirs: [ 52 "include", 53 ], 54 vendor: true, 55} 56