| 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 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 'target_name': 'chrome', | 8 'target_name': 'chrome', |
| 9 'type': 'none', |
| 10 'dependencies': [ 'chrome_initial', ], |
| 11 'conditions': [ |
| 12 ['OS == "win"', { |
| 13 'actions': [ |
| 14 { |
| 15 'variables': { |
| 16 'reorder_py_path': '<(DEPTH)/build/win/reorder-imports.py', |
| 17 'exe_input_path':'$(OutDir)\\initial', |
| 18 'exe_output_path':'<(PRODUCT_DIR)', |
| 19 }, |
| 20 'action_name': 'reorder_imports', |
| 21 'inputs': [ |
| 22 '<(reorder_py_path)', |
| 23 ], |
| 24 'outputs': [ |
| 25 '<(PRODUCT_DIR)\\chrome.exe', |
| 26 '<(PRODUCT_DIR)\\chrome.exe.pdb', |
| 27 ], |
| 28 'action': [ |
| 29 'python', |
| 30 '<(reorder_py_path)', |
| 31 '-i', '<(exe_input_path)', |
| 32 '-o', '<(exe_output_path)', |
| 33 ], |
| 34 'message': 'Reordering Imports', |
| 35 }, |
| 36 ], |
| 37 }], |
| 38 ], |
| 39 }, |
| 40 { |
| 41 'target_name': 'chrome_initial', |
| 42 'product_name': 'chrome', |
| 9 'type': 'executable', | 43 'type': 'executable', |
| 10 'mac_bundle': 1, | 44 'mac_bundle': 1, |
| 11 'variables': { | 45 'variables': { |
| 12 'use_system_xdg_utils%': 0, | 46 'use_system_xdg_utils%': 0, |
| 13 'enable_wexit_time_destructors': 1, | 47 'enable_wexit_time_destructors': 1, |
| 14 }, | 48 }, |
| 15 'sources': [ | 49 'sources': [ |
| 16 'app/chrome_exe_main_aura.cc', | 50 'app/chrome_exe_main_aura.cc', |
| 17 'app/chrome_exe_main_gtk.cc', | 51 'app/chrome_exe_main_gtk.cc', |
| 18 'app/chrome_exe_main_mac.cc', | 52 'app/chrome_exe_main_mac.cc', |
| (...skipping 442 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 461 '../components/nacl.gyp:nacl_helper', | 495 '../components/nacl.gyp:nacl_helper', |
| 462 ], | 496 ], |
| 463 }], | 497 }], |
| 464 ], | 498 ], |
| 465 'dependencies': [ | 499 'dependencies': [ |
| 466 '../sandbox/sandbox.gyp:sandbox', | 500 '../sandbox/sandbox.gyp:sandbox', |
| 467 ], | 501 ], |
| 468 }], | 502 }], |
| 469 ['OS=="win"', { | 503 ['OS=="win"', { |
| 470 'dependencies': [ | 504 'dependencies': [ |
| 471 # Note that chrome_elf must be listed first. Do not reorder it. | |
| 472 '../chrome_elf/chrome_elf.gyp:chrome_elf', | |
| 473 'chrome_dll', | 505 'chrome_dll', |
| 474 'chrome_nacl_win64', | 506 'chrome_nacl_win64', |
| 475 'chrome_process_finder', | 507 'chrome_process_finder', |
| 476 'chrome_version_resources', | 508 'chrome_version_resources', |
| 477 'installer_util', | 509 'installer_util', |
| 478 'image_pre_reader', | 510 'image_pre_reader', |
| 479 '../base/base.gyp:base', | 511 '../base/base.gyp:base', |
| 480 '../breakpad/breakpad.gyp:breakpad_handler', | 512 '../breakpad/breakpad.gyp:breakpad_handler', |
| 481 '../breakpad/breakpad.gyp:breakpad_sender', | 513 '../breakpad/breakpad.gyp:breakpad_sender', |
| 482 '../components/components.gyp:breakpad_component', | 514 '../components/components.gyp:breakpad_component', |
| 483 '../components/components.gyp:policy', | 515 '../components/components.gyp:policy', |
| 516 '../chrome_elf/chrome_elf.gyp:chrome_elf', |
| 484 '../sandbox/sandbox.gyp:sandbox', | 517 '../sandbox/sandbox.gyp:sandbox', |
| 485 ], | 518 ], |
| 486 'sources': [ | 519 'sources': [ |
| 487 'app/chrome_breakpad_client.cc', | 520 'app/chrome_breakpad_client.cc', |
| 488 'app/chrome_breakpad_client.h', | 521 'app/chrome_breakpad_client.h', |
| 489 'app/chrome_exe.rc', | 522 'app/chrome_exe.rc', |
| 490 'common/crash_keys.cc', | 523 'common/crash_keys.cc', |
| 491 'common/crash_keys.h', | 524 'common/crash_keys.h', |
| 492 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_exe_version.rc', | 525 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_exe_version.rc', |
| 493 ], | 526 ], |
| 494 'msvs_settings': { | 527 'msvs_settings': { |
| 495 'VCLinkerTool': { | 528 'VCLinkerTool': { |
| 496 'ImportLibrary': '$(OutDir)\\lib\\chrome_exe.lib', | 529 'ImportLibrary': '$(OutDir)\\lib\\chrome_exe.lib', |
| 530 'OutputFile': '$(OutDir)\\initial\\chrome.exe', |
| 497 'DelayLoadDLLs': [ | 531 'DelayLoadDLLs': [ |
| 498 'dbghelp.dll', | 532 'dbghelp.dll', |
| 499 'dwmapi.dll', | 533 'dwmapi.dll', |
| 500 'uxtheme.dll', | 534 'uxtheme.dll', |
| 501 'ole32.dll', | 535 'ole32.dll', |
| 502 'oleaut32.dll', | 536 'oleaut32.dll', |
| 503 ], | 537 ], |
| 504 'AdditionalDependencies': [ 'wintrust.lib' ], | 538 'AdditionalDependencies': [ 'wintrust.lib' ], |
| 505 # Set /SUBSYSTEM:WINDOWS for chrome.exe itself. | 539 # Set /SUBSYSTEM:WINDOWS for chrome.exe itself. |
| 506 'SubSystem': '2', | 540 'SubSystem': '2', |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 655 'dependencies': [ | 689 'dependencies': [ |
| 656 'chrome_nacl_win64', | 690 'chrome_nacl_win64', |
| 657 ], | 691 ], |
| 658 }], | 692 }], |
| 659 ], | 693 ], |
| 660 }, | 694 }, |
| 661 ], | 695 ], |
| 662 }], | 696 }], |
| 663 ], | 697 ], |
| 664 } | 698 } |
| OLD | NEW |