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"', { | |
grt (UTC plus 2)
2016/04/15 15:29:32
nice cleanup here!
gab
2016/04/15 18:14:07
Ack :-)
| |
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 274 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
402 'dependencies': [ | 385 'dependencies': [ |
403 '../sandbox/sandbox.gyp:sandbox', | 386 '../sandbox/sandbox.gyp:sandbox', |
404 ], | 387 ], |
405 }], | 388 }], |
406 ['OS=="win"', { | 389 ['OS=="win"', { |
407 'dependencies': [ | 390 'dependencies': [ |
408 'chrome_dll', | 391 'chrome_dll', |
409 'chrome_nacl_win64', | 392 'chrome_nacl_win64', |
410 'chrome_process_finder', | 393 'chrome_process_finder', |
411 'chrome_version_resources', | 394 'chrome_version_resources', |
395 'chrome_watcher', | |
396 'chrome_watcher_client', | |
397 'file_pre_reader', | |
412 'installer_util', | 398 'installer_util', |
413 'file_pre_reader', | 399 'metrics_constants_util_win', |
414 '../base/base.gyp:base', | 400 '../base/base.gyp:base', |
415 '../crypto/crypto.gyp:crypto', | |
416 '../breakpad/breakpad.gyp:breakpad_handler', | 401 '../breakpad/breakpad.gyp:breakpad_handler', |
417 '../breakpad/breakpad.gyp:breakpad_sender', | 402 '../breakpad/breakpad.gyp:breakpad_sender', |
403 '../chrome/common_constants.gyp:common_constants', | |
418 '../chrome_elf/chrome_elf.gyp:chrome_elf', | 404 '../chrome_elf/chrome_elf.gyp:chrome_elf', |
405 '../components/components.gyp:browser_watcher_client', | |
419 '../components/components.gyp:crash_component', | 406 '../components/components.gyp:crash_component', |
420 '../components/components.gyp:crash_core_common', | 407 '../components/components.gyp:crash_core_common', |
421 '../components/components.gyp:flags_ui_switches', | 408 '../components/components.gyp:flags_ui_switches', |
422 '../components/components.gyp:policy', | 409 '../components/components.gyp:policy', |
423 '../components/components.gyp:startup_metric_utils_common', | 410 '../components/components.gyp:startup_metric_utils_common', |
411 '../crypto/crypto.gyp:crypto', | |
424 '../sandbox/sandbox.gyp:sandbox', | 412 '../sandbox/sandbox.gyp:sandbox', |
425 '../third_party/kasko/kasko.gyp:kasko_features', | 413 '../third_party/kasko/kasko.gyp:kasko_features', |
426 '../ui/gfx/gfx.gyp:gfx', | 414 '../ui/gfx/gfx.gyp:gfx', |
427 '../win8/win8.gyp:visual_elements_resources', | 415 '../win8/win8.gyp:visual_elements_resources', |
428 ], | 416 ], |
429 'sources': [ | 417 'sources': [ |
430 '<(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', | |
431 'app/chrome_exe.rc', | 421 'app/chrome_exe.rc', |
432 'common/crash_keys.cc', | 422 'common/crash_keys.cc', |
433 'common/crash_keys.h', | 423 'common/crash_keys.h', |
434 ], | 424 ], |
435 'sources!': [ | 425 'sources!': [ |
436 # We still want the _win entry point for sandbox, etc. | 426 # We still want the _win entry point for sandbox, etc. |
437 'app/chrome_exe_main_aura.cc', | 427 'app/chrome_exe_main_aura.cc', |
438 ], | 428 ], |
439 'msvs_settings': { | 429 'msvs_settings': { |
440 'VCLinkerTool': { | 430 'VCLinkerTool': { |
441 'OutputFile': '$(OutDir)\\initialexe\\chrome.exe', | 431 'OutputFile': '$(OutDir)\\initialexe\\chrome.exe', |
442 'DelayLoadDLLs': [ | 432 'DelayLoadDLLs': [ |
443 'dbghelp.dll', | 433 'dbghelp.dll', |
444 'dwmapi.dll', | 434 'dwmapi.dll', |
445 'uxtheme.dll', | 435 'uxtheme.dll', |
446 'ole32.dll', | 436 'ole32.dll', |
447 'oleaut32.dll', | 437 'oleaut32.dll', |
448 ], | 438 ], |
449 'conditions': [ | 439 'conditions': [ |
450 ['win_console_app==0', { | 440 ['win_console_app==0', { |
451 # Set /SUBSYSTEM:WINDOWS for chrome.exe itself, unless a | 441 # Set /SUBSYSTEM:WINDOWS for chrome.exe itself, unless a |
452 # console build has been requested. | 442 # console build has been requested. |
453 'SubSystem': '2', | 443 'SubSystem': '2', |
454 }], | 444 }], |
445 ['win_console_app==1', { | |
grt (UTC plus 2)
2016/04/15 15:29:32
pull this up and out of the msvs_settings block
gab
2016/04/15 18:14:07
Done.
| |
446 'defines': ['WIN_CONSOLE_APP'], | |
447 }], | |
455 ], | 448 ], |
456 }, | 449 }, |
457 'VCManifestTool': { | 450 'VCManifestTool': { |
458 'AdditionalManifestFiles': [ | 451 'AdditionalManifestFiles': [ |
459 '$(ProjectDir)\\app\\chrome.exe.manifest', | 452 '$(ProjectDir)\\app\\chrome.exe.manifest', |
460 '<(SHARED_INTERMEDIATE_DIR)/chrome/app/version_assembly/version_ assembly.manifest', | 453 '<(SHARED_INTERMEDIATE_DIR)/chrome/app/version_assembly/version_ assembly.manifest', |
461 ], | 454 ], |
462 }, | 455 }, |
463 }, | 456 }, |
464 'actions': [ | 457 'actions': [ |
(...skipping 136 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
601 'dependencies': [ | 594 'dependencies': [ |
602 'chrome_nacl_win64', | 595 'chrome_nacl_win64', |
603 ], | 596 ], |
604 }], | 597 }], |
605 ], | 598 ], |
606 }, | 599 }, |
607 ], | 600 ], |
608 }], | 601 }], |
609 ], | 602 ], |
610 } | 603 } |
OLD | NEW |