Commit 8e584883 authored by tfarina's avatar tfarina Committed by Commit bot

chrome: fix gn check errors for "test_support" target under app directory

Checked on Linux with the following command lines:

$ gn gen out-gn/Release --args='is_debug=false is_component_build=false
symbol_level=1'
$ gn check out-gn/Release //chrome/app/*

BUG=367595,376000
R=thestig@chromium.org
TBR=brettw@chromium.org

Review URL: https://codereview.chromium.org/1572673002

Cr-Commit-Position: refs/heads/master@{#368491}
parent c9c3a682
......@@ -24,6 +24,7 @@ check_targets = [
"//cc/*",
#"//chrome/*", # Epic number of errors.
"//chrome/app/*",
"//chrome/common/*",
"//chrome/installer/*",
"//chrome/third_party/mozilla_security_manager/*",
......
......@@ -322,11 +322,15 @@ source_set("test_support") {
deps = [
"//base",
"//chrome/browser",
"//chrome/browser/policy:path_parser",
"//chrome/child",
"//chrome/common",
"//chrome/plugin",
"//chrome/renderer",
"//chrome/utility",
"//components/crash/content/app",
"//components/crash/content/app:lib",
"//components/startup_metric_utils/browser:lib",
"//content/public/app:both",
"//content/public/common",
"//ui/base",
......@@ -334,9 +338,29 @@ source_set("test_support") {
if (is_mac) {
sources += [ "chrome_main_mac.mm" ]
deps += [ "//chrome:main_dll" ]
}
if (is_win) {
deps += [
"//chrome:chrome_initial",
"//sandbox/win:sandbox",
]
}
if (is_chromeos) {
deps += [ "//chrome/browser/chromeos" ]
}
if (enable_pdf) {
deps += [ "//pdf" ]
}
if (enable_plugins && enable_nacl) {
deps += [ "//components/nacl/renderer/plugin:nacl_trusted_plugin" ]
deps += [
"//components/nacl/browser",
"//components/nacl/renderer/plugin:nacl_trusted_plugin",
]
}
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment