chrome: fix gn check errors for utility target
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/utility/*
BUG=367595,376000
[email protected]
[email protected]
Review URL: https://codereview.chromium.org/1534763003
Cr-Commit-Position: refs/heads/master@{#365923}
diff --git a/.gn b/.gn
index 4b0b203..727405fb 100644
--- a/.gn
+++ b/.gn
@@ -27,6 +27,7 @@
"//chrome/common/*",
"//chrome/installer/*",
"//chrome/third_party/mozilla_security_manager/*",
+ "//chrome/utility/*",
"//chromecast/*",
"//chrome_elf/*",
"//cloud_print/*",
diff --git a/chrome/utility/BUILD.gn b/chrome/utility/BUILD.gn
index 62a69d1..edef316 100644
--- a/chrome/utility/BUILD.gn
+++ b/chrome/utility/BUILD.gn
@@ -34,10 +34,14 @@
"//components/search_engines",
"//components/strings",
"//components/url_formatter",
+ "//content/public/child",
"//content/public/common",
"//content/public/utility",
+ "//courgette:courgette_lib",
"//media",
+ "//net:net_with_v8",
"//skia",
+ "//sql",
"//third_party/libxml",
]
@@ -124,5 +128,10 @@
if (safe_browsing_mode == 1) {
sources +=
rebase_path(gypi_values.chrome_utility_safe_browsing_sources, ".", "..")
+ deps += [ "//third_party/zlib" ]
+ }
+
+ if (enable_pdf) {
+ deps += [ "//pdf" ]
}
}