Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(454)

Side by Side Diff: chrome/chrome_exe.gypi

Issue 1851213002: Remove sandbox on Windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix nacl compile issues Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/chrome_dll.gypi ('k') | chrome/chrome_installer.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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',
11 'dependencies': [ 'chrome_initial', ], 11 'dependencies': [ 'chrome_initial', ],
12 'conditions': [
13 ['OS == "win"', {
14 'actions': [
15 {
16 'variables': {
17 'reorder_py_path': '<(DEPTH)/build/win/reorder-imports.py',
18 # See comment in chrome_dll.gypi in the hardlink_to_output
19 # target for why this cannot be 'initial' like the DLL.
20 'exe_input_path':'$(OutDir)\\initialexe',
21 'exe_output_path':'<(PRODUCT_DIR)',
22 },
23 'action_name': 'reorder_imports',
24 'inputs': [
25 '<(reorder_py_path)',
26 '$(OutDir)\\initialexe\\chrome.exe',
27 ],
28 'outputs': [
29 '<(PRODUCT_DIR)\\chrome.exe',
30 '<(PRODUCT_DIR)\\chrome.exe.pdb',
31 ],
32 'action': [
33 'python',
34 '<(reorder_py_path)',
35 '-i', '<(exe_input_path)',
36 '-o', '<(exe_output_path)',
37 '-a', '<(target_arch)',
38 ],
39 'message': 'Reordering Imports',
40 },
41 ],
42 }],
43 ],
44 }, 12 },
45 { 13 {
46 # GN version: //chrome:chrome_initial 14 # GN version: //chrome:chrome_initial
47 'target_name': 'chrome_initial', 15 'target_name': 'chrome_initial',
48 'type': 'executable', 16 'type': 'executable',
49 'dependencies' : [ 17 'dependencies' : [
50 '../chrome/common_constants.gyp:version_header', 18 '../chrome/common_constants.gyp:version_header',
51 '../chrome/chrome_features.gyp:chrome_common_features', 19 '../chrome/chrome_features.gyp:chrome_common_features',
52 ], 20 ],
53 # Name the exe chrome.exe, not chrome_initial.exe. 21 # Name the exe chrome.exe, not chrome_initial.exe.
54 'product_name': 'chrome', 22 'product_name': 'chrome',
55 'mac_bundle': 1, 23 'mac_bundle': 1,
56 'variables': { 24 'variables': {
57 'use_system_xdg_utils%': 0, 25 'use_system_xdg_utils%': 0,
58 'enable_wexit_time_destructors': 1, 26 'enable_wexit_time_destructors': 1,
59 }, 27 },
60 'sources': [ 28 'sources': [
61 # Note that due to InitializeSandboxInfo, this must be directly linked 29 # Note that due to InitializeSandboxInfo, this must be directly linked
62 # into chrome.exe, not into a dependent. 30 # into chrome.exe, not into a dependent.
63 '<(DEPTH)/content/app/sandbox_helper_win.cc',
64 '<(DEPTH)/content/public/common/content_switches.cc', 31 '<(DEPTH)/content/public/common/content_switches.cc',
65 'app/chrome_exe_load_config_win.cc', 32 'app/chrome_exe_load_config_win.cc',
66 'app/chrome_exe_main_aura.cc', 33 'app/chrome_exe_main_aura.cc',
67 'app/chrome_exe_main_mac.c', 34 'app/chrome_exe_main_mac.c',
68 'app/chrome_exe_main_win.cc', 35 'app/chrome_exe_main_win.cc',
69 'app/chrome_exe_resource.h', 36 'app/chrome_exe_resource.h',
70 'app/chrome_watcher_client_win.cc', 37 'app/chrome_watcher_client_win.cc',
71 'app/chrome_watcher_client_win.h', 38 'app/chrome_watcher_client_win.h',
72 'app/chrome_watcher_command_line_win.cc', 39 'app/chrome_watcher_command_line_win.cc',
73 'app/chrome_watcher_command_line_win.h', 40 'app/chrome_watcher_command_line_win.h',
(...skipping 333 matching lines...) Expand 10 before | Expand all | Expand 10 after
407 'chrome_dll', 374 'chrome_dll',
408 'chrome_nacl_win64', 375 'chrome_nacl_win64',
409 'chrome_process_finder', 376 'chrome_process_finder',
410 'chrome_version_resources', 377 'chrome_version_resources',
411 'installer_util', 378 'installer_util',
412 'file_pre_reader', 379 'file_pre_reader',
413 '../base/base.gyp:base', 380 '../base/base.gyp:base',
414 '../crypto/crypto.gyp:crypto', 381 '../crypto/crypto.gyp:crypto',
415 '../breakpad/breakpad.gyp:breakpad_handler', 382 '../breakpad/breakpad.gyp:breakpad_handler',
416 '../breakpad/breakpad.gyp:breakpad_sender', 383 '../breakpad/breakpad.gyp:breakpad_sender',
417 '../chrome_elf/chrome_elf.gyp:chrome_elf',
418 '../components/components.gyp:crash_component', 384 '../components/components.gyp:crash_component',
419 '../components/components.gyp:crash_core_common', 385 '../components/components.gyp:crash_core_common',
420 '../components/components.gyp:flags_ui_switches', 386 '../components/components.gyp:flags_ui_switches',
421 '../components/components.gyp:policy', 387 '../components/components.gyp:policy',
422 '../components/components.gyp:startup_metric_utils_common', 388 '../components/components.gyp:startup_metric_utils_common',
423 '../sandbox/sandbox.gyp:sandbox', 389 '../sandbox/sandbox.gyp:sandbox',
424 '../third_party/kasko/kasko.gyp:kasko_features', 390 '../third_party/kasko/kasko.gyp:kasko_features',
425 '../ui/gfx/gfx.gyp:gfx', 391 '../ui/gfx/gfx.gyp:gfx',
426 '../win8/win8.gyp:visual_elements_resources', 392 '../win8/win8.gyp:visual_elements_resources',
427 ], 393 ],
(...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 }, 477 },
512 ], 478 ],
513 'conditions': [ 479 'conditions': [
514 ['disable_nacl!=1 and target_arch=="ia32"', { 480 ['disable_nacl!=1 and target_arch=="ia32"', {
515 'targets': [ 481 'targets': [
516 { 482 {
517 'target_name': 'chrome_nacl_win64', 483 'target_name': 'chrome_nacl_win64',
518 'type': 'executable', 484 'type': 'executable',
519 'product_name': 'nacl64', 485 'product_name': 'nacl64',
520 'sources': [ 486 'sources': [
521 '../content/app/sandbox_helper_win.cc',
522 '../content/common/sandbox_init_win.cc',
523 '../content/common/sandbox_win.cc',
524 '../content/public/common/content_switches.cc', 487 '../content/public/common/content_switches.cc',
525 '../content/public/common/sandboxed_process_launcher_delegate.cc ', 488 '../content/public/common/sandboxed_process_launcher_delegate.cc ',
526 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/nacl64_exe_version.rc ', 489 '<(SHARED_INTERMEDIATE_DIR)/chrome_version/nacl64_exe_version.rc ',
527 'app/chrome_crash_reporter_client.cc', 490 'app/chrome_crash_reporter_client.cc',
528 'common/crash_keys.cc', 491 'common/crash_keys.cc',
529 'nacl/nacl_exe_win_64.cc', 492 'nacl/nacl_exe_win_64.cc',
530 ], 493 ],
531 'dependencies': [ 494 'dependencies': [
532 'chrome_version_resources', 495 'chrome_version_resources',
533 'installer_util_nacl_win64', 496 'installer_util_nacl_win64',
534 '../base/base.gyp:base_i18n_nacl_win64', 497 '../base/base.gyp:base_i18n_nacl_win64',
535 '../base/base.gyp:base_win64', 498 '../base/base.gyp:base_win64',
536 '../base/base.gyp:base_static_win64', 499 '../base/base.gyp:base_static_win64',
537 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp :dynamic_annotations_win64', 500 '../base/third_party/dynamic_annotations/dynamic_annotations.gyp :dynamic_annotations_win64',
538 '../breakpad/breakpad.gyp:breakpad_handler_win64', 501 '../breakpad/breakpad.gyp:breakpad_handler_win64',
539 '../breakpad/breakpad.gyp:breakpad_sender_win64', 502 '../breakpad/breakpad.gyp:breakpad_sender_win64',
540 '../components/components.gyp:breakpad_win64', 503 '../components/components.gyp:breakpad_win64',
541 '../components/components.gyp:crash_core_common_win64', 504 '../components/components.gyp:crash_core_common_win64',
542 '../components/components.gyp:flags_ui_switches_win64', 505 '../components/components.gyp:flags_ui_switches_win64',
543 '../components/components.gyp:policy_win64', 506 '../components/components.gyp:policy_win64',
544 '../chrome/common_constants.gyp:common_constants_win64', 507 '../chrome/common_constants.gyp:common_constants_win64',
545 '../components/nacl.gyp:nacl_win64', 508 '../components/nacl.gyp:nacl_win64',
546 '../crypto/crypto.gyp:crypto_nacl_win64', 509 '../crypto/crypto.gyp:crypto_nacl_win64',
547 '../ipc/ipc.gyp:ipc_win64', 510 '../ipc/ipc.gyp:ipc_win64',
548 '../sandbox/sandbox.gyp:sandbox_win64',
549 '../third_party/kasko/kasko.gyp:kasko_features', 511 '../third_party/kasko/kasko.gyp:kasko_features',
550 ], 512 ],
551 'defines': [ 513 'defines': [
552 '<@(nacl_win64_defines)', 514 '<@(nacl_win64_defines)',
553 'COMPILE_CONTENT_STATICALLY', 515 'COMPILE_CONTENT_STATICALLY',
554 ], 516 ],
555 'include_dirs': [ 517 'include_dirs': [
556 '<(SHARED_INTERMEDIATE_DIR)/chrome', 518 '<(SHARED_INTERMEDIATE_DIR)/chrome',
557 ], 519 ],
558 'msvs_settings': { 520 'msvs_settings': {
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
600 'dependencies': [ 562 'dependencies': [
601 'chrome_nacl_win64', 563 'chrome_nacl_win64',
602 ], 564 ],
603 }], 565 }],
604 ], 566 ],
605 }, 567 },
606 ], 568 ],
607 }], 569 }],
608 ], 570 ],
609 } 571 }
OLDNEW
« no previous file with comments | « chrome/chrome_dll.gypi ('k') | chrome/chrome_installer.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698