1/* 2 * Copyright 2020 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 17cc_binary { 18 name: "android.hardware.graphics.allocator@4.0-service.minigbm", 19 relative_install_path: "hw", 20 vendor: true, 21 init_rc: ["android.hardware.graphics.allocator@4.0-service.minigbm.rc"], 22 23 cflags: [ 24 "-Wall", 25 "-Werror", 26 ], 27 28 shared_libs: [ 29 "android.hardware.graphics.allocator@4.0", 30 "android.hardware.graphics.mapper@4.0", 31 "libbase", 32 "libcutils", 33 "libgralloctypes", 34 "libhidlbase", 35 "liblog", 36 "libsync", 37 "libutils", 38 ], 39 40 static_libs: [ 41 "libdrm", 42 "libminigbm_cros_gralloc", 43 ], 44 45 srcs: [ 46 "CrosGralloc4Allocator.cc", 47 "CrosGralloc4AllocatorService.cc", 48 "CrosGralloc4Utils.cc", 49 ], 50} 51 52cc_library_shared { 53 name: "android.hardware.graphics.mapper@4.0-impl.minigbm", 54 relative_install_path: "hw", 55 vendor: true, 56 57 cflags: [ 58 "-Wall", 59 "-Werror", 60 ], 61 62 shared_libs: [ 63 "android.hardware.graphics.mapper@4.0", 64 "libbase", 65 "libcutils", 66 "libgralloctypes", 67 "libhidlbase", 68 "liblog", 69 "libsync", 70 "libutils", 71 ], 72 73 static_libs: [ 74 "libdrm", 75 "libminigbm_cros_gralloc", 76 ], 77 78 srcs: [ 79 "CrosGralloc4Mapper.cc", 80 "CrosGralloc4Utils.cc", 81 ], 82} 83