| 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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 70 }], | 70 }], |
| 71 ] | 71 ] |
| 72 }, | 72 }, |
| 73 { | 73 { |
| 74 # GN version: //chrome:main_dll | 74 # GN version: //chrome:main_dll |
| 75 'target_name': 'chrome_main_dll', | 75 'target_name': 'chrome_main_dll', |
| 76 'type': 'shared_library', | 76 'type': 'shared_library', |
| 77 'variables': { | 77 'variables': { |
| 78 'enable_wexit_time_destructors': 1, | 78 'enable_wexit_time_destructors': 1, |
| 79 }, | 79 }, |
| 80 'sources': [ | |
| 81 'app/chrome_command_ids.h', | |
| 82 'app/chrome_dll_resource.h', | |
| 83 'app/chrome_main.cc', | |
| 84 'app/chrome_main_delegate.cc', | |
| 85 'app/chrome_main_delegate.h', | |
| 86 'app/chrome_main_mac.mm', | |
| 87 'app/chrome_main_mac.h', | |
| 88 'app/close_handle_hook_win.cc', | |
| 89 'app/close_handle_hook_win.h', | |
| 90 'app/delay_load_hook_win.cc', | |
| 91 'app/delay_load_hook_win.h', | |
| 92 '../base/win/dllmain.cc', | |
| 93 ], | |
| 94 'dependencies': [ | 80 'dependencies': [ |
| 95 '<@(chromium_browser_dependencies)', | 81 '<@(chromium_browser_dependencies)', |
| 96 '../content/content.gyp:content_app_browser', | 82 '../content/content.gyp:content_app_browser', |
| 97 ], | 83 ], |
| 98 'conditions': [ | 84 'conditions': [ |
| 99 ['OS=="win"', { | 85 ['OS=="win"', { |
| 100 'dependencies': [ | 86 'dependencies': [ |
| 101 '<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_elf', | 87 '<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_elf', |
| 102 ], | 88 ], |
| 103 }], | 89 }], |
| (...skipping 20 matching lines...) Expand all Loading... |
| 124 # On Windows, link the dependencies (libraries) that make | 110 # On Windows, link the dependencies (libraries) that make |
| 125 # up actual Chromium functionality into this .dll. | 111 # up actual Chromium functionality into this .dll. |
| 126 'chrome_version_resources', | 112 'chrome_version_resources', |
| 127 '../chrome/chrome_resources.gyp:chrome_unscaled_resources', | 113 '../chrome/chrome_resources.gyp:chrome_unscaled_resources', |
| 128 '../content/app/resources/content_resources.gyp:content_resource
s', | 114 '../content/app/resources/content_resources.gyp:content_resource
s', |
| 129 '../crypto/crypto.gyp:crypto', | 115 '../crypto/crypto.gyp:crypto', |
| 130 '../net/net.gyp:net_resources', | 116 '../net/net.gyp:net_resources', |
| 131 '../ui/views/views.gyp:views', | 117 '../ui/views/views.gyp:views', |
| 132 ], | 118 ], |
| 133 'sources': [ | 119 'sources': [ |
| 120 'app/chrome_command_ids.h', |
| 134 'app/chrome_dll.rc', | 121 'app/chrome_dll.rc', |
| 135 | 122 'app/chrome_dll_resource.h', |
| 123 'app/chrome_main.cc', |
| 124 'app/chrome_main_delegate.cc', |
| 125 'app/chrome_main_delegate.h', |
| 126 'app/delay_load_hook_win.cc', |
| 127 'app/delay_load_hook_win.h', |
| 128 |
| 136 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_dll_version.rc
', | 129 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_dll_version.rc
', |
| 130 '../base/win/dllmain.cc', |
| 137 | 131 |
| 138 # Cursors. | 132 # Cursors. |
| 139 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.r
c', | 133 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.r
c', |
| 140 ], | 134 ], |
| 141 'include_dirs': [ | 135 'include_dirs': [ |
| 142 '<(DEPTH)/third_party/wtl/include', | 136 '<(DEPTH)/third_party/wtl/include', |
| 143 ], | 137 ], |
| 144 'configurations': { | 138 'configurations': { |
| 145 'Debug_Base': { | 139 'Debug_Base': { |
| 146 'msvs_settings': { | 140 'msvs_settings': { |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 271 }], | 265 }], |
| 272 ['OS=="mac" and component=="shared_library"', { | 266 ['OS=="mac" and component=="shared_library"', { |
| 273 'xcode_settings': { 'OTHER_LDFLAGS': [ '-Wl,-ObjC' ], }, | 267 'xcode_settings': { 'OTHER_LDFLAGS': [ '-Wl,-ObjC' ], }, |
| 274 }], | 268 }], |
| 275 ['OS=="mac"', { | 269 ['OS=="mac"', { |
| 276 'xcode_settings': { | 270 'xcode_settings': { |
| 277 # Define the order of symbols within the framework. This | 271 # Define the order of symbols within the framework. This |
| 278 # sets -order_file. | 272 # sets -order_file. |
| 279 'ORDER_FILE': 'app/framework.order', | 273 'ORDER_FILE': 'app/framework.order', |
| 280 }, | 274 }, |
| 275 'sources': [ |
| 276 'app/chrome_command_ids.h', |
| 277 'app/chrome_dll_resource.h', |
| 278 'app/chrome_main.cc', |
| 279 'app/chrome_main_delegate.cc', |
| 280 'app/chrome_main_delegate.h', |
| 281 'app/chrome_main_mac.mm', |
| 282 'app/chrome_main_mac.h', |
| 283 ], |
| 281 'dependencies': [ | 284 'dependencies': [ |
| 282 '../pdf/pdf.gyp:pdf', | 285 '../pdf/pdf.gyp:pdf', |
| 283 ], | 286 ], |
| 284 'include_dirs': [ | 287 'include_dirs': [ |
| 285 '<(grit_out_dir)', | 288 '<(grit_out_dir)', |
| 286 ], | 289 ], |
| 287 'postbuilds': [ | 290 'postbuilds': [ |
| 288 { | 291 { |
| 289 # This step causes an error to be raised if the .order file | 292 # This step causes an error to be raised if the .order file |
| 290 # does not account for all global text symbols. It | 293 # does not account for all global text symbols. It |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 340 'policy_path_parser', | 343 'policy_path_parser', |
| 341 ], | 344 ], |
| 342 'defines': [ | 345 'defines': [ |
| 343 'CHROME_MULTIPLE_DLL_CHILD', | 346 'CHROME_MULTIPLE_DLL_CHILD', |
| 344 ], | 347 ], |
| 345 'sources': [ | 348 'sources': [ |
| 346 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_dll_version.rc', | 349 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_dll_version.rc', |
| 347 'app/chrome_main.cc', | 350 'app/chrome_main.cc', |
| 348 'app/chrome_main_delegate.cc', | 351 'app/chrome_main_delegate.cc', |
| 349 'app/chrome_main_delegate.h', | 352 'app/chrome_main_delegate.h', |
| 350 'app/close_handle_hook_win.cc', | |
| 351 'app/close_handle_hook_win.h', | |
| 352 ], | 353 ], |
| 353 'conditions': [ | 354 'conditions': [ |
| 354 ['OS=="win"', { | 355 ['OS=="win"', { |
| 355 'dependencies': [ | 356 'dependencies': [ |
| 356 '<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_elf', | 357 '<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_elf', |
| 357 ], | 358 ], |
| 358 'conditions': [ | 359 'conditions': [ |
| 359 ['chrome_pgo_phase==1', { | 360 ['chrome_pgo_phase==1', { |
| 360 'msvs_settings': { | 361 'msvs_settings': { |
| 361 'VCLinkerTool': { | 362 'VCLinkerTool': { |
| 362 'LinkTimeCodeGeneration': '2', | 363 'LinkTimeCodeGeneration': '2', |
| 363 }, | 364 }, |
| 364 }, | 365 }, |
| 365 }], | 366 }], |
| 366 ['chrome_pgo_phase==2', { | 367 ['chrome_pgo_phase==2', { |
| 367 'msvs_settings': { | 368 'msvs_settings': { |
| 368 'VCLinkerTool': { | 369 'VCLinkerTool': { |
| 369 'LinkTimeCodeGeneration': '3', | 370 'LinkTimeCodeGeneration': '3', |
| 370 }, | 371 }, |
| 371 }, | 372 }, |
| 372 }], | 373 }], |
| 373 ] | 374 ] |
| 374 }], | 375 }], |
| 375 ], | 376 ], |
| 376 }, # target chrome_child_dll | 377 }, # target chrome_child_dll |
| 377 ], | 378 ], |
| 378 }], | 379 }], |
| 379 ], | 380 ], |
| 380 } | 381 } |
| OLD | NEW |