diff --git a/browser/ui/BUILD.gn b/browser/ui/BUILD.gn index 5e35366b09e5..6ed023b6a3d4 100644 --- a/browser/ui/BUILD.gn +++ b/browser/ui/BUILD.gn @@ -33,6 +33,7 @@ source_set("ui") { ] deps = [ + "//brave/browser/brave_rewards", "//brave/browser/skus", "//brave/components/brave_shields/core/browser", "//brave/components/webcompat/core/common", @@ -1137,7 +1138,6 @@ source_set("ui") { } deps += [ - "//brave/browser/brave_rewards", "//brave/browser/extensions", "//brave/components/brave_extension:generated_resources", "//brave/components/brave_extension:static_resources", diff --git a/components/brave_rewards/browser/BUILD.gn b/components/brave_rewards/browser/BUILD.gn index 18eec03b427b..636ccc89c904 100644 --- a/components/brave_rewards/browser/BUILD.gn +++ b/components/brave_rewards/browser/BUILD.gn @@ -56,6 +56,7 @@ static_library("browser") { "//components/prefs", "//components/sessions", "//content/public/browser", + "//extensions/buildflags", "//mojo/public/cpp/bindings", "//net", "//services/data_decoder/public/cpp", @@ -72,10 +73,6 @@ static_library("browser") { deps += [ "//brave/components/safetynet:android" ] } - if (enable_extensions) { - deps += [ "//extensions/buildflags" ] - } - if (enable_greaselion) { deps += [ "//brave/components/greaselion/browser" ] }