434a6e3561
* [ci skip] refactor: create request context from network context * [ci skip] refactor: subscribe to mojo cookiemanager for cookie changes * [ci skip] refactor: manage the lifetime of custom URLRequestJobFactory * refactor: use OOP mojo proxy resolver * revert: add support for kIgnoreCertificateErrorsSPKIList * build: provide service manifest overlays for content services * chore: gn format * fix: log-net-log switch not working as expected * spec: verify proxy settings are respected from pac script with session.setProxy * chore: use chrome constants where possible * fix: initialize request context for global cert fetcher * refactor: fix destruction of request context getters * spec: use custom session for proxy tests * fix: queue up additional stop callbacks while net log is being stopped * fix: Add CHECK for cookie manager retrieval * chore: add helper to retrieve logging state for net log module * fix: ui::ResourceBundle::GetRawDataResourceForScale => GetRawDataResource * style: comment unused parameters * build: move //components/certificate_transparency deps from //brightray * chore: update gritsettings_resource_ids patch * chore: update api for chromium 68 * fix: net log instance is now a property of session
49 lines
1.8 KiB
Text
49 lines
1.8 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/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 (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" ]
|
|
}
|
|
}
|