| 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', |
| 11 'dependencies': [ | 11 'dependencies': [ |
| 12 'chrome_main_dll', | 12 'chrome_main_dll', |
| 13 ], | 13 ], |
| 14 'conditions': [ | 14 'conditions': [ |
| 15 ['OS=="mac" and component=="shared_library"', { | 15 ['OS=="mac" and component=="shared_library"', { |
| 16 'type': 'shared_library', | 16 'type': 'shared_library', |
| 17 'includes': [ 'chrome_dll_bundle.gypi' ], | 17 'includes': [ 'chrome_dll_bundle.gypi' ], |
| 18 'xcode_settings': { | 18 'xcode_settings': { |
| 19 'OTHER_LDFLAGS': [ | 19 'OTHER_LDFLAGS': [ |
| 20 '-Wl,-reexport_library,<(PRODUCT_DIR)/libchrome_main_dll.dylib
', | 20 '-Wl,-reexport_library,<(PRODUCT_DIR)/libchrome_main_dll.dylib
', |
| 21 ], | 21 ], |
| 22 }, | 22 }, |
| 23 }], # OS=="mac" | 23 }], # OS=="mac" |
| 24 ['chrome_multiple_dll==1', { | |
| 25 'dependencies': [ | |
| 26 'chrome_child_dll', | |
| 27 ], | |
| 28 }], | |
| 29 ['incremental_chrome_dll==1', { | 24 ['incremental_chrome_dll==1', { |
| 30 # Linking to a different directory and then hardlinking back | 25 # Linking to a different directory and then hardlinking back |
| 31 # to OutDir is a workaround to avoid having the .ilk for | 26 # to OutDir is a workaround to avoid having the .ilk for |
| 32 # chrome.exe and chrome.dll conflicting. See crbug.com/92528 | 27 # chrome.exe and chrome.dll conflicting. See crbug.com/92528 |
| 33 # for more information. Done on the dll instead of the exe so | 28 # for more information. Done on the dll instead of the exe so |
| 34 # that people launching from VS don't need to modify | 29 # that people launching from VS don't need to modify |
| 35 # $(TargetPath) for the exe. | 30 # $(TargetPath) for the exe. |
| 36 'actions': [ | 31 'actions': [ |
| 37 { | 32 { |
| 38 'action_name': 'hardlink_to_output', | 33 'action_name': 'hardlink_to_output', |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 ] | 68 ] |
| 74 }, | 69 }, |
| 75 { | 70 { |
| 76 'target_name': 'chrome_main_dll', | 71 'target_name': 'chrome_main_dll', |
| 77 'type': 'shared_library', | 72 'type': 'shared_library', |
| 78 'variables': { | 73 'variables': { |
| 79 'enable_wexit_time_destructors': 1, | 74 'enable_wexit_time_destructors': 1, |
| 80 }, | 75 }, |
| 81 'dependencies': [ | 76 'dependencies': [ |
| 82 '<@(chromium_browser_dependencies)', | 77 '<@(chromium_browser_dependencies)', |
| 78 '<@(chromium_child_dependencies)', |
| 79 '../content/content.gyp:content_worker', |
| 83 'app/policy/cloud_policy_codegen.gyp:policy', | 80 'app/policy/cloud_policy_codegen.gyp:policy', |
| 84 ], | 81 ], |
| 85 'conditions': [ | 82 'conditions': [ |
| 86 ['use_aura==1', { | 83 ['use_aura==1', { |
| 87 'dependencies': [ | 84 'dependencies': [ |
| 88 '../ui/compositor/compositor.gyp:compositor', | 85 '../ui/compositor/compositor.gyp:compositor', |
| 89 ], | 86 ], |
| 90 }], | 87 }], |
| 91 ['OS=="win" and target_arch=="ia32"', { | 88 ['OS=="win" and target_arch=="ia32"', { |
| 92 # Add a dependency to custom import library for user32 delay | 89 # Add a dependency to custom import library for user32 delay |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 'wininet.dll', | 214 'wininet.dll', |
| 218 'winspool.drv', | 215 'winspool.drv', |
| 219 'ws2_32.dll', | 216 'ws2_32.dll', |
| 220 'wsock32.dll', | 217 'wsock32.dll', |
| 221 ], | 218 ], |
| 222 }, | 219 }, |
| 223 'VCManifestTool': { | 220 'VCManifestTool': { |
| 224 'AdditionalManifestFiles': '$(ProjectDir)\\app\\chrome.dll.man
ifest', | 221 'AdditionalManifestFiles': '$(ProjectDir)\\app\\chrome.dll.man
ifest', |
| 225 }, | 222 }, |
| 226 }, | 223 }, |
| 227 }], | 224 }], # OS=="win" |
| 228 ['chrome_multiple_dll==1', { | |
| 229 'defines': [ | |
| 230 'CHROME_MULTIPLE_DLL_BROWSER', | |
| 231 ], | |
| 232 }, { | |
| 233 'dependencies': [ | |
| 234 '<@(chromium_child_dependencies)', | |
| 235 '../content/content.gyp:content_worker', | |
| 236 ], | |
| 237 }], | |
| 238 ['OS=="mac" and component!="shared_library"', { | 225 ['OS=="mac" and component!="shared_library"', { |
| 239 'includes': [ 'chrome_dll_bundle.gypi' ], | 226 'includes': [ 'chrome_dll_bundle.gypi' ], |
| 240 }], | 227 }], |
| 241 ['OS=="mac" and component=="shared_library"', { | 228 ['OS=="mac" and component=="shared_library"', { |
| 242 'xcode_settings': { 'OTHER_LDFLAGS': [ '-Wl,-ObjC' ], }, | 229 'xcode_settings': { 'OTHER_LDFLAGS': [ '-Wl,-ObjC' ], }, |
| 243 }], | 230 }], |
| 231 ['chrome_split_dll', { |
| 232 'sources': [ |
| 233 # See comment in .cc for explanation. |
| 234 'split_dll_fake_entry.cc', |
| 235 ], |
| 236 'msvs_settings': { |
| 237 'VCLinkerTool': { |
| 238 'AdditionalOptions': ['/splitlink'], |
| 239 }, |
| 240 } |
| 241 }], |
| 244 ['OS=="mac"', { | 242 ['OS=="mac"', { |
| 245 'xcode_settings': { | 243 'xcode_settings': { |
| 246 # Define the order of symbols within the framework. This | 244 # Define the order of symbols within the framework. This |
| 247 # sets -order_file. | 245 # sets -order_file. |
| 248 'ORDER_FILE': 'app/framework.order', | 246 'ORDER_FILE': 'app/framework.order', |
| 249 }, | 247 }, |
| 250 'sources': [ | 248 'sources': [ |
| 251 'app/chrome_command_ids.h', | 249 'app/chrome_command_ids.h', |
| 252 'app/chrome_dll_resource.h', | 250 'app/chrome_dll_resource.h', |
| 253 'app/chrome_main.cc', | 251 'app/chrome_main.cc', |
| (...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 325 # more details. | 323 # more details. |
| 326 'DebugInformationFormat': '3', | 324 'DebugInformationFormat': '3', |
| 327 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/chrome.dll.pdb', | 325 'ProgramDataBaseFileName': '<(PRODUCT_DIR)/chrome.dll.pdb', |
| 328 }, | 326 }, |
| 329 }, | 327 }, |
| 330 }], | 328 }], |
| 331 ], | 329 ], |
| 332 }, | 330 }, |
| 333 ], | 331 ], |
| 334 }], | 332 }], |
| 335 ['chrome_multiple_dll', { | |
| 336 'targets': [ | |
| 337 { | |
| 338 'target_name': 'chrome_child_dll', | |
| 339 'type': 'shared_library', | |
| 340 'product_name': 'chrome_child', | |
| 341 'variables': { | |
| 342 'enable_wexit_time_destructors': 1, | |
| 343 }, | |
| 344 'dependencies': [ | |
| 345 '<@(chromium_child_dependencies)', | |
| 346 '../content/content.gyp:content_worker', | |
| 347 'policy_path_parser', | |
| 348 ], | |
| 349 'defines': [ | |
| 350 'CHROME_MULTIPLE_DLL_CHILD', | |
| 351 ], | |
| 352 'sources': [ | |
| 353 'app/chrome_main.cc', | |
| 354 'app/chrome_main_delegate.cc', | |
| 355 'app/chrome_main_delegate.h', | |
| 356 ], | |
| 357 }, # target chrome_child_dll | |
| 358 ], | |
| 359 }], | |
| 360 ], | 333 ], |
| 361 } | 334 } |
| OLD | NEW |