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 { | 5 { |
| 6 'targets': [ | 6 'targets': [ |
| 7 { | 7 { |
| 8 # GN version: //chrome | 8 # GN version: //chrome |
| 9 'target_name': 'chrome', | 9 'target_name': 'chrome', |
| 10 'type': 'none', | 10 'type': 'none', |
| (...skipping 80 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 91 }, | 91 }, |
| 92 'conditions': [ | 92 'conditions': [ |
| 93 ['order_text_section!=""', { | 93 ['order_text_section!=""', { |
| 94 'target_conditions' : [ | 94 'target_conditions' : [ |
| 95 ['_toolset=="target"', { | 95 ['_toolset=="target"', { |
| 96 'ldflags': [ | 96 'ldflags': [ |
| 97 '-Wl,-section-ordering-file=<(order_text_section)' ], | 97 '-Wl,-section-ordering-file=<(order_text_section)' ], |
| 98 }], | 98 }], |
| 99 ] | 99 ] |
| 100 }], | 100 }], |
| 101 ['OS == "win"', { | |
|
gab
2016/04/12 19:21:08
Duplicate condition, merged with other one below.
| |
| 102 'dependencies': [ | |
| 103 'chrome_watcher', | |
| 104 'chrome_watcher_client', | |
| 105 '../components/components.gyp:browser_watcher_client', | |
| 106 '../components/components.gyp:crash_component', | |
| 107 ], | |
| 108 'sources': [ | |
| 109 'app/chrome_crash_reporter_client.cc', | |
| 110 'app/chrome_crash_reporter_client.h', | |
| 111 ], | |
| 112 'conditions': [ | |
| 113 ['win_console_app==1', { | |
| 114 'defines': ['WIN_CONSOLE_APP'], | |
| 115 }], | |
| 116 ], | |
| 117 }], | |
| 118 ['OS == "android"', { | 101 ['OS == "android"', { |
| 119 # Don't put the 'chrome' target in 'all' on android | 102 # Don't put the 'chrome' target in 'all' on android |
| 120 'suppress_wildcard': 1, | 103 'suppress_wildcard': 1, |
| 121 }], | 104 }], |
| 122 ['os_posix == 1 and OS != "mac" and OS != "android"', { | 105 ['os_posix == 1 and OS != "mac" and OS != "android"', { |
| 123 'actions': [ | 106 'actions': [ |
| 124 { | 107 { |
| 125 'action_name': 'manpage', | 108 'action_name': 'manpage', |
| 126 'conditions': [ | 109 'conditions': [ |
| 127 [ 'branding == "Chrome"', { | 110 [ 'branding == "Chrome"', { |
| (...skipping 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 401 'dependencies': [ | 384 'dependencies': [ |
| 402 '../sandbox/sandbox.gyp:sandbox', | 385 '../sandbox/sandbox.gyp:sandbox', |
| 403 ], | 386 ], |
| 404 }], | 387 }], |
| 405 ['OS=="win"', { | 388 ['OS=="win"', { |
| 406 'dependencies': [ | 389 'dependencies': [ |
| 407 'chrome_dll', | 390 'chrome_dll', |
| 408 'chrome_nacl_win64', | 391 'chrome_nacl_win64', |
| 409 'chrome_process_finder', | 392 'chrome_process_finder', |
| 410 'chrome_version_resources', | 393 'chrome_version_resources', |
| 394 'chrome_watcher', | |
| 395 'chrome_watcher_client', | |
| 396 'common_constants', | |
|
gab
2016/04/12 19:21:08
GYP-side of " Adding previously missing 'common_co
| |
| 397 'file_pre_reader', | |
| 411 'installer_util', | 398 'installer_util', |
| 412 'file_pre_reader', | 399 'metrics_constants_util_win', |
| 413 '../base/base.gyp:base', | 400 '../base/base.gyp:base', |
| 414 '../crypto/crypto.gyp:crypto', | |
| 415 '../breakpad/breakpad.gyp:breakpad_handler', | 401 '../breakpad/breakpad.gyp:breakpad_handler', |
| 416 '../breakpad/breakpad.gyp:breakpad_sender', | 402 '../breakpad/breakpad.gyp:breakpad_sender', |
| 417 '../chrome_elf/chrome_elf.gyp:chrome_elf', | 403 '../chrome_elf/chrome_elf.gyp:chrome_elf', |
| 404 '../components/components.gyp:browser_watcher_client', | |
| 405 '../components/components.gyp:crash_component', | |
| 418 '../components/components.gyp:crash_component', | 406 '../components/components.gyp:crash_component', |
| 419 '../components/components.gyp:crash_core_common', | 407 '../components/components.gyp:crash_core_common', |
| 420 '../components/components.gyp:flags_ui_switches', | 408 '../components/components.gyp:flags_ui_switches', |
| 421 '../components/components.gyp:policy', | 409 '../components/components.gyp:policy', |
| 422 '../components/components.gyp:startup_metric_utils_common', | 410 '../components/components.gyp:startup_metric_utils_common', |
| 411 '../crypto/crypto.gyp:crypto', | |
| 423 '../sandbox/sandbox.gyp:sandbox', | 412 '../sandbox/sandbox.gyp:sandbox', |
| 424 '../third_party/kasko/kasko.gyp:kasko_features', | 413 '../third_party/kasko/kasko.gyp:kasko_features', |
| 425 '../ui/gfx/gfx.gyp:gfx', | 414 '../ui/gfx/gfx.gyp:gfx', |
| 426 '../win8/win8.gyp:visual_elements_resources', | 415 '../win8/win8.gyp:visual_elements_resources', |
| 427 ], | 416 ], |
| 428 'sources': [ | 417 'sources': [ |
| 429 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_exe_version.rc', | 418 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/chrome_exe_version.rc', |
| 419 'app/chrome_crash_reporter_client.cc', | |
| 420 'app/chrome_crash_reporter_client.h', | |
| 430 'app/chrome_exe.rc', | 421 'app/chrome_exe.rc', |
| 431 'common/crash_keys.cc', | 422 'common/crash_keys.cc', |
| 432 'common/crash_keys.h', | 423 'common/crash_keys.h', |
| 433 ], | 424 ], |
| 434 'sources!': [ | 425 'sources!': [ |
| 435 # We still want the _win entry point for sandbox, etc. | 426 # We still want the _win entry point for sandbox, etc. |
| 436 'app/chrome_exe_main_aura.cc', | 427 'app/chrome_exe_main_aura.cc', |
| 437 ], | 428 ], |
| 438 'msvs_settings': { | 429 'msvs_settings': { |
| 439 'VCLinkerTool': { | 430 'VCLinkerTool': { |
| 440 'OutputFile': '$(OutDir)\\initialexe\\chrome.exe', | 431 'OutputFile': '$(OutDir)\\initialexe\\chrome.exe', |
| 441 'DelayLoadDLLs': [ | 432 'DelayLoadDLLs': [ |
| 442 'dbghelp.dll', | 433 'dbghelp.dll', |
| 443 'dwmapi.dll', | 434 'dwmapi.dll', |
| 444 'uxtheme.dll', | 435 'uxtheme.dll', |
| 445 'ole32.dll', | 436 'ole32.dll', |
| 446 'oleaut32.dll', | 437 'oleaut32.dll', |
| 447 ], | 438 ], |
| 448 'conditions': [ | 439 'conditions': [ |
| 449 ['win_console_app==0', { | 440 ['win_console_app==0', { |
| 450 # Set /SUBSYSTEM:WINDOWS for chrome.exe itself, unless a | 441 # Set /SUBSYSTEM:WINDOWS for chrome.exe itself, unless a |
| 451 # console build has been requested. | 442 # console build has been requested. |
| 452 'SubSystem': '2', | 443 'SubSystem': '2', |
| 453 }], | 444 }], |
| 445 ['win_console_app==1', { | |
| 446 'defines': ['WIN_CONSOLE_APP'], | |
| 447 }], | |
| 454 ], | 448 ], |
| 455 }, | 449 }, |
| 456 'VCManifestTool': { | 450 'VCManifestTool': { |
| 457 'AdditionalManifestFiles': [ | 451 'AdditionalManifestFiles': [ |
| 458 '$(ProjectDir)\\app\\chrome.exe.manifest', | 452 '$(ProjectDir)\\app\\chrome.exe.manifest', |
| 459 '<(SHARED_INTERMEDIATE_DIR)/chrome/app/version_assembly/version_ assembly.manifest', | 453 '<(SHARED_INTERMEDIATE_DIR)/chrome/app/version_assembly/version_ assembly.manifest', |
| 460 ], | 454 ], |
| 461 }, | 455 }, |
| 462 }, | 456 }, |
| 463 'actions': [ | 457 'actions': [ |
| (...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 600 'dependencies': [ | 594 'dependencies': [ |
| 601 'chrome_nacl_win64', | 595 'chrome_nacl_win64', |
| 602 ], | 596 ], |
| 603 }], | 597 }], |
| 604 ], | 598 ], |
| 605 }, | 599 }, |
| 606 ], | 600 ], |
| 607 }], | 601 }], |
| 608 ], | 602 ], |
| 609 } | 603 } |
| OLD | NEW |