1/* 2 * Copyright (C) 2024 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17package { 18 // See: http://go/android-license-faq 19 default_applicable_licenses: ["external_mesa3d_license"], 20} 21 22cc_library_static { 23 name: "mesa_u_gralloc", 24 vendor: true, 25 header_libs: [ 26 "mesa_common_headers", 27 "hwvulkan_headers", 28 "libnativebase_headers", 29 ], 30 defaults: [ 31 "mesa_common_defaults", 32 ], 33 srcs: [ 34 "u_gralloc_fallback.c", 35 "u_gralloc_cros_api.c", 36 "u_gralloc_internal.c", 37 "u_gralloc_libdrm.c", 38 "u_gralloc_qcom.c", 39 "u_gralloc_imapper4_api.cpp", 40 "u_gralloc.c", 41 ], 42 c_std: "c11", 43 cpp_std: "c++17", 44 static_libs: [ 45 "libgralloctypes", 46 "[email protected]", 47 ], 48 shared_libs: [ 49 "libsync", 50 "libcutils", 51 "libhardware", 52 "liblog", 53 "libnativewindow", 54 "libhidlbase", 55 "libutils", 56 ], 57} 58