2700eaca1e
* build: remove //chrome/browser/icon_loader source copies * chore: add DCHECK to ensure IconManager is accessed from UI thread
59 lines
2.1 KiB
Text
59 lines
2.1 KiB
Text
# Copyright (c) 2018 GitHub, Inc.
|
|
# Use of this source code is governed by the MIT license that can be
|
|
# found in the LICENSE file.
|
|
|
|
import("//electron/buildflags/buildflags.gni")
|
|
|
|
# Builds some of the chrome sources that Electron depends
|
|
# on unconditionally.
|
|
source_set("chrome") {
|
|
visibility = [ "//electron:electron_lib" ]
|
|
sources = [
|
|
"//chrome/browser/icon_loader.cc",
|
|
"//chrome/browser/icon_loader.h",
|
|
"//chrome/browser/icon_loader_mac.mm",
|
|
"//chrome/browser/icon_loader_win.cc",
|
|
"//chrome/browser/icon_manager.cc",
|
|
"//chrome/browser/icon_manager.h",
|
|
"//chrome/browser/net/chrome_mojo_proxy_resolver_factory.cc",
|
|
"//chrome/browser/net/chrome_mojo_proxy_resolver_factory.h",
|
|
"//chrome/browser/net/chrome_net_log_helper.cc",
|
|
"//chrome/browser/net/chrome_net_log_helper.h",
|
|
"//chrome/browser/net/proxy_config_monitor.cc",
|
|
"//chrome/browser/net/proxy_config_monitor.h",
|
|
"//chrome/browser/net/proxy_service_factory.cc",
|
|
"//chrome/browser/net/proxy_service_factory.h",
|
|
"//chrome/browser/ssl/security_state_tab_helper.cc",
|
|
"//chrome/browser/ssl/security_state_tab_helper.h",
|
|
"//chrome/common/chrome_constants.cc",
|
|
"//chrome/common/chrome_constants.h",
|
|
"//chrome/common/chrome_switches.cc",
|
|
"//chrome/common/chrome_switches.h",
|
|
"//chrome/common/secure_origin_whitelist.cc",
|
|
"//chrome/common/secure_origin_whitelist.h",
|
|
]
|
|
public_deps = [
|
|
"//content/public/browser",
|
|
]
|
|
deps = [
|
|
"//chrome/common:constants",
|
|
"//components/proxy_config",
|
|
"//components/security_state/content",
|
|
]
|
|
|
|
if (is_linux) {
|
|
sources += [ "//chrome/browser/icon_loader_auralinux.cc" ]
|
|
}
|
|
|
|
if (enable_desktop_capturer) {
|
|
sources += [
|
|
"//chrome/browser/media/webrtc/desktop_media_list.h",
|
|
"//chrome/browser/media/webrtc/desktop_media_list_base.cc",
|
|
"//chrome/browser/media/webrtc/desktop_media_list_base.h",
|
|
"//chrome/browser/media/webrtc/desktop_media_list_observer.h",
|
|
"//chrome/browser/media/webrtc/native_desktop_media_list.cc",
|
|
"//chrome/browser/media/webrtc/native_desktop_media_list.h",
|
|
]
|
|
deps += [ "//ui/snapshot" ]
|
|
}
|
|
}
|