summaryrefslogtreecommitdiffstats
path: root/cloud_print
diff options
context:
space:
mode:
authorscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-11 22:08:48 +0000
committerscottmg@chromium.org <scottmg@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-12-11 22:08:48 +0000
commitc1a2b233574df6256681b1ed1f7a18a10d942d10 (patch)
treeaddef502fc26d68815f4dc6add3b629d38d7ee5d /cloud_print
parent559eec21d4f7a4a15d927176c2c49977eb111b97 (diff)
downloadchromium_src-c1a2b233574df6256681b1ed1f7a18a10d942d10.zip
chromium_src-c1a2b233574df6256681b1ed1f7a18a10d942d10.tar.gz
chromium_src-c1a2b233574df6256681b1ed1f7a18a10d942d10.tar.bz2
Move cloud_print manifestdependency to external .manifest file
I plan (https://codereview.chromium.org/111373002/) to make manifest handling simpler in gyp. In particular, doing the manifest embedding in one pass to avoid the need to invoke the linker twice. In order to do this /manifestdependency on the linker command line needs to be removed as it creates dependencies that are only made clear by having the linker generate a manifest. In this case it's simple enough to simply use a .manifest file with the same dependency information that can be merged beforehand. So, move from .gyp linker flags to a file in AdditionalManifestFiles. R=vitalybuka@chromium.org BUG=324863 Review URL: https://codereview.chromium.org/108813005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@240189 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'cloud_print')
-rw-r--r--cloud_print/service/common-controls.manifest8
-rw-r--r--cloud_print/service/service.gyp12
2 files changed, 13 insertions, 7 deletions
diff --git a/cloud_print/service/common-controls.manifest b/cloud_print/service/common-controls.manifest
new file mode 100644
index 0000000..1710196
--- /dev/null
+++ b/cloud_print/service/common-controls.manifest
@@ -0,0 +1,8 @@
+<?xml version='1.0' encoding='UTF-8' standalone='yes'?>
+<assembly xmlns='urn:schemas-microsoft-com:asm.v1' manifestVersion='1.0'>
+ <dependency>
+ <dependentAssembly>
+ <assemblyIdentity type='win32' name='Microsoft.Windows.Common-Controls' version='6.0.0.0' processorArchitecture='*' publicKeyToken='6595b64144ccf1df' language='*' />
+ </dependentAssembly>
+ </dependency>
+</assembly>
diff --git a/cloud_print/service/service.gyp b/cloud_print/service/service.gyp
index 2e07037..f4bc65b 100644
--- a/cloud_print/service/service.gyp
+++ b/cloud_print/service/service.gyp
@@ -137,19 +137,17 @@
'cloud_print_service_lib',
],
'msvs_settings': {
+ 'VCManifestTool': {
+ 'AdditionalManifestFiles': [
+ 'common-controls.manifest',
+ ],
+ },
'VCLinkerTool': {
'SubSystem': '2', # Set /SUBSYSTEM:WINDOWS
'UACExecutionLevel': '2', # /level='requireAdministrator'
'AdditionalDependencies': [
'secur32.lib',
],
- 'AdditionalOptions': [ # Enable Vista+ look.
- "\"/manifestdependency:type='win32' "
- "name='Microsoft.Windows.Common-Controls' "
- "version='6.0.0.0' "
- "processorArchitecture='*' "
- "publicKeyToken='6595b64144ccf1df' language='*'\"",
- ],
},
},
},