From 650110a9737e8809371ae7ec499dadfee68c81c3 Mon Sep 17 00:00:00 2001 From: petemill Date: Thu, 21 Feb 2019 22:57:44 -0800 Subject: [PATCH] Fix dependency from ui/base to brave/ui/webui/resources Fix https://github.com/brave/brave-browser/issues/3451 This dependency is required because a chromium_src override changes resource IDs from chromium to match resources in brave/ui/webui/resources: https://github.com/brave/brave-core/blob/master/chromium_src/ui/base/webui/web_ui_util.cc#L7 --- patches/ui-base-BUILD.gn.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 patches/ui-base-BUILD.gn.patch diff --git a/patches/ui-base-BUILD.gn.patch b/patches/ui-base-BUILD.gn.patch new file mode 100644 index 000000000000..b75f94f95ca6 --- /dev/null +++ b/patches/ui-base-BUILD.gn.patch @@ -0,0 +1,12 @@ +diff --git a/ui/base/BUILD.gn b/ui/base/BUILD.gn +index 195435b5cc3a6aefc5464f9a5bd8919884783bcb..25349fd0787e0fd9c913fab16d3c646bf856f1f9 100644 +--- a/ui/base/BUILD.gn ++++ b/ui/base/BUILD.gn +@@ -395,6 +395,7 @@ jumbo_component("base") { + "//base:base_static", + "//base:i18n", + "//base/third_party/dynamic_annotations", ++ "//brave/ui/webui/resources", + "//net", + "//third_party/icu", + "//third_party/zlib:zlib",