-
Notifications
You must be signed in to change notification settings - Fork 922
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6664 from brave/gyuyoung-brave-browser-importer
Fix deps in //brave/browser/importer
- Loading branch information
Showing
5 changed files
with
43 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,34 +1,13 @@ | ||
import("//build/config/features.gni") | ||
|
||
source_set("importer") { | ||
# Remove when https://github.com/brave/brave-browser/issues/10657 is resolved | ||
check_includes = false | ||
sources = [ | ||
"brave_external_process_importer_client.cc", | ||
"brave_external_process_importer_client.h", | ||
"brave_external_process_importer_host.cc", | ||
"brave_external_process_importer_host.h", | ||
"brave_importer_p3a.cc", | ||
"brave_importer_p3a.h", | ||
"brave_in_process_importer_bridge.cc", | ||
"brave_in_process_importer_bridge.h", | ||
] | ||
|
||
deps = [ | ||
"//base", | ||
"//brave/common", | ||
"//brave/common/importer:interfaces", | ||
# For buildflags.h included from chrome/browser/browser_process.h, we are | ||
# not including chrome/browser here because of circular dependency. | ||
# We should refactor this in the future to be able to add chrome/browser | ||
# into importer target's deps. | ||
"//chrome/common:buildflags", | ||
"//chrome/common/importer", | ||
# For profile_import.mojom.h from external_process_importer_client.h. | ||
# brave_external_process_importer_client.cc refers it indirectly. | ||
"//chrome/common/importer:interfaces", | ||
"//content/public/browser", | ||
"//extensions/buildflags", | ||
"//ui/gfx:native_widget_types", | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Copyright (c) 2020 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 http://mozilla.org/MPL/2.0/. | ||
|
||
brave_chrome_browser_importer_sources = [ | ||
"//brave/browser/importer/brave_external_process_importer_client.cc", | ||
"//brave/browser/importer/brave_external_process_importer_client.h", | ||
"//brave/browser/importer/brave_external_process_importer_host.cc", | ||
"//brave/browser/importer/brave_external_process_importer_host.h", | ||
"//brave/browser/importer/brave_in_process_importer_bridge.cc", | ||
"//brave/browser/importer/brave_in_process_importer_bridge.h", | ||
] | ||
|
||
brave_chrome_browser_importer_deps = [ | ||
"//base", | ||
"//brave/common/importer:interfaces", | ||
"//content/public/browser", | ||
"//extensions/buildflags", | ||
"//mojo/public/cpp/bindings:bindings", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
# Copyright (c) 2020 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 http://mozilla.org/MPL/2.0/. | ||
|
||
import("//brave/browser/importer/sources.gni") | ||
|
||
brave_chrome_browser_sources = [] | ||
brave_chrome_browser_sources += brave_chrome_browser_importer_sources | ||
|
||
brave_chrome_browser_deps = [] | ||
brave_chrome_browser_deps += brave_chrome_browser_importer_deps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters