| 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 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 97 # imports only in x86 builds. | 97 # imports only in x86 builds. |
| 98 'dependencies': [ | 98 'dependencies': [ |
| 99 'chrome_user32_delay_imports', | 99 'chrome_user32_delay_imports', |
| 100 ], | 100 ], |
| 101 },], | 101 },], |
| 102 ['OS=="win"', { | 102 ['OS=="win"', { |
| 103 'product_name': 'chrome', | 103 'product_name': 'chrome', |
| 104 'dependencies': [ | 104 'dependencies': [ |
| 105 # On Windows, link the dependencies (libraries) that make | 105 # On Windows, link the dependencies (libraries) that make |
| 106 # up actual Chromium functionality into this .dll. | 106 # up actual Chromium functionality into this .dll. |
| 107 'chrome_dll_pdb_workaround', | |
| 108 'chrome_version_resources', | 107 'chrome_version_resources', |
| 109 '../chrome/chrome_resources.gyp:chrome_unscaled_resources', | 108 '../chrome/chrome_resources.gyp:chrome_unscaled_resources', |
| 110 '../crypto/crypto.gyp:crypto', | 109 '../crypto/crypto.gyp:crypto', |
| 111 '../net/net.gyp:net_resources', | 110 '../net/net.gyp:net_resources', |
| 112 '../ui/views/views.gyp:views', | 111 '../ui/views/views.gyp:views', |
| 113 '../webkit/webkit_resources.gyp:webkit_resources', | 112 '../webkit/webkit_resources.gyp:webkit_resources', |
| 114 ], | 113 ], |
| 115 'sources': [ | 114 'sources': [ |
| 116 'app/chrome_command_ids.h', | 115 'app/chrome_command_ids.h', |
| 117 'app/chrome_dll.rc', | 116 'app/chrome_dll.rc', |
| (...skipping 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 'dependencies': [ | 318 'dependencies': [ |
| 320 '../pdf/pdf.gyp:pdf', | 319 '../pdf/pdf.gyp:pdf', |
| 321 ], | 320 ], |
| 322 }], | 321 }], |
| 323 ], # conditions | 322 ], # conditions |
| 324 }], # OS=="mac" | 323 }], # OS=="mac" |
| 325 ], # conditions | 324 ], # conditions |
| 326 }, # target chrome_main_dll | 325 }, # target chrome_main_dll |
| 327 ], # targets | 326 ], # targets |
| 328 }], # OS=="mac" or OS=="win" | 327 }], # OS=="mac" or OS=="win" |
| 329 ['OS=="win"', { | |
| 330 'targets': [ | |
| 331 { | |
| 332 # This target is only depended upon on Windows. | |
| 333 'target_name': 'chrome_dll_pdb_workaround', | |
| 334 'type': 'static_library', | |
| 335 'sources': [ 'empty_pdb_workaround.cc' ], | |
| 336 'conditions': [ | |
| 337 ['fastbuild==0 or win_z7!=0', { | |
| 338 'msvs_settings': { | |
| 339 'VCCLCompilerTool': { | |
| 340 # This *in the compile phase* must match the pdb name that's | |
| 341 # output by the final link. See empty_pdb_workaround.cc for | |
| 342 # more details. | |
| 343 'DebugInformationFormat': '3', | |
| 344 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/chrome.dll.pdb', | |
| 345 }, | |
| 346 }, | |
| 347 }], | |
| 348 ], | |
| 349 }, | |
| 350 ], | |
| 351 }], | |
| 352 ['chrome_multiple_dll', { | 328 ['chrome_multiple_dll', { |
| 353 'targets': [ | 329 'targets': [ |
| 354 { | 330 { |
| 355 'target_name': 'chrome_child_dll', | 331 'target_name': 'chrome_child_dll', |
| 356 'type': 'shared_library', | 332 'type': 'shared_library', |
| 357 'product_name': 'chrome_child', | 333 'product_name': 'chrome_child', |
| 358 'variables': { | 334 'variables': { |
| 359 'enable_wexit_time_destructors': 1, | 335 'enable_wexit_time_destructors': 1, |
| 360 }, | 336 }, |
| 361 'dependencies': [ | 337 'dependencies': [ |
| (...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 395 }, | 371 }, |
| 396 }], | 372 }], |
| 397 ] | 373 ] |
| 398 }], | 374 }], |
| 399 ], | 375 ], |
| 400 }, # target chrome_child_dll | 376 }, # target chrome_child_dll |
| 401 ], | 377 ], |
| 402 }], | 378 }], |
| 403 ], | 379 ], |
| 404 } | 380 } |
| OLD | NEW |