| 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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 '$(OutDir)\\chrome.dll.pdb'], | 61 '$(OutDir)\\chrome.dll.pdb'], |
| 62 'msvs_cygwin_shell': 0, | 62 'msvs_cygwin_shell': 0, |
| 63 } | 63 } |
| 64 ] | 64 ] |
| 65 }] | 65 }] |
| 66 ], | 66 ], |
| 67 }], | 67 }], |
| 68 ] | 68 ] |
| 69 }, | 69 }, |
| 70 { | 70 { |
| 71 # This target is only depended upon on Windows. |
| 72 'target_name': 'chrome_dll_pdb_workaround', |
| 73 'type': 'static_library', |
| 74 'sources': [ 'empty_pdb_workaround.cc' ], |
| 75 'msvs_settings': { |
| 76 'VCCLCompilerTool': { |
| 77 # This *in the compile phase* must match the pdb name that's |
| 78 # output by the final link. See empty_pdb_workaround.cc for |
| 79 # more details. |
| 80 'DebugInformationFormat': '3', |
| 81 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/chrome.dll.pdb', |
| 82 }, |
| 83 }, |
| 84 }, |
| 85 { |
| 71 'target_name': 'chrome_main_dll', | 86 'target_name': 'chrome_main_dll', |
| 72 'type': 'shared_library', | 87 'type': 'shared_library', |
| 73 'variables': { | 88 'variables': { |
| 74 'enable_wexit_time_destructors': 1, | 89 'enable_wexit_time_destructors': 1, |
| 75 }, | 90 }, |
| 76 'dependencies': [ | 91 'dependencies': [ |
| 77 '<@(chromium_dependencies)', | 92 '<@(chromium_dependencies)', |
| 78 'app/policy/cloud_policy_codegen.gyp:policy', | 93 'app/policy/cloud_policy_codegen.gyp:policy', |
| 79 ], | 94 ], |
| 80 'conditions': [ | 95 'conditions': [ |
| 81 ['use_aura==1', { | 96 ['use_aura==1', { |
| 82 'dependencies': [ | 97 'dependencies': [ |
| 83 '../ui/compositor/compositor.gyp:compositor', | 98 '../ui/compositor/compositor.gyp:compositor', |
| 84 ], | 99 ], |
| 85 }], | 100 }], |
| 86 ['use_ash==1', { | 101 ['use_ash==1', { |
| 87 'sources': [ | 102 'sources': [ |
| 88 '<(SHARED_INTERMEDIATE_DIR)/ash/ash_resources/ash_wallpaper_reso
urces.rc', | 103 '<(SHARED_INTERMEDIATE_DIR)/ash/ash_resources/ash_wallpaper_reso
urces.rc', |
| 89 ], | 104 ], |
| 90 }], | 105 }], |
| 91 ['OS=="win"', { | 106 ['OS=="win"', { |
| 92 'product_name': 'chrome', | 107 'product_name': 'chrome', |
| 93 'dependencies': [ | 108 'dependencies': [ |
| 94 # On Windows, link the dependencies (libraries) that make | 109 # On Windows, link the dependencies (libraries) that make |
| 95 # up actual Chromium functionality into this .dll. | 110 # up actual Chromium functionality into this .dll. |
| 111 'chrome_dll_pdb_workaround', |
| 96 'chrome_resources.gyp:chrome_resources', | 112 'chrome_resources.gyp:chrome_resources', |
| 97 'chrome_version_resources', | 113 'chrome_version_resources', |
| 98 '../chrome/chrome_resources.gyp:chrome_unscaled_resources', | 114 '../chrome/chrome_resources.gyp:chrome_unscaled_resources', |
| 99 '../content/content.gyp:content_worker', | 115 '../content/content.gyp:content_worker', |
| 100 '../crypto/crypto.gyp:crypto', | 116 '../crypto/crypto.gyp:crypto', |
| 101 '../printing/printing.gyp:printing', | 117 '../printing/printing.gyp:printing', |
| 102 '../net/net.gyp:net_resources', | 118 '../net/net.gyp:net_resources', |
| 103 '../third_party/cld/cld.gyp:cld', | 119 '../third_party/cld/cld.gyp:cld', |
| 104 '../ui/views/views.gyp:views', | 120 '../ui/views/views.gyp:views', |
| 105 '../webkit/support/webkit_support.gyp:webkit_resources', | 121 '../webkit/support/webkit_support.gyp:webkit_resources', |
| (...skipping 155 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 ], | 277 ], |
| 262 }], | 278 }], |
| 263 ], # conditions | 279 ], # conditions |
| 264 }], # OS=="mac" | 280 }], # OS=="mac" |
| 265 ], # conditions | 281 ], # conditions |
| 266 }, # target chrome_dll | 282 }, # target chrome_dll |
| 267 ], # targets | 283 ], # targets |
| 268 }], # OS=="mac" or OS=="win" | 284 }], # OS=="mac" or OS=="win" |
| 269 ], | 285 ], |
| 270 } | 286 } |
| OLD | NEW |