Skip to content

Commit

Permalink
Fixed build failure by missing deps in c/b/profiles:profile_util_impl
Browse files Browse the repository at this point in the history
  • Loading branch information
simonhong committed Oct 4, 2024
1 parent e9a5f85 commit 1d0ab89
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
12 changes: 12 additions & 0 deletions chromium_src/chrome/browser/profiles/sources.gni
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Copyright (c) 2024 The Brave Authors. All rights reserved.
# This Source Code Form is subject to the terms of the Mozilla Public
# 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_chrome_browser_profiles_profile_util_impl_deps = [
"//base",
"//brave/app/vector_icons",
"//brave/components/l10n/common",
"//ui/base",
"//ui/native_theme",
]
12 changes: 12 additions & 0 deletions patches/chrome-browser-profiles-BUILD.gn.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
diff --git a/chrome/browser/profiles/BUILD.gn b/chrome/browser/profiles/BUILD.gn
index a24e9bf65e941b5da6a31ebfdbe589ca1e3cefd9..4f18db8223674a5864b3486fa0c368b896caf093 100644
--- a/chrome/browser/profiles/BUILD.gn
+++ b/chrome/browser/profiles/BUILD.gn
@@ -166,6 +166,7 @@ source_set("profile_util_impl") {
"//ui/native_theme",
"//url",
]
+ import("//brave/chromium_src/chrome/browser/profiles/sources.gni") deps += brave_chromium_src_chrome_browser_profiles_profile_util_impl_deps

if (is_chromeos_ash) {
deps += [

0 comments on commit 1d0ab89

Please sign in to comment.