diff --git a/components/history/core/browser/sync/sources.gni b/components/history/core/browser/sources.gni similarity index 86% rename from components/history/core/browser/sync/sources.gni rename to components/history/core/browser/sources.gni index 71dfe4421ee2..655322363fa1 100644 --- a/components/history/core/browser/sync/sources.gni +++ b/components/history/core/browser/sources.gni @@ -3,9 +3,11 @@ # 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_components_history_core_browser_sync_sources = [ +brave_components_history_core_browser_sources = [ "//brave/components/history/core/browser/sync/brave_history_delete_directives_model_type_controller.cc", "//brave/components/history/core/browser/sync/brave_history_delete_directives_model_type_controller.h", "//brave/components/history/core/browser/sync/brave_history_model_type_controller.cc", "//brave/components/history/core/browser/sync/brave_history_model_type_controller.h", ] + +brave_components_history_core_browser_deps = [] diff --git a/patches/components-history-core-browser-BUILD.gn.patch b/patches/components-history-core-browser-BUILD.gn.patch index d7906fea8730..478c7d87e6f2 100644 --- a/patches/components-history-core-browser-BUILD.gn.patch +++ b/patches/components-history-core-browser-BUILD.gn.patch @@ -1,12 +1,12 @@ diff --git a/components/history/core/browser/BUILD.gn b/components/history/core/browser/BUILD.gn -index fcd97b996f10aca76a8406fc4058ce69355ca87e..30e37c1586ee129a57d7db17cf9a7f913d75b8cf 100644 +index fcd97b996f10aca76a8406fc4058ce69355ca87e..5e64c0d27c4f9473eed3b077685b907d17149075 100644 --- a/components/history/core/browser/BUILD.gn +++ b/components/history/core/browser/BUILD.gn @@ -157,6 +157,7 @@ static_library("browser") { "android/visit_sql_handler.h", ] } -+ import("//brave/components/history/core/browser/sync/sources.gni") sources += brave_components_history_core_browser_sync_sources ++ import("//brave/components/history/core/browser/sources.gni") sources += brave_components_history_core_browser_sources deps += brave_components_history_core_browser_deps } source_set("unit_tests") {