Chromium Code Reviews| 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 ], | |
| 80 'dependencies': [ | 94 'dependencies': [ |
| 81 '<@(chromium_browser_dependencies)', | 95 '<@(chromium_browser_dependencies)', |
| 82 '../content/content.gyp:content_app_browser', | 96 '../content/content.gyp:content_app_browser', |
| 83 ], | 97 ], |
| 84 'conditions': [ | 98 'conditions': [ |
| 85 ['OS=="win"', { | 99 ['OS=="win"', { |
| 86 'dependencies': [ | 100 'dependencies': [ |
| 87 '<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_elf', | 101 '<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_elf', |
| 88 ], | 102 ], |
| 89 }], | 103 }], |
| (...skipping 20 matching lines...) Expand all Loading... | |
| 110 # On Windows, link the dependencies (libraries) that make | 124 # On Windows, link the dependencies (libraries) that make |
| 111 # up actual Chromium functionality into this .dll. | 125 # up actual Chromium functionality into this .dll. |
| 112 'chrome_version_resources', | 126 'chrome_version_resources', |
| 113 '../chrome/chrome_resources.gyp:chrome_unscaled_resources', | 127 '../chrome/chrome_resources.gyp:chrome_unscaled_resources', |
| 114 '../content/app/resources/content_resources.gyp:content_resource s', | 128 '../content/app/resources/content_resources.gyp:content_resource s', |
| 115 '../crypto/crypto.gyp:crypto', | 129 '../crypto/crypto.gyp:crypto', |
| 116 '../net/net.gyp:net_resources', | 130 '../net/net.gyp:net_resources', |
| 117 '../ui/views/views.gyp:views', | 131 '../ui/views/views.gyp:views', |
| 118 ], | 132 ], |
| 119 'sources': [ | 133 'sources': [ |
| 120 'app/chrome_command_ids.h', | |
| 121 'app/chrome_dll.rc', | 134 'app/chrome_dll.rc', |
| 122 'app/chrome_dll_resource.h', | 135 |
| 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 | |
| 129 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_dll_version.rc ', | 136 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_dll_version.rc ', |
| 130 '../base/win/dllmain.cc', | |
| 131 | 137 |
| 132 # Cursors. | 138 # Cursors. |
| 133 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.r c', | 139 '<(SHARED_INTERMEDIATE_DIR)/ui/resources/ui_unscaled_resources.r c', |
| 134 ], | 140 ], |
| 135 'include_dirs': [ | 141 'include_dirs': [ |
| 136 '<(DEPTH)/third_party/wtl/include', | 142 '<(DEPTH)/third_party/wtl/include', |
| 137 ], | 143 ], |
| 138 'configurations': { | 144 'configurations': { |
| 139 'Debug_Base': { | 145 'Debug_Base': { |
| 140 'msvs_settings': { | 146 'msvs_settings': { |
| (...skipping 124 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 265 }], | 271 }], |
| 266 ['OS=="mac" and component=="shared_library"', { | 272 ['OS=="mac" and component=="shared_library"', { |
| 267 'xcode_settings': { 'OTHER_LDFLAGS': [ '-Wl,-ObjC' ], }, | 273 'xcode_settings': { 'OTHER_LDFLAGS': [ '-Wl,-ObjC' ], }, |
| 268 }], | 274 }], |
| 269 ['OS=="mac"', { | 275 ['OS=="mac"', { |
| 270 'xcode_settings': { | 276 'xcode_settings': { |
| 271 # Define the order of symbols within the framework. This | 277 # Define the order of symbols within the framework. This |
| 272 # sets -order_file. | 278 # sets -order_file. |
| 273 'ORDER_FILE': 'app/framework.order', | 279 'ORDER_FILE': 'app/framework.order', |
| 274 }, | 280 }, |
| 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 ], | |
| 284 'dependencies': [ | 281 'dependencies': [ |
| 285 '../pdf/pdf.gyp:pdf', | 282 '../pdf/pdf.gyp:pdf', |
| 286 ], | 283 ], |
| 287 'include_dirs': [ | 284 'include_dirs': [ |
| 288 '<(grit_out_dir)', | 285 '<(grit_out_dir)', |
| 289 ], | 286 ], |
| 290 'postbuilds': [ | 287 'postbuilds': [ |
| 291 { | 288 { |
| 292 # This step causes an error to be raised if the .order file | 289 # This step causes an error to be raised if the .order file |
| 293 # does not account for all global text symbols. It | 290 # does not account for all global text symbols. It |
| 294 # validates the completeness of the .order file. | 291 # validates the completeness of the .order file. |
| 295 'postbuild_name': 'Verify global text symbol order', | 292 'postbuild_name': 'Verify global text symbol order', |
| 296 'variables': { | 293 'variables': { |
| 297 'verify_order_path': 'tools/build/mac/verify_order', | 294 'verify_order_path': 'tools/build/mac/verify_order', |
| 298 }, | 295 }, |
| 299 'action': [ | 296 'action': [ |
| 300 '<(verify_order_path)', | 297 '<(verify_order_path)', |
| 301 '_ChromeMain', | 298 '_ChromeMain', |
| 302 '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}', | 299 '${BUILT_PRODUCTS_DIR}/${EXECUTABLE_PATH}', |
| 303 ], | 300 ], |
| 304 }, | 301 }, |
| 305 ], | 302 ], |
| 306 'conditions': [ | 303 'conditions': [ |
| 307 ['mac_breakpad_compiled_in==1', { | 304 ['mac_breakpad_compiled_in==1', { |
| 308 'dependencies': [ | 305 'dependencies': [ |
| 309 '../breakpad/breakpad.gyp:breakpad', | 306 '../breakpad/breakpad.gyp:breakpad', |
| 310 '../components/components.gyp:crash_component', | 307 '../components/components.gyp:crash_component', |
|
sky
2014/09/04 02:49:58
What are you doing this change?
rvargas (doing something else)
2014/09/04 03:12:27
yeah, diff vs PS1 doesn't work that well here beca
| |
| 311 '../components/components.gyp:policy', | 308 '../components/components.gyp:policy', |
| 312 ], | 309 ], |
| 313 'sources': [ | 310 'sources': [ |
| 314 'app/chrome_breakpad_client.cc', | 311 'app/chrome_breakpad_client.cc', |
| 315 'app/chrome_breakpad_client.h', | 312 'app/chrome_breakpad_client.h', |
| 316 'app/chrome_breakpad_client_mac.mm', | 313 'app/chrome_breakpad_client_mac.mm', |
| 317 ], | 314 ], |
| 318 }, { # else: mac_breakpad_compiled_in!=1 | 315 }, { # else: mac_breakpad_compiled_in!=1 |
| 319 # No Breakpad, put in the stubs. | 316 # No Breakpad, put in the stubs. |
| 320 'dependencies': [ | 317 'dependencies': [ |
| (...skipping 22 matching lines...) Expand all Loading... | |
| 343 'policy_path_parser', | 340 'policy_path_parser', |
| 344 ], | 341 ], |
| 345 'defines': [ | 342 'defines': [ |
| 346 'CHROME_MULTIPLE_DLL_CHILD', | 343 'CHROME_MULTIPLE_DLL_CHILD', |
| 347 ], | 344 ], |
| 348 'sources': [ | 345 'sources': [ |
| 349 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_dll_version.rc', | 346 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_dll_version.rc', |
| 350 'app/chrome_main.cc', | 347 'app/chrome_main.cc', |
| 351 'app/chrome_main_delegate.cc', | 348 'app/chrome_main_delegate.cc', |
| 352 'app/chrome_main_delegate.h', | 349 'app/chrome_main_delegate.h', |
| 350 'app/close_handle_hook_win.cc', | |
| 351 'app/close_handle_hook_win.h', | |
| 353 ], | 352 ], |
| 354 'conditions': [ | 353 'conditions': [ |
| 355 ['OS=="win"', { | 354 ['OS=="win"', { |
| 356 'dependencies': [ | 355 'dependencies': [ |
| 357 '<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_elf', | 356 '<(DEPTH)/chrome_elf/chrome_elf.gyp:chrome_elf', |
| 358 ], | 357 ], |
| 359 'conditions': [ | 358 'conditions': [ |
| 360 ['chrome_pgo_phase==1', { | 359 ['chrome_pgo_phase==1', { |
| 361 'msvs_settings': { | 360 'msvs_settings': { |
| 362 'VCLinkerTool': { | 361 'VCLinkerTool': { |
| 363 'LinkTimeCodeGeneration': '2', | 362 'LinkTimeCodeGeneration': '2', |
| 364 }, | 363 }, |
| 365 }, | 364 }, |
| 366 }], | 365 }], |
| 367 ['chrome_pgo_phase==2', { | 366 ['chrome_pgo_phase==2', { |
| 368 'msvs_settings': { | 367 'msvs_settings': { |
| 369 'VCLinkerTool': { | 368 'VCLinkerTool': { |
| 370 'LinkTimeCodeGeneration': '3', | 369 'LinkTimeCodeGeneration': '3', |
| 371 }, | 370 }, |
| 372 }, | 371 }, |
| 373 }], | 372 }], |
| 374 ] | 373 ] |
| 375 }], | 374 }], |
| 376 ], | 375 ], |
| 377 }, # target chrome_child_dll | 376 }, # target chrome_child_dll |
| 378 ], | 377 ], |
| 379 }], | 378 }], |
| 380 ], | 379 ], |
| 381 } | 380 } |
| OLD | NEW |