2018-09-12 13:45:08 +00:00
|
|
|
# Copyright (c) 2018 GitHub, Inc.
|
|
|
|
# Use of this source code is governed by the MIT license that can be
|
|
|
|
# found in the LICENSE file.
|
|
|
|
|
2018-10-03 12:26:42 +00:00
|
|
|
import("//electron/buildflags/buildflags.gni")
|
|
|
|
|
2018-09-12 13:45:08 +00:00
|
|
|
# Builds some of the chrome sources that Electron depends
|
|
|
|
# on unconditionally.
|
|
|
|
source_set("chrome") {
|
|
|
|
visibility = [ "//electron:electron_lib" ]
|
|
|
|
sources = [
|
|
|
|
"//chrome/browser/ssl/security_state_tab_helper.cc",
|
|
|
|
"//chrome/browser/ssl/security_state_tab_helper.h",
|
2018-10-03 18:44:22 +00:00
|
|
|
"//chrome/common/chrome_constants.cc",
|
|
|
|
"//chrome/common/chrome_constants.h",
|
2018-09-15 00:22:22 +00:00
|
|
|
"//chrome/common/secure_origin_whitelist.cc",
|
|
|
|
"//chrome/common/secure_origin_whitelist.h",
|
2018-09-12 13:45:08 +00:00
|
|
|
]
|
2018-10-03 12:26:42 +00:00
|
|
|
public_deps = [
|
|
|
|
"//content/public/browser",
|
|
|
|
]
|
|
|
|
deps = [
|
2018-10-03 18:44:22 +00:00
|
|
|
"//chrome/common:constants",
|
2018-10-03 12:26:42 +00:00
|
|
|
"//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" ]
|
|
|
|
}
|
2018-09-12 13:45:08 +00:00
|
|
|
}
|