-/*
- * Copyright 2020 The Chromium OS Authors. All rights reserved.
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
cc_defaults {
name: "minigbm_defaults",
srcs: [
"amdgpu.c",
"drv.c",
- "evdi.c",
+ "dumb_driver.c",
"exynos.c",
"helpers_array.c",
"helpers.c",
"i915.c",
- "marvell.c",
"mediatek.c",
- "meson.c",
"msm.c",
- "nouveau.c",
- "radeon.c",
"rockchip.c",
"tegra.c",
- "udl.c",
"vc4.c",
- "vgem.c",
"virtio_gpu.c",
],
}
cc_defaults {
- name: "minigbm_gralloc_defaults",
+ name: "minigbm_cros_gralloc_defaults",
defaults: ["minigbm_defaults"],
"libsync",
"liblog",
],
-
- relative_install_path: "hw",
}
cc_defaults {
// binary GPU drivers to be loaded from the host, which might be linked
// to a system copy of libdrm, which conflicts with the AOSP one
allow_undefined_symbols: true,
- header_libs: ["libdrm"],
+ header_libs: ["libdrm_headers"],
},
android: {
shared_libs: [
}
cc_library_static {
- name: "libminigbm_gralloc",
- defaults: ["minigbm_gralloc_defaults"],
+ name: "libminigbm_cros_gralloc",
+ defaults: ["minigbm_cros_gralloc_defaults"],
shared_libs: ["liblog"],
static_libs: ["libdrm"],
cc_library_shared {
name: "gralloc.minigbm",
- defaults: ["minigbm_gralloc_defaults"],
+ defaults: ["minigbm_cros_gralloc_defaults"],
srcs: ["cros_gralloc/gralloc0/gralloc0.cc"],
}
cc_library_shared {
name: "gralloc.minigbm_intel",
- defaults: ["minigbm_gralloc_defaults"],
+ defaults: ["minigbm_cros_gralloc_defaults"],
enabled: false,
arch: {
x86: {
cc_library_shared {
name: "gralloc.minigbm_meson",
- defaults: ["minigbm_gralloc_defaults"],
+ defaults: ["minigbm_cros_gralloc_defaults"],
cflags: ["-DDRV_MESON"],
srcs: ["cros_gralloc/gralloc0/gralloc0.cc"],
}