1 // Use of this source code is governed by a BSD-style license that can be
2 // found in the LICENSE file.
5 name: "minigbm_defaults",
31 "-D_FILE_OFFSET_BITS=64",
37 "-Wno-unused-parameter",
39 cppflags: ["-std=c++14"],
44 "libhardware_headers",
45 "libnativebase_headers",
46 "libnativewindow_headers",
50 export_header_lib_headers: [
51 "libhardware_headers",
52 "libnativebase_headers",
53 "libnativewindow_headers",
65 static_libs: ["libarect"],
67 export_static_lib_headers: ["libarect"],
71 name: "minigbm_cros_gralloc_defaults",
73 defaults: ["minigbm_defaults"],
76 "cros_gralloc/cros_gralloc_buffer.cc",
77 "cros_gralloc/cros_gralloc_helpers.cc",
78 "cros_gralloc/cros_gralloc_driver.cc",
84 defaults: ["minigbm_defaults"],
85 shared_libs: ["liblog"],
86 static_libs: ["libdrm"],
93 export_include_dirs: ["."],
97 name: "libminigbm_cros_gralloc",
98 defaults: ["minigbm_cros_gralloc_defaults"],
99 shared_libs: ["liblog"],
100 static_libs: ["libdrm"],
102 export_include_dirs: ["."],
106 name: "gralloc.minigbm",
107 defaults: ["minigbm_cros_gralloc_defaults"],
108 srcs: ["cros_gralloc/gralloc0/gralloc0.cc"],
112 name: "gralloc.minigbm_intel",
113 defaults: ["minigbm_cros_gralloc_defaults"],
123 cflags: ["-DDRV_I915"],
124 srcs: ["cros_gralloc/gralloc0/gralloc0.cc"],
128 name: "gralloc.minigbm_meson",
129 defaults: ["minigbm_cros_gralloc_defaults"],
130 cflags: ["-DDRV_MESON"],
131 srcs: ["cros_gralloc/gralloc0/gralloc0.cc"],