ERROR at //chrome/utility/importer/bookmark_html_reader.h:12:11: Include not allowed.
#include "chrome/common/importer/importer_data_types.h"
^-------------------------------------------
It is not in any dependency of
//chrome/utility:utility
The include file is in the target(s):
//chrome/common/importer:importer
which should somehow be reachable.
___________________
ERROR at //chrome/utility/services.cc:57:11: Include not allowed.
#include "chrome/common/importer/profile_import.mojom.h"
^--------------------------------------------
It is not in any dependency of
//chrome/utility:utility
The include file is in the target(s):
//chrome/common/importer:interfaces
//chrome/common/importer:interfaces__generator
at least one of which should somehow be reachable.
51 lines
1.5 KiB
Plaintext
51 lines
1.5 KiB
Plaintext
# Copyright (c) 2023 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/.
|
|
|
|
import("//brave/components/tor/buildflags/buildflags.gni")
|
|
import("//brave/utility/importer/sources.gni")
|
|
|
|
brave_utility_sources = [
|
|
"//brave/utility/brave_content_utility_client.cc",
|
|
"//brave/utility/brave_content_utility_client.h",
|
|
]
|
|
|
|
brave_utility_sources += brave_utility_importer_sources
|
|
|
|
brave_utility_deps = [
|
|
"//brave/components/services/bat_ads:lib",
|
|
"//brave/components/services/bat_ads/public/interfaces",
|
|
"//brave/components/services/bat_rewards:lib",
|
|
"//brave/components/services/bat_rewards/public/interfaces",
|
|
"//brave/components/services/brave_wallet:lib",
|
|
"//brave/components/services/brave_wallet/public/mojom",
|
|
"//brave/components/tor/buildflags",
|
|
"//mojo/public/cpp/bindings",
|
|
]
|
|
|
|
if (is_android) {
|
|
brave_utility_sources += [
|
|
"//chrome/utility/importer/bookmark_html_reader.cc",
|
|
"//chrome/utility/importer/bookmark_html_reader.h",
|
|
]
|
|
|
|
brave_utility_deps += [
|
|
"//chrome/common/importer",
|
|
"//chrome/common/importer:interfaces",
|
|
"//components/favicon_base",
|
|
]
|
|
}
|
|
|
|
brave_utility_deps += brave_utility_importer_deps
|
|
|
|
if (enable_tor) {
|
|
brave_utility_deps += [
|
|
"//brave/components/services/tor",
|
|
"//brave/components/services/tor/public/interfaces",
|
|
]
|
|
}
|
|
|
|
brave_utility_public_deps = []
|
|
brave_utility_public_deps += brave_utility_importer_public_deps
|