summaryrefslogtreecommitdiffstats
path: root/.gn
diff options
context:
space:
mode:
authorbrettw <brettw@chromium.org>2015-10-14 16:43:23 -0700
committerCommit bot <commit-bot@chromium.org>2015-10-14 23:45:43 +0000
commit70b359a5032e58cb8309a16068868f63cba00c45 (patch)
tree2d03332992a400fd74eec7dfbe08ea791ddc6cdf /.gn
parentb568fab54e373ce72347b28390ce7f4874ed917c (diff)
downloadchromium_src-70b359a5032e58cb8309a16068868f63cba00c45.zip
chromium_src-70b359a5032e58cb8309a16068868f63cba00c45.tar.gz
chromium_src-70b359a5032e58cb8309a16068868f63cba00c45.tar.bz2
Add cloud_print to the GN build.
There were some existing cloud_print targets that were hooked up only on Linux, but most of the code was Windows-only. This adds the missing targets and should bring us up to GYP parity. Fix the cloud print size_t to int warnings and remove the warning disable from GYP. Move generated resources file from cloud_print/resources.h to cloud_print/service/resources.h to match where the source file is. Cloud print does some messy things to get the content switches constants, including the file directly in its sources and manually setting LINK_CONTENT_STATICALLY for all targets. In GN, this adds a static_switches target in content that does this in an official way. Reland of https://codereview.chromium.org/1397433004/ with grid directory fixes Reland of https://codereview.chromium.org/1393123003/ with warning fixes TBR=dpranke Review URL: https://codereview.chromium.org/1408623002 Cr-Commit-Position: refs/heads/master@{#354154}
Diffstat (limited to '.gn')
-rw-r--r--.gn3
1 files changed, 2 insertions, 1 deletions
diff --git a/.gn b/.gn
index 5a7b9ce..243474c 100644
--- a/.gn
+++ b/.gn
@@ -30,7 +30,7 @@ check_targets = [
# TODO(brettw): Fix http://crbug.com/460828 and uncomment the following
# line.
#"//chrome_elf/*",
- "//cloud_print/*",
+ #"//cloud_print/*",
#"//components/*", # Lots of errors.
"//components/app_modal/*",
@@ -63,6 +63,7 @@ check_targets = [
#"//content/*", # A whole lot of errors.
"//content/public/common:result_codes",
+ "//content/public/common:static_switches",
"//courgette/*",
"//crypto/*",
"//data/*",