minigbm: Remove Android.bp files
These files quickly become out of sync with Android specific
build changes so just drop them from upstream Chromium repo.
BUG=b:161909468
TEST=build Cuttlefish
Change-Id: Icf4e3eb708e13ba6c807fcc7d0abe06572d341c9
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/minigbm/+/2404600
Reviewed-by: Gurchetan Singh <gurchetansingh@chromium.org>
Tested-by: Jason Macnak <natsu@google.com>
Commit-Queue: Jason Macnak <natsu@google.com>
diff --git a/Android.bp b/Android.bp
deleted file mode 100644
index 19df9dd..0000000
--- a/Android.bp
+++ /dev/null
@@ -1,138 +0,0 @@
-/*
- * 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.
- */
-
-cc_defaults {
- name: "minigbm_defaults",
-
- srcs: [
- "amdgpu.c",
- "drv.c",
- "evdi.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",
- ],
-
- cflags: [
- "-D_GNU_SOURCE=1",
- "-D_FILE_OFFSET_BITS=64",
- "-Wall",
- "-Wsign-compare",
- "-Wpointer-arith",
- "-Wcast-qual",
- "-Wcast-align",
- "-Wno-unused-parameter",
- ],
-
- cppflags: ["-std=c++14"],
-
- vendor: true,
-
- header_libs: [
- "libhardware_headers",
- "libnativebase_headers",
- "libnativewindow_headers",
- "libsystem_headers",
- ],
-
- export_header_lib_headers: [
- "libhardware_headers",
- "libnativebase_headers",
- "libnativewindow_headers",
- "libsystem_headers",
- ],
-
- shared_libs: [
- "libcutils",
- "libdrm",
- "libnativewindow",
- "libsync",
- "liblog",
- ],
-
- static_libs: ["libarect"],
-
- export_static_lib_headers: ["libarect"],
-
- relative_install_path: "hw",
-}
-
-cc_defaults {
- name: "minigbm_gralloc_defaults",
-
- defaults: ["minigbm_defaults"],
-
- srcs: [
- "cros_gralloc/cros_gralloc_buffer.cc",
- "cros_gralloc/cros_gralloc_helpers.cc",
- "cros_gralloc/cros_gralloc_driver.cc",
- ]
-}
-
-cc_library_static {
- name: "libminigbm",
- defaults: ["minigbm_defaults"],
- shared_libs: ["liblog"],
- static_libs: ["libdrm"],
-
- srcs: [
- "gbm.c",
- "gbm_helpers.c",
- ],
-
- export_include_dirs: ["."],
-}
-
-cc_library_static {
- name: "libminigbm_gralloc",
- defaults: ["minigbm_gralloc_defaults"],
- shared_libs: ["liblog"],
- static_libs: ["libdrm"],
-
- export_include_dirs: ["."],
-}
-
-cc_library_shared {
- name: "gralloc.minigbm",
- defaults: ["minigbm_gralloc_defaults"],
- srcs: ["cros_gralloc/gralloc0/gralloc0.cc"],
-}
-
-cc_library_shared {
- name: "gralloc.minigbm_intel",
- defaults: ["minigbm_gralloc_defaults"],
- enabled: false,
- arch: {
- x86: {
- enabled: true,
- },
- x86_64: {
- enabled: true,
- },
- },
- cflags: ["-DDRV_I915"],
- srcs: ["cros_gralloc/gralloc0/gralloc0.cc"],
-}
-
-cc_library_shared {
- name: "gralloc.minigbm_meson",
- defaults: ["minigbm_gralloc_defaults"],
- cflags: ["-DDRV_MESON"],
- srcs: ["cros_gralloc/gralloc0/gralloc0.cc"],
-}
\ No newline at end of file
diff --git a/cros_gralloc/gralloc3/Android.bp b/cros_gralloc/gralloc3/Android.bp
deleted file mode 100644
index 96317ed..0000000
--- a/cros_gralloc/gralloc3/Android.bp
+++ /dev/null
@@ -1,70 +0,0 @@
-/*
- * 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.
- */
-
-cc_binary {
- name: "android.hardware.graphics.allocator@3.0-service.minigbm",
- relative_install_path: "hw",
- vendor: true,
- init_rc: ["android.hardware.graphics.allocator@3.0-service.minigbm.rc"],
-
- cflags: [
- "-Wall",
- "-Werror",
- ],
-
- shared_libs: [
- "android.hardware.graphics.allocator@3.0",
- "android.hardware.graphics.mapper@3.0",
- "libbase",
- "libcutils",
- "libhidlbase",
- "liblog",
- "libsync",
- "libutils",
- ],
-
- static_libs: [
- "libdrm",
- "libminigbm_gralloc",
- ],
-
- srcs: [
- "CrosGralloc3Allocator.cc",
- "CrosGralloc3AllocatorService.cc",
- "CrosGralloc3Utils.cc",
- ],
-}
-
-cc_library_shared {
- name: "android.hardware.graphics.mapper@3.0-impl.minigbm",
- relative_install_path: "hw",
- vendor: true,
-
- cflags: [
- "-Wall",
- "-Werror",
- ],
-
- shared_libs: [
- "android.hardware.graphics.mapper@3.0",
- "libbase",
- "libcutils",
- "libhidlbase",
- "liblog",
- "libsync",
- "libutils",
- ],
-
- static_libs: [
- "libdrm",
- "libminigbm_gralloc",
- ],
-
- srcs: [
- "CrosGralloc3Mapper.cc",
- "CrosGralloc3Utils.cc",
- ],
-}