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 # IMPORTANT: | 5 # IMPORTANT: |
6 # Please don't directly include this file if you are building via gyp_chromium, | 6 # Please don't directly include this file if you are building via gyp_chromium, |
7 # since gyp_chromium is automatically forcing its inclusion. | 7 # since gyp_chromium is automatically forcing its inclusion. |
8 { | 8 { |
9 # Variables expected to be overriden on the GYP command line (-D) or by | 9 # Variables expected to be overriden on the GYP command line (-D) or by |
10 # ~/.gyp/include.gypi. | 10 # ~/.gyp/include.gypi. |
(...skipping 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 # for details. | 369 # for details. |
370 'chromium_win_pch%': 0, | 370 'chromium_win_pch%': 0, |
371 | 371 |
372 # Set this to true when building with Clang. | 372 # Set this to true when building with Clang. |
373 # See http://code.google.com/p/chromium/wiki/Clang for details. | 373 # See http://code.google.com/p/chromium/wiki/Clang for details. |
374 'clang%': 0, | 374 'clang%': 0, |
375 | 375 |
376 # Enable plug-in installation by default. | 376 # Enable plug-in installation by default. |
377 'enable_plugin_installation%': 1, | 377 'enable_plugin_installation%': 1, |
378 | 378 |
| 379 # Enable PPAPI and NPAPI by default. |
| 380 # TODO(nileshagrawal): Make this flag enable/disable NPAPI as well |
| 381 # as PPAPI; see crbug.com/162667. |
| 382 'enable_plugins%': 1, |
| 383 |
379 # Enable protector service by default. | 384 # Enable protector service by default. |
380 'enable_protector_service%': 1, | 385 'enable_protector_service%': 1, |
381 | 386 |
382 # Specifies whether to use canvas_skia.cc in place of platform | 387 # Specifies whether to use canvas_skia.cc in place of platform |
383 # specific implementations of gfx::Canvas. Affects text drawing in the | 388 # specific implementations of gfx::Canvas. Affects text drawing in the |
384 # Chrome UI. | 389 # Chrome UI. |
385 # TODO(asvitkine): Enable this on all platforms and delete this flag. | 390 # TODO(asvitkine): Enable this on all platforms and delete this flag. |
386 # http://crbug.com/105550 | 391 # http://crbug.com/105550 |
387 'use_canvas_skia%': 0, | 392 'use_canvas_skia%': 0, |
388 | 393 |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
520 'chromium_win_pch%': 1 | 525 'chromium_win_pch%': 1 |
521 }], | 526 }], |
522 | 527 |
523 ['use_aura==1 or chromeos==1 or OS=="android"', { | 528 ['use_aura==1 or chromeos==1 or OS=="android"', { |
524 'enable_plugin_installation%': 0, | 529 'enable_plugin_installation%': 0, |
525 }, { | 530 }, { |
526 'enable_plugin_installation%': 1, | 531 'enable_plugin_installation%': 1, |
527 }], | 532 }], |
528 | 533 |
529 ['OS=="android" or OS=="ios"', { | 534 ['OS=="android" or OS=="ios"', { |
| 535 'enable_plugins%': 0, |
| 536 }, { |
| 537 'enable_plugins%': 1, |
| 538 }], |
| 539 |
| 540 ['OS=="android" or OS=="ios"', { |
530 'enable_protector_service%': 0, | 541 'enable_protector_service%': 0, |
531 }, { | 542 }, { |
532 'enable_protector_service%': 1, | 543 'enable_protector_service%': 1, |
533 }], | 544 }], |
534 | 545 |
535 # linux_use_gold_binary: whether to use the binary checked into | 546 # linux_use_gold_binary: whether to use the binary checked into |
536 # third_party/gold. | 547 # third_party/gold. |
537 ['OS=="linux"', { | 548 ['OS=="linux"', { |
538 'linux_use_gold_binary%': 1, | 549 'linux_use_gold_binary%': 1, |
539 }, { | 550 }, { |
(...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
662 'asan%': '<(asan)', | 673 'asan%': '<(asan)', |
663 'tsan%': '<(tsan)', | 674 'tsan%': '<(tsan)', |
664 'tsan_blacklist%': '<(tsan_blacklist)', | 675 'tsan_blacklist%': '<(tsan_blacklist)', |
665 'clang_type_profiler%': '<(clang_type_profiler)', | 676 'clang_type_profiler%': '<(clang_type_profiler)', |
666 'order_profiling%': '<(order_profiling)', | 677 'order_profiling%': '<(order_profiling)', |
667 'order_text_section%': '<(order_text_section)', | 678 'order_text_section%': '<(order_text_section)', |
668 'enable_extensions%': '<(enable_extensions)', | 679 'enable_extensions%': '<(enable_extensions)', |
669 'enable_web_intents%': '<(enable_web_intents)', | 680 'enable_web_intents%': '<(enable_web_intents)', |
670 'enable_web_intents_tag%': '<(enable_web_intents_tag)', | 681 'enable_web_intents_tag%': '<(enable_web_intents_tag)', |
671 'enable_plugin_installation%': '<(enable_plugin_installation)', | 682 'enable_plugin_installation%': '<(enable_plugin_installation)', |
| 683 'enable_plugins%': '<(enable_plugins)', |
672 'enable_protector_service%': '<(enable_protector_service)', | 684 'enable_protector_service%': '<(enable_protector_service)', |
673 'enable_session_service%': '<(enable_session_service)', | 685 'enable_session_service%': '<(enable_session_service)', |
674 'enable_themes%': '<(enable_themes)', | 686 'enable_themes%': '<(enable_themes)', |
675 'use_oem_wallpaper%': '<(use_oem_wallpaper)', | 687 'use_oem_wallpaper%': '<(use_oem_wallpaper)', |
676 'enable_background%': '<(enable_background)', | 688 'enable_background%': '<(enable_background)', |
677 'linux_use_gold_binary%': '<(linux_use_gold_binary)', | 689 'linux_use_gold_binary%': '<(linux_use_gold_binary)', |
678 'linux_use_gold_flags%': '<(linux_use_gold_flags)', | 690 'linux_use_gold_flags%': '<(linux_use_gold_flags)', |
679 'use_canvas_skia%': '<(use_canvas_skia)', | 691 'use_canvas_skia%': '<(use_canvas_skia)', |
680 'test_isolation_mode%': '<(test_isolation_mode)', | 692 'test_isolation_mode%': '<(test_isolation_mode)', |
681 'test_isolation_outdir%': '<(test_isolation_outdir)', | 693 'test_isolation_outdir%': '<(test_isolation_outdir)', |
(...skipping 1172 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1854 }], | 1866 }], |
1855 ['OS=="win" and branding=="Chrome"', { | 1867 ['OS=="win" and branding=="Chrome"', { |
1856 'defines': ['ENABLE_SWIFTSHADER'], | 1868 'defines': ['ENABLE_SWIFTSHADER'], |
1857 }], | 1869 }], |
1858 ['enable_dart==1', { | 1870 ['enable_dart==1', { |
1859 'defines': ['WEBKIT_USING_DART=1'], | 1871 'defines': ['WEBKIT_USING_DART=1'], |
1860 }], | 1872 }], |
1861 ['enable_plugin_installation==1', { | 1873 ['enable_plugin_installation==1', { |
1862 'defines': ['ENABLE_PLUGIN_INSTALLATION=1'], | 1874 'defines': ['ENABLE_PLUGIN_INSTALLATION=1'], |
1863 }], | 1875 }], |
| 1876 ['enable_plugins==1', { |
| 1877 'defines': ['ENABLE_PLUGINS=1'], |
| 1878 }], |
1864 ['enable_protector_service==1', { | 1879 ['enable_protector_service==1', { |
1865 'defines': ['ENABLE_PROTECTOR_SERVICE=1'], | 1880 'defines': ['ENABLE_PROTECTOR_SERVICE=1'], |
1866 }], | 1881 }], |
1867 ['enable_session_service==1', { | 1882 ['enable_session_service==1', { |
1868 'defines': ['ENABLE_SESSION_SERVICE=1'], | 1883 'defines': ['ENABLE_SESSION_SERVICE=1'], |
1869 }], | 1884 }], |
1870 ['enable_themes==1', { | 1885 ['enable_themes==1', { |
1871 'defines': ['ENABLE_THEMES=1'], | 1886 'defines': ['ENABLE_THEMES=1'], |
1872 }], | 1887 }], |
1873 ['enable_background==1', { | 1888 ['enable_background==1', { |
(...skipping 2027 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3901 # settings in target dicts. SYMROOT is a special case, because many other | 3916 # settings in target dicts. SYMROOT is a special case, because many other |
3902 # Xcode variables depend on it, including variables such as | 3917 # Xcode variables depend on it, including variables such as |
3903 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3918 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3904 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3919 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3905 # files to appear (when present) in the UI as actual files and not red | 3920 # files to appear (when present) in the UI as actual files and not red |
3906 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3921 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3907 # and therefore SYMROOT, needs to be set at the project level. | 3922 # and therefore SYMROOT, needs to be set at the project level. |
3908 'SYMROOT': '<(DEPTH)/xcodebuild', | 3923 'SYMROOT': '<(DEPTH)/xcodebuild', |
3909 }, | 3924 }, |
3910 } | 3925 } |
OLD | NEW |