Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 # Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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, |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 95 }, | 95 }, |
| 96 { | 96 { |
| 97 'target_name': 'chrome_frame_helper', | 97 'target_name': 'chrome_frame_helper', |
| 98 'type': 'executable', | 98 'type': 'executable', |
| 99 'msvs_guid': 'BF4FFA36-2F66-4B65-9A91-AB7EC08D1042', | 99 'msvs_guid': 'BF4FFA36-2F66-4B65-9A91-AB7EC08D1042', |
| 100 'dependencies': [ | 100 'dependencies': [ |
| 101 '../breakpad/breakpad.gyp:breakpad_handler', | 101 '../breakpad/breakpad.gyp:breakpad_handler', |
| 102 '../chrome/chrome.gyp:chrome_version_header', | 102 '../chrome/chrome.gyp:chrome_version_header', |
| 103 'chrome_frame.gyp:chrome_frame_utils', | 103 'chrome_frame.gyp:chrome_frame_utils', |
| 104 'chrome_frame_helper_dll', | 104 'chrome_frame_helper_dll', |
| 105 'chrome_frame_helper_lib', | |
| 105 ], | 106 ], |
| 106 'resource_include_dirs': [ | 107 'resource_include_dirs': [ |
| 107 '<(INTERMEDIATE_DIR)', | 108 '<(INTERMEDIATE_DIR)', |
| 108 '<(SHARED_INTERMEDIATE_DIR)', | 109 '<(SHARED_INTERMEDIATE_DIR)', |
| 109 ], | 110 ], |
| 110 'include_dirs': [ | 111 'include_dirs': [ |
| 111 # To allow including "chrome_tab.h" | 112 # To allow including "chrome_tab.h" |
| 112 '<(INTERMEDIATE_DIR)', | 113 '<(INTERMEDIATE_DIR)', |
| 113 '<(INTERMEDIATE_DIR)/../chrome_frame', | 114 '<(INTERMEDIATE_DIR)/../chrome_frame', |
| 114 ], | 115 ], |
| 115 'sources': [ | 116 'sources': [ |
| 116 'chrome_frame_helper_main.cc', | 117 'chrome_frame_helper_main.cc', |
| 117 'chrome_frame_helper_version.rc', | 118 'chrome_frame_helper_version.rc', |
| 118 ], | 119 ], |
| 119 'msvs_settings': { | 120 'msvs_settings': { |
| 120 'VCLinkerTool': { | 121 'VCLinkerTool': { |
| 121 'OutputFile': | 122 'OutputFile': |
| 122 '$(OutDir)\\$(ProjectName).exe', | 123 '$(OutDir)\\$(ProjectName).exe', |
| 123 # Set /SUBSYSTEM:WINDOWS since this is not a command-line program. | 124 # Set /SUBSYSTEM:WINDOWS since this is not a command-line program. |
| 124 'SubSystem': '2', | 125 'SubSystem': '2', |
| 125 }, | 126 }, |
| 126 }, | 127 }, |
| 127 }, | 128 }, |
| 128 { | 129 { |
| 129 'target_name': 'chrome_frame_helper_dll', | 130 'target_name': 'chrome_frame_helper_dll', |
| 130 'type': 'shared_library', | 131 'type': 'shared_library', |
| 131 'msvs_guid': '5E80032F-7033-4661-9016-D98268244783', | 132 'msvs_guid': '5E80032F-7033-4661-9016-D98268244783', |
| 132 'dependencies': [ | 133 'dependencies': [ |
| 133 '../chrome/chrome.gyp:chrome_version_header', | 134 '../chrome/chrome.gyp:chrome_version_header', |
| 135 'chrome_frame_helper_lib', | |
| 134 ], | 136 ], |
| 135 'resource_include_dirs': [ | 137 'resource_include_dirs': [ |
| 136 '<(INTERMEDIATE_DIR)', | 138 '<(INTERMEDIATE_DIR)', |
| 137 '<(SHARED_INTERMEDIATE_DIR)', | 139 '<(SHARED_INTERMEDIATE_DIR)', |
| 138 ], | 140 ], |
| 139 'include_dirs': [ | 141 'include_dirs': [ |
| 140 # To allow including "chrome_tab.h" | 142 # To allow including "chrome_tab.h" |
| 141 '<(INTERMEDIATE_DIR)', | 143 '<(INTERMEDIATE_DIR)', |
| 142 '<(INTERMEDIATE_DIR)/../chrome_frame', | 144 '<(INTERMEDIATE_DIR)/../chrome_frame', |
| 143 ], | 145 ], |
| 144 'sources': [ | 146 'sources': [ |
| 145 'bho_loader.cc', | 147 'bho_loader.cc', |
| 146 'bho_loader.h', | 148 'bho_loader.h', |
| 147 'chrome_frame_helper_dll.cc', | 149 'chrome_frame_helper_dll.cc', |
| 148 'chrome_frame_helper_dll.def', | 150 'chrome_frame_helper_dll.def', |
| 149 'chrome_frame_helper_util.cc', | |
| 150 'chrome_frame_helper_util.h', | |
| 151 'chrome_frame_helper_version.rc', | 151 'chrome_frame_helper_version.rc', |
| 152 '<(SHARED_INTERMEDIATE_DIR)/chrome_tab.h', | 152 '<(SHARED_INTERMEDIATE_DIR)/chrome_tab.h', |
| 153 'chrome_tab.idl', | 153 'chrome_tab.idl', |
| 154 'event_hooker.cc', | 154 'event_hooker.cc', |
| 155 'event_hooker.h', | 155 'event_hooker.h', |
| 156 'iids.cc', | 156 'iids.cc', |
| 157 ], | 157 ], |
| 158 'msvs_settings': { | 158 'msvs_settings': { |
| 159 'VCLinkerTool': { | 159 'VCLinkerTool': { |
| 160 'OutputFile': '$(OutDir)\\chrome_frame_helper.dll', | 160 'OutputFile': '$(OutDir)\\chrome_frame_helper.dll', |
| 161 'ProgramDatabaseFile': '$(OutDir)\\chrome_frame_helper_dll.pdb', | 161 'ProgramDatabaseFile': '$(OutDir)\\chrome_frame_helper_dll.pdb', |
| 162 # Set /SUBSYSTEM:WINDOWS since this is not a command-line program. | 162 # Set /SUBSYSTEM:WINDOWS since this is not a command-line program. |
| 163 'SubSystem': '2', | 163 'SubSystem': '2', |
| 164 'AdditionalDependencies': [ | 164 'AdditionalDependencies': [ |
| 165 'shlwapi.lib', | 165 'shlwapi.lib', |
| 166 ], | 166 ], |
| 167 }, | 167 }, |
| 168 }, | 168 }, |
| 169 }, | 169 }, |
| 170 { | |
| 171 'target_name': 'chrome_frame_helper_lib', | |
| 172 'type': 'static_library', | |
| 173 'msvs_guid': '9984D820-1D28-48A7-957C-2AFA41B416C9', | |
| 174 'dependencies': [ | |
| 175 '../chrome/chrome.gyp:chrome_version_header', | |
| 176 ], | |
| 177 'resource_include_dirs': [ | |
| 178 '<(INTERMEDIATE_DIR)', | |
| 179 '<(SHARED_INTERMEDIATE_DIR)', | |
| 180 ], | |
| 181 'include_dirs': [ | |
| 182 # To allow including "chrome_tab.h" | |
| 183 '<(INTERMEDIATE_DIR)', | |
| 184 '<(INTERMEDIATE_DIR)/../chrome_frame', | |
| 185 ], | |
| 186 'sources': [ | |
| 187 'chrome_frame_helper_util.cc', | |
| 188 'chrome_frame_helper_util.h', | |
| 189 'registry_watcher.cc', | |
| 190 'registry_watcher.h', | |
| 191 '<(SHARED_INTERMEDIATE_DIR)/chrome_tab.h', | |
| 192 'chrome_tab.idl', | |
| 193 'iids.cc', | |
| 194 ], | |
| 195 'msvs_settings': { | |
| 196 'VCLinkerTool': { | |
| 197 # Set /SUBSYSTEM:WINDOWS since this is not a command-line program. | |
| 198 'SubSystem': '2', | |
|
grt (UTC plus 2)
2011/05/26 17:08:58
I'm not sure why this is needed; the linker isn't
robertshield
2011/05/27 03:34:59
Stuff in this static lib calls shlwapi functions,
grt (UTC plus 2)
2011/05/27 14:07:58
Gotcha. I think you can nuke the /SUBSYSTEM stuff
robertshield
2011/05/27 14:29:47
Done.
| |
| 199 'AdditionalDependencies': [ | |
| 200 'shlwapi.lib', | |
| 201 ], | |
| 202 }, | |
| 203 }, | |
| 204 }, | |
| 170 ], | 205 ], |
| 171 } | 206 } |
| OLD | NEW |