diff options
author | brettw <brettw@chromium.org> | 2015-10-14 16:43:23 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-10-14 23:45:43 +0000 |
commit | 70b359a5032e58cb8309a16068868f63cba00c45 (patch) | |
tree | 2d03332992a400fd74eec7dfbe08ea791ddc6cdf /chrome/version_resource_rules.gypi | |
parent | b568fab54e373ce72347b28390ce7f4874ed917c (diff) | |
download | chromium_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 'chrome/version_resource_rules.gypi')
-rw-r--r-- | chrome/version_resource_rules.gypi | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/chrome/version_resource_rules.gypi b/chrome/version_resource_rules.gypi index afd44e3..cf774f9 100644 --- a/chrome/version_resource_rules.gypi +++ b/chrome/version_resource_rules.gypi @@ -4,6 +4,9 @@ # This file defines rules that allow you to generate version resources for # Windows images. +# +# GN: Use the "process_version" template in //chrome/version.gni. +# For an example, see the target //chrome:chrome_exe_version # Include 'version.gypi' at the top of your GYP file to define # the required variables: |