OLD | NEW |
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 'conditions': [ | 5 'conditions': [ |
6 ['OS=="mac" or OS=="win"', { | 6 ['OS=="mac" or OS=="win"', { |
7 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 'target_name': 'chrome_dll', | 9 'target_name': 'chrome_dll', |
10 'type': 'none', | 10 'type': 'none', |
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
139 'msvs_settings': { | 139 'msvs_settings': { |
140 'VCLinkerTool': { | 140 'VCLinkerTool': { |
141 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', | 141 'LinkIncremental': '<(msvs_large_module_debug_link_mode)', |
142 }, | 142 }, |
143 }, | 143 }, |
144 }, | 144 }, |
145 }, | 145 }, |
146 'msvs_settings': { | 146 'msvs_settings': { |
147 'VCLinkerTool': { | 147 'VCLinkerTool': { |
148 'ImportLibrary': '$(OutDir)\\lib\\chrome_dll.lib', | 148 'ImportLibrary': '$(OutDir)\\lib\\chrome_dll.lib', |
149 # Set /SUBSYSTEM:WINDOWS for chrome.dll (for consistency). | |
150 'SubSystem': '2', | |
151 'conditions': [ | 149 'conditions': [ |
| 150 ['win_force_console==0', { |
| 151 # Set /SUBSYSTEM:WINDOWS for chrome.dll (for consistency). |
| 152 'SubSystem': '2', |
| 153 }], |
152 ['incremental_chrome_dll==1', { | 154 ['incremental_chrome_dll==1', { |
153 'OutputFile': '$(OutDir)\\initial\\chrome.dll', | 155 'OutputFile': '$(OutDir)\\initial\\chrome.dll', |
154 'UseLibraryDependencyInputs': "true", | 156 'UseLibraryDependencyInputs': "true", |
155 }], | 157 }], |
156 ['target_arch=="ia32"', { | 158 ['target_arch=="ia32"', { |
157 # Don't set an x64 base address (to avoid breaking HE-ASLR
). | 159 # Don't set an x64 base address (to avoid breaking HE-ASLR
). |
158 'BaseAddress': '0x01c30000', | 160 'BaseAddress': '0x01c30000', |
159 # Link against the XP-constrained user32 import library | 161 # Link against the XP-constrained user32 import library |
160 # instead of the platform-SDK provided one to avoid | 162 # instead of the platform-SDK provided one to avoid |
161 # inadvertently taking dependencies on post-XP user32 | 163 # inadvertently taking dependencies on post-XP user32 |
(...skipping 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 }, | 375 }, |
374 }], | 376 }], |
375 ] | 377 ] |
376 }], | 378 }], |
377 ], | 379 ], |
378 }, # target chrome_child_dll | 380 }, # target chrome_child_dll |
379 ], | 381 ], |
380 }], | 382 }], |
381 ], | 383 ], |
382 } | 384 } |
OLD | NEW |