Index: chromium-98.0.4758.80/build/linux/unbundle/libdrm.gn =================================================================== --- chromium-98.0.4758.80.orig/build/linux/unbundle/libdrm.gn +++ chromium-98.0.4758.80/build/linux/unbundle/libdrm.gn @@ -11,7 +11,10 @@ pkg_config("system_libdrm") { shim_headers("libdrm_shim") { root_path = "src/include" - headers = [ "drm.h" ] + headers = [ + "drm.h", + "drm_fourcc.h", + ] } source_set("libdrm") { --- patch114/ui/ozone/platform/drm/gpu/crtc_controller.h 2023-05-11 03:36:46.939171600 +0200 +++ patch114/ui/ozone/platform/drm/gpu/crtc_controller.h.libdrm 2023-05-13 11:47:27.162631840 +0200 @@ -11,7 +11,7 @@ #include "base/memory/raw_ref.h" #include "base/memory/weak_ptr.h" -#include "third_party/libdrm/src/include/drm/drm_fourcc.h" +#include <drm_fourcc.h> #include "third_party/perfetto/include/perfetto/tracing/traced_value_forward.h" #include "ui/gfx/swap_result.h" #include "ui/ozone/platform/drm/common/scoped_drm_types.h" --- patch109/ui/ozone/platform/drm/gpu/hardware_display_controller.cc 2022-12-15 00:48:31.415979600 +0100 +++ patch109/ui/ozone/platform/drm/gpu/hardware_display_controller.cc.system-libdrm 2022-12-24 21:51:55.224125599 +0100 @@ -18,7 +18,7 @@ #include "base/metrics/histogram_macros.h" #include "base/ranges/algorithm.h" #include "base/trace_event/typed_macros.h" -#include "third_party/libdrm/src/include/drm/drm_fourcc.h" +#include <drm_fourcc.h> #include "third_party/perfetto/include/perfetto/tracing/traced_value.h" #include "third_party/skia/include/core/SkCanvas.h" #include "third_party/skia/include/core/SkImage.h" Index: chromium-98.0.4758.80/media/gpu/chromeos/video_decoder_pipeline_unittest.cc =================================================================== --- patch114/media/gpu/chromeos/video_decoder_pipeline_unittest.cc 2023-05-11 03:36:22.893010000 +0200 +++ patch114/media/gpu/chromeos/video_decoder_pipeline_unittest.cc.libdrm 2023-05-13 11:51:24.683246032 +0200 @@ -25,7 +25,7 @@ #include "media/gpu/chromeos/dmabuf_video_frame_pool.h" #include "testing/gmock/include/gmock/gmock.h" #include "testing/gtest/include/gtest/gtest.h" -#include "third_party/libdrm/src/include/drm/drm_fourcc.h" +#include <drm_fourcc.h> #if BUILDFLAG(IS_CHROMEOS_ASH) // gn check does not account for BUILDFLAG(), so including this header will