Skip to content

Commit

Permalink
chrome: fix gn check errors for utility target
Browse files Browse the repository at this point in the history
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
R=thestig@chromium.org
TBR=brettw@chromium.org

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

Cr-Commit-Position: refs/heads/master@{#365923}
  • Loading branch information
tfarina authored and Commit bot committed Dec 17, 2015
1 parent e461b91 commit 02f77a4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions .gn
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ check_targets = [
"//chrome/common/*",
"//chrome/installer/*",
"//chrome/third_party/mozilla_security_manager/*",
"//chrome/utility/*",
"//chromecast/*",
"//chrome_elf/*",
"//cloud_print/*",
Expand Down
9 changes: 9 additions & 0 deletions chrome/utility/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,14 @@ static_library("utility") {
"//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",
]

Expand Down Expand Up @@ -124,5 +128,10 @@ static_library("utility") {
if (safe_browsing_mode == 1) {
sources +=
rebase_path(gypi_values.chrome_utility_safe_browsing_sources, ".", "..")
deps += [ "//third_party/zlib" ]
}

if (enable_pdf) {
deps += [ "//pdf" ]
}
}

0 comments on commit 02f77a4

Please sign in to comment.