Skip to content

Commit

Permalink
Merge pull request #27839 from brave/pr27829_accelerators-ios_1.77.x
Browse files Browse the repository at this point in the history
Fix build failure on iOS caused by incorrect deps (uplift to 1.77.x)
  • Loading branch information
kjozwiak authored Feb 27, 2025
2 parents b60c7cd + 79be874 commit 8eecf5c
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
3 changes: 1 addition & 2 deletions chromium_src/ui/base/sources.gni
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,4 @@
# License, v. 2.0. If a copy of the MPL was not distributed with this file,
# You can obtain one at https://mozilla.org/MPL/2.0/.

brave_chromium_src_ui_base_deps =
[ "//brave/components/resources:static_resources_grit" ]
brave_chromium_src_ui_base_deps = [ "//brave/components/resources:strings" ]
22 changes: 11 additions & 11 deletions patches/ui-base-BUILD.gn.patch
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
diff --git a/ui/base/BUILD.gn b/ui/base/BUILD.gn
index 5ca4c8fc961d24985aa4e0459dc2c42003a5346f..b764434560dbeec56cdf26df46e56617df4b4c8e 100644
--- a/ui/base/BUILD.gn
+++ b/ui/base/BUILD.gn
@@ -548,6 +548,7 @@ component("base") {
"//ui/events",
"//ui/events/devices",
]
+ import("//brave/chromium_src/ui/base/sources.gni") deps += brave_chromium_src_ui_base_deps
public_deps += [ "//ui/color:color_headers" ]
}
diff --git i/ui/base/BUILD.gn w/ui/base/BUILD.gn
index 5ca4c8fc961d2..8e957b64ff517 100644
--- i/ui/base/BUILD.gn
+++ w/ui/base/BUILD.gn
@@ -513,6 +513,7 @@ component("base") {
"//ui/webui/resources:resources_grit",
"//url",
]
+ import("//brave/chromium_src/ui/base/sources.gni") deps += brave_chromium_src_ui_base_deps

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

0 comments on commit 8eecf5c

Please sign in to comment.