Skip to content

Commit 8eecf5c

Browse files
authored
Merge pull request #27839 from brave/pr27829_accelerators-ios_1.77.x
Fix build failure on iOS caused by incorrect deps (uplift to 1.77.x)
2 parents b60c7cd + 79be874 commit 8eecf5c

File tree

2 files changed

+12
-13
lines changed

2 files changed

+12
-13
lines changed

chromium_src/ui/base/sources.gni

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,4 @@
33
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
44
# You can obtain one at https://mozilla.org/MPL/2.0/.
55

6-
brave_chromium_src_ui_base_deps =
7-
[ "//brave/components/resources:static_resources_grit" ]
6+
brave_chromium_src_ui_base_deps = [ "//brave/components/resources:strings" ]

patches/ui-base-BUILD.gn.patch

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
1-
diff --git a/ui/base/BUILD.gn b/ui/base/BUILD.gn
2-
index 5ca4c8fc961d24985aa4e0459dc2c42003a5346f..b764434560dbeec56cdf26df46e56617df4b4c8e 100644
3-
--- a/ui/base/BUILD.gn
4-
+++ b/ui/base/BUILD.gn
5-
@@ -548,6 +548,7 @@ component("base") {
6-
"//ui/events",
7-
"//ui/events/devices",
8-
]
9-
+ import("//brave/chromium_src/ui/base/sources.gni") deps += brave_chromium_src_ui_base_deps
10-
public_deps += [ "//ui/color:color_headers" ]
11-
}
1+
diff --git i/ui/base/BUILD.gn w/ui/base/BUILD.gn
2+
index 5ca4c8fc961d2..8e957b64ff517 100644
3+
--- i/ui/base/BUILD.gn
4+
+++ w/ui/base/BUILD.gn
5+
@@ -513,6 +513,7 @@ component("base") {
6+
"//ui/webui/resources:resources_grit",
7+
"//url",
8+
]
9+
+ import("//brave/chromium_src/ui/base/sources.gni") deps += brave_chromium_src_ui_base_deps
1210

11+
if (is_debug || dcheck_always_on) {
12+
deps += [ "//third_party/re2" ]

0 commit comments

Comments
 (0)