Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(789)

Side by Side Diff: chrome_frame/chrome_frame_launcher.gyp

Issue 2497001: Add version information to chrome_launcher.exe.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | chrome_frame/chrome_launcher_version.rc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 { 5 {
6 'variables': { 6 'variables': {
7 'chromium_code': 1, 7 'chromium_code': 1,
8 8
9 # Keep the archive builder happy. 9 # Keep the archive builder happy.
10 'chrome_personalization%': 1, 10 'chrome_personalization%': 1,
11 'use_syncapi_stub%': 0, 11 'use_syncapi_stub%': 0,
12 12
13 'variables': {
14 'version_py_path': '../tools/build/version.py',
15 'version_path': 'VERSION',
16 },
17 'version_py_path': '<(version_py_path) -f',
18 'version_path': '<(version_path)',
19
13 'conditions': [ 20 'conditions': [
14 ['OS=="win"', { 21 ['OS=="win"', {
15 'python': [ 22 'python': [
16 '<(DEPTH)\\third_party\\python_24\\setup_env.bat && python' 23 '<(DEPTH)\\third_party\\python_24\\setup_env.bat && python'
17 ], 24 ],
18 }, { # OS != win 25 }, { # OS != win
19 'python': [ 26 'python': [
20 'python' 27 'python'
21 ], 28 ],
22 }], 29 }],
23 ], 30 ],
24 }, 31 },
25 'includes': [ 32 'includes': [
26 '../build/common.gypi', 33 '../build/common.gypi',
27 ], 34 ],
28 'target_defaults': { 35 'target_defaults': {
29 'include_dirs': [ 36 'include_dirs': [
30 # all our own includes are relative to src/ 37 # all our own includes are relative to src/
31 '..', 38 '..',
32 ], 39 ],
33 }, 40 },
34 'targets': [ 41 'targets': [
35 { 42 {
36 'target_name': 'chrome_launcher', 43 'target_name': 'chrome_launcher',
37 'type': 'executable', 44 'type': 'executable',
38 'msvs_guid': 'B7E540C1-49D9-4350-ACBC-FB8306316D16', 45 'msvs_guid': 'B7E540C1-49D9-4350-ACBC-FB8306316D16',
39 'dependencies': [ 46 'dependencies': [
40 '../breakpad/breakpad.gyp:breakpad_handler', 47 '../breakpad/breakpad.gyp:breakpad_handler',
48 '../chrome/chrome.gyp:chrome_version_info',
49 '../chrome/chrome.gyp:chrome_version_header',
50 ],
51 'resource_include_dirs': [
52 '<(INTERMEDIATE_DIR)',
53 '<(SHARED_INTERMEDIATE_DIR)',
41 ], 54 ],
42 'sources': [ 55 'sources': [
43 'chrome_launcher_main.cc', 56 'chrome_launcher_main.cc',
57 'chrome_launcher_version.rc',
44 'chrome_launcher.cc', 58 'chrome_launcher.cc',
45 'chrome_launcher.h', 59 'chrome_launcher.h',
46 ], 60 ],
47 'msvs_settings': { 61 'msvs_settings': {
48 'VCLinkerTool': { 62 'VCLinkerTool': {
49 'OutputFile': 63 'OutputFile':
50 '$(OutDir)\\servers\\$(ProjectName).exe', 64 '$(OutDir)\\servers\\$(ProjectName).exe',
51 # Set /SUBSYSTEM:WINDOWS since this is not a command-line program. 65 # Set /SUBSYSTEM:WINDOWS since this is not a command-line program.
52 'SubSystem': '2', 66 'SubSystem': '2',
53 'AdditionalDependencies': [ 67 'AdditionalDependencies': [
54 'shlwapi.lib', 68 'shlwapi.lib',
55 ], 69 ],
56
57 }, 70 },
58 }, 71 },
59 'configurations': { 72 'configurations': {
60 'Release_Base': { 73 'Release_Base': {
61 # Set flags to unconditionally optimize chrome_frame_launcher.exe 74 # Set flags to unconditionally optimize chrome_frame_launcher.exe
62 # for release builds. 75 # for release builds.
63 'msvs_settings': { 76 'msvs_settings': {
64 'VCLinkerTool': { 77 'VCLinkerTool': {
65 'LinkTimeCodeGeneration': '1', 78 'LinkTimeCodeGeneration': '1',
66 }, 79 },
67 'VCCLCompilerTool': { 80 'VCCLCompilerTool': {
68 'Optimization': '3', 81 'Optimization': '3',
69 'InlineFunctionExpansion': '2', 82 'InlineFunctionExpansion': '2',
70 'EnableIntrinsicFunctions': 'true', 83 'EnableIntrinsicFunctions': 'true',
71 'FavorSizeOrSpeed': '2', 84 'FavorSizeOrSpeed': '2',
72 'OmitFramePointers': 'true', 85 'OmitFramePointers': 'true',
73 'EnableFiberSafeOptimizations': 'true', 86 'EnableFiberSafeOptimizations': 'true',
74 'WholeProgramOptimization': 'true', 87 'WholeProgramOptimization': 'true',
75 }, 88 },
76 'VCLibrarianTool': { 89 'VCLibrarianTool': {
77 'AdditionalOptions': ['/ltcg', '/expectedoutputsize:120000000'], 90 'AdditionalOptions': ['/ltcg', '/expectedoutputsize:120000000'],
78 }, 91 },
79 }, 92 },
80 }, 93 },
81 }, 94 },
82 }, 95 },
83 ], 96 ],
84 } 97 }
OLDNEW
« no previous file with comments | « no previous file | chrome_frame/chrome_launcher_version.rc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698