2 * Copyright 2020 The Chromium OS Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file.
8 name: "minigbm_defaults",
34 "-D_FILE_OFFSET_BITS=64",
40 "-Wno-unused-parameter",
43 cppflags: ["-std=c++14"],
48 "libhardware_headers",
49 "libnativebase_headers",
50 "libnativewindow_headers",
54 export_header_lib_headers: [
55 "libhardware_headers",
56 "libnativebase_headers",
57 "libnativewindow_headers",
69 static_libs: ["libarect"],
71 export_static_lib_headers: ["libarect"],
73 relative_install_path: "hw",
77 name: "minigbm_gralloc_defaults",
79 defaults: ["minigbm_defaults"],
82 "cros_gralloc/cros_gralloc_buffer.cc",
83 "cros_gralloc/cros_gralloc_helpers.cc",
84 "cros_gralloc/cros_gralloc_driver.cc",
90 defaults: ["minigbm_defaults"],
91 shared_libs: ["liblog"],
92 static_libs: ["libdrm"],
99 export_include_dirs: ["."],
103 name: "libminigbm_gralloc",
104 defaults: ["minigbm_gralloc_defaults"],
105 shared_libs: ["liblog"],
106 static_libs: ["libdrm"],
108 export_include_dirs: ["."],
112 name: "gralloc.minigbm",
113 defaults: ["minigbm_gralloc_defaults"],
114 srcs: ["cros_gralloc/gralloc0/gralloc0.cc"],
118 name: "gralloc.minigbm_intel",
119 defaults: ["minigbm_gralloc_defaults"],
129 cflags: ["-DDRV_I915"],
130 srcs: ["cros_gralloc/gralloc0/gralloc0.cc"],
134 name: "gralloc.minigbm_meson",
135 defaults: ["minigbm_gralloc_defaults"],
136 cflags: ["-DDRV_MESON"],
137 srcs: ["cros_gralloc/gralloc0/gralloc0.cc"],