| OLD | NEW |
| 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, |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 ], | 30 ], |
| 31 }, | 31 }, |
| 32 'includes': [ | 32 'includes': [ |
| 33 '../build/common.gypi', | 33 '../build/common.gypi', |
| 34 ], | 34 ], |
| 35 'target_defaults': { | 35 'target_defaults': { |
| 36 'include_dirs': [ | 36 'include_dirs': [ |
| 37 # all our own includes are relative to src/ | 37 # all our own includes are relative to src/ |
| 38 '..', | 38 '..', |
| 39 ], | 39 ], |
| 40 'configurations': { |
| 41 'Release_Base': { |
| 42 # Set flags to unconditionally optimize chrome_frame_launcher.exe |
| 43 # for release builds. |
| 44 'msvs_settings': { |
| 45 'VCLinkerTool': { |
| 46 'LinkTimeCodeGeneration': '1', |
| 47 }, |
| 48 'VCCLCompilerTool': { |
| 49 'Optimization': '3', |
| 50 'InlineFunctionExpansion': '2', |
| 51 'EnableIntrinsicFunctions': 'true', |
| 52 'FavorSizeOrSpeed': '2', |
| 53 'OmitFramePointers': 'true', |
| 54 'EnableFiberSafeOptimizations': 'true', |
| 55 'WholeProgramOptimization': 'true', |
| 56 }, |
| 57 'VCLibrarianTool': { |
| 58 'AdditionalOptions': ['/ltcg', '/expectedoutputsize:120000000'], |
| 59 }, |
| 60 }, |
| 61 }, |
| 62 }, |
| 40 }, | 63 }, |
| 41 'targets': [ | 64 'targets': [ |
| 42 { | 65 { |
| 43 'target_name': 'chrome_launcher', | 66 'target_name': 'chrome_launcher', |
| 44 'type': 'executable', | 67 'type': 'executable', |
| 45 'msvs_guid': 'B7E540C1-49D9-4350-ACBC-FB8306316D16', | 68 'msvs_guid': 'B7E540C1-49D9-4350-ACBC-FB8306316D16', |
| 46 'dependencies': [ | 69 'dependencies': [ |
| 47 '../breakpad/breakpad.gyp:breakpad_handler', | 70 '../breakpad/breakpad.gyp:breakpad_handler', |
| 48 '../chrome/chrome.gyp:chrome_version_header', | 71 '../chrome/chrome.gyp:chrome_version_header', |
| 49 ], | 72 ], |
| (...skipping 10 matching lines...) Expand all Loading... |
| 60 'msvs_settings': { | 83 'msvs_settings': { |
| 61 'VCLinkerTool': { | 84 'VCLinkerTool': { |
| 62 'OutputFile': | 85 'OutputFile': |
| 63 '$(OutDir)\\servers\\$(ProjectName).exe', | 86 '$(OutDir)\\servers\\$(ProjectName).exe', |
| 64 # Set /SUBSYSTEM:WINDOWS since this is not a command-line program. | 87 # Set /SUBSYSTEM:WINDOWS since this is not a command-line program. |
| 65 'SubSystem': '2', | 88 'SubSystem': '2', |
| 66 'AdditionalDependencies': [ | 89 'AdditionalDependencies': [ |
| 67 'shlwapi.lib', | 90 'shlwapi.lib', |
| 68 ], | 91 ], |
| 69 }, | 92 }, |
| 93 }, |
| 94 }, |
| 95 { |
| 96 'target_name': 'chrome_frame_helper', |
| 97 'type': 'executable', |
| 98 'msvs_guid': 'BF4FFA36-2F66-4B65-9A91-AB7EC08D1042', |
| 99 'dependencies': [ |
| 100 '../breakpad/breakpad.gyp:breakpad_handler', |
| 101 '../chrome/chrome.gyp:chrome_version_header', |
| 102 'chrome_frame_helper_dll', |
| 103 ], |
| 104 'resource_include_dirs': [ |
| 105 '<(INTERMEDIATE_DIR)', |
| 106 '<(SHARED_INTERMEDIATE_DIR)', |
| 107 ], |
| 108 'include_dirs': [ |
| 109 # To allow including "chrome_tab.h" |
| 110 '<(INTERMEDIATE_DIR)', |
| 111 '<(INTERMEDIATE_DIR)/../chrome_frame', |
| 112 ], |
| 113 'sources': [ |
| 114 'chrome_frame_helper_main.cc', |
| 115 'chrome_frame_helper_version.rc', |
| 116 ], |
| 117 'msvs_settings': { |
| 118 'VCLinkerTool': { |
| 119 'OutputFile': |
| 120 '$(OutDir)\\servers\\$(ProjectName).exe', |
| 121 # Set /SUBSYSTEM:WINDOWS since this is not a command-line program. |
| 122 'SubSystem': '2', |
| 123 }, |
| 124 }, |
| 125 }, |
| 126 { |
| 127 'target_name': 'chrome_frame_helper_dll', |
| 128 'type': 'shared_library', |
| 129 'msvs_guid': '5E80032F-7033-4661-9016-D98268244783', |
| 130 'dependencies': [ |
| 131 '../chrome/chrome.gyp:chrome_version_header', |
| 132 ], |
| 133 'resource_include_dirs': [ |
| 134 '<(INTERMEDIATE_DIR)', |
| 135 '<(SHARED_INTERMEDIATE_DIR)', |
| 136 ], |
| 137 'include_dirs': [ |
| 138 # To allow including "chrome_tab.h" |
| 139 '<(INTERMEDIATE_DIR)', |
| 140 '<(INTERMEDIATE_DIR)/../chrome_frame', |
| 141 ], |
| 142 'sources': [ |
| 143 'bho_loader.cc', |
| 144 'bho_loader.h', |
| 145 'chrome_frame_helper_dll.cc', |
| 146 'chrome_frame_helper_dll.def', |
| 147 'chrome_frame_helper_util.cc', |
| 148 'chrome_frame_helper_util.h', |
| 149 'chrome_frame_helper_version.rc', |
| 150 'chrome_tab.h', |
| 151 'chrome_tab.idl', |
| 152 'event_hooker.cc', |
| 153 'event_hooker.h', |
| 154 'iids.cc', |
| 155 ], |
| 156 'msvs_settings': { |
| 157 'VCLinkerTool': { |
| 158 'OutputFile': |
| 159 '$(OutDir)\\servers\\chrome_frame_helper.dll', |
| 160 # Set /SUBSYSTEM:WINDOWS since this is not a command-line program. |
| 161 'SubSystem': '2', |
| 162 'AdditionalDependencies': [ |
| 163 'shlwapi.lib', |
| 164 ], |
| 165 }, |
| 70 }, | 166 }, |
| 71 'configurations': { | |
| 72 'Release_Base': { | |
| 73 # Set flags to unconditionally optimize chrome_frame_launcher.exe | |
| 74 # for release builds. | |
| 75 'msvs_settings': { | |
| 76 'VCLinkerTool': { | |
| 77 'LinkTimeCodeGeneration': '1', | |
| 78 }, | |
| 79 'VCCLCompilerTool': { | |
| 80 'Optimization': '3', | |
| 81 'InlineFunctionExpansion': '2', | |
| 82 'EnableIntrinsicFunctions': 'true', | |
| 83 'FavorSizeOrSpeed': '2', | |
| 84 'OmitFramePointers': 'true', | |
| 85 'EnableFiberSafeOptimizations': 'true', | |
| 86 'WholeProgramOptimization': 'true', | |
| 87 }, | |
| 88 'VCLibrarianTool': { | |
| 89 'AdditionalOptions': ['/ltcg', '/expectedoutputsize:120000000'], | |
| 90 }, | |
| 91 }, | |
| 92 }, | |
| 93 }, | |
| 94 }, | 167 }, |
| 95 ], | 168 ], |
| 96 } | 169 } |
| OLD | NEW |