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 354 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
365 # for details. | 365 # for details. |
366 'chromium_win_pch%': 0, | 366 'chromium_win_pch%': 0, |
367 | 367 |
368 # Set this to true when building with Clang. | 368 # Set this to true when building with Clang. |
369 # See http://code.google.com/p/chromium/wiki/Clang for details. | 369 # See http://code.google.com/p/chromium/wiki/Clang for details. |
370 'clang%': 0, | 370 'clang%': 0, |
371 | 371 |
372 # Enable plug-in installation by default. | 372 # Enable plug-in installation by default. |
373 'enable_plugin_installation%': 1, | 373 'enable_plugin_installation%': 1, |
374 | 374 |
| 375 # Enable ppapi by default. |
| 376 'enable_ppapi%': 1, |
| 377 |
375 # Enable protector service by default. | 378 # Enable protector service by default. |
376 'enable_protector_service%': 1, | 379 'enable_protector_service%': 1, |
377 | 380 |
378 # Specifies whether to use canvas_skia.cc in place of platform | 381 # Specifies whether to use canvas_skia.cc in place of platform |
379 # specific implementations of gfx::Canvas. Affects text drawing in the | 382 # specific implementations of gfx::Canvas. Affects text drawing in the |
380 # Chrome UI. | 383 # Chrome UI. |
381 # TODO(asvitkine): Enable this on all platforms and delete this flag. | 384 # TODO(asvitkine): Enable this on all platforms and delete this flag. |
382 # http://crbug.com/105550 | 385 # http://crbug.com/105550 |
383 'use_canvas_skia%': 0, | 386 'use_canvas_skia%': 0, |
384 | 387 |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
514 'chromium_win_pch%': 1 | 517 'chromium_win_pch%': 1 |
515 }], | 518 }], |
516 | 519 |
517 ['use_aura==1 or chromeos==1 or OS=="android"', { | 520 ['use_aura==1 or chromeos==1 or OS=="android"', { |
518 'enable_plugin_installation%': 0, | 521 'enable_plugin_installation%': 0, |
519 }, { | 522 }, { |
520 'enable_plugin_installation%': 1, | 523 'enable_plugin_installation%': 1, |
521 }], | 524 }], |
522 | 525 |
523 ['OS=="android" or OS=="ios"', { | 526 ['OS=="android" or OS=="ios"', { |
| 527 'enable_ppapi%': 0, |
| 528 }, { |
| 529 'enable_ppapi%': 1, |
| 530 }], |
| 531 |
| 532 ['OS=="android" or OS=="ios"', { |
524 'enable_protector_service%': 0, | 533 'enable_protector_service%': 0, |
525 }, { | 534 }, { |
526 'enable_protector_service%': 1, | 535 'enable_protector_service%': 1, |
527 }], | 536 }], |
528 | 537 |
529 # linux_use_gold_binary: whether to use the binary checked into | 538 # linux_use_gold_binary: whether to use the binary checked into |
530 # third_party/gold. | 539 # third_party/gold. |
531 ['OS=="linux"', { | 540 ['OS=="linux"', { |
532 'linux_use_gold_binary%': 1, | 541 'linux_use_gold_binary%': 1, |
533 }, { | 542 }, { |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
663 'asan%': '<(asan)', | 672 'asan%': '<(asan)', |
664 'tsan%': '<(tsan)', | 673 'tsan%': '<(tsan)', |
665 'tsan_blacklist%': '<(tsan_blacklist)', | 674 'tsan_blacklist%': '<(tsan_blacklist)', |
666 'clang_type_profiler%': '<(clang_type_profiler)', | 675 'clang_type_profiler%': '<(clang_type_profiler)', |
667 'order_profiling%': '<(order_profiling)', | 676 'order_profiling%': '<(order_profiling)', |
668 'order_text_section%': '<(order_text_section)', | 677 'order_text_section%': '<(order_text_section)', |
669 'enable_extensions%': '<(enable_extensions)', | 678 'enable_extensions%': '<(enable_extensions)', |
670 'enable_web_intents%': '<(enable_web_intents)', | 679 'enable_web_intents%': '<(enable_web_intents)', |
671 'enable_web_intents_tag%': '<(enable_web_intents_tag)', | 680 'enable_web_intents_tag%': '<(enable_web_intents_tag)', |
672 'enable_plugin_installation%': '<(enable_plugin_installation)', | 681 'enable_plugin_installation%': '<(enable_plugin_installation)', |
| 682 'enable_ppapi%': '<(enable_ppapi)', |
673 'enable_protector_service%': '<(enable_protector_service)', | 683 'enable_protector_service%': '<(enable_protector_service)', |
674 'enable_session_service%': '<(enable_session_service)', | 684 'enable_session_service%': '<(enable_session_service)', |
675 'enable_themes%': '<(enable_themes)', | 685 'enable_themes%': '<(enable_themes)', |
676 'use_oem_wallpaper%': '<(use_oem_wallpaper)', | 686 'use_oem_wallpaper%': '<(use_oem_wallpaper)', |
677 'enable_background%': '<(enable_background)', | 687 'enable_background%': '<(enable_background)', |
678 'linux_use_gold_binary%': '<(linux_use_gold_binary)', | 688 'linux_use_gold_binary%': '<(linux_use_gold_binary)', |
679 'linux_use_gold_flags%': '<(linux_use_gold_flags)', | 689 'linux_use_gold_flags%': '<(linux_use_gold_flags)', |
680 'use_canvas_skia%': '<(use_canvas_skia)', | 690 'use_canvas_skia%': '<(use_canvas_skia)', |
681 'test_isolation_mode%': '<(test_isolation_mode)', | 691 'test_isolation_mode%': '<(test_isolation_mode)', |
682 'test_isolation_outdir%': '<(test_isolation_outdir)', | 692 'test_isolation_outdir%': '<(test_isolation_outdir)', |
(...skipping 1175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1858 }], | 1868 }], |
1859 ['OS=="win" and branding=="Chrome"', { | 1869 ['OS=="win" and branding=="Chrome"', { |
1860 'defines': ['ENABLE_SWIFTSHADER'], | 1870 'defines': ['ENABLE_SWIFTSHADER'], |
1861 }], | 1871 }], |
1862 ['enable_dart==1', { | 1872 ['enable_dart==1', { |
1863 'defines': ['WEBKIT_USING_DART=1'], | 1873 'defines': ['WEBKIT_USING_DART=1'], |
1864 }], | 1874 }], |
1865 ['enable_plugin_installation==1', { | 1875 ['enable_plugin_installation==1', { |
1866 'defines': ['ENABLE_PLUGIN_INSTALLATION=1'], | 1876 'defines': ['ENABLE_PLUGIN_INSTALLATION=1'], |
1867 }], | 1877 }], |
| 1878 ['enable_ppapi==1', { |
| 1879 'defines': ['ENABLE_PPAPI=1'], |
| 1880 }], |
1868 ['enable_protector_service==1', { | 1881 ['enable_protector_service==1', { |
1869 'defines': ['ENABLE_PROTECTOR_SERVICE=1'], | 1882 'defines': ['ENABLE_PROTECTOR_SERVICE=1'], |
1870 }], | 1883 }], |
1871 ['enable_session_service==1', { | 1884 ['enable_session_service==1', { |
1872 'defines': ['ENABLE_SESSION_SERVICE=1'], | 1885 'defines': ['ENABLE_SESSION_SERVICE=1'], |
1873 }], | 1886 }], |
1874 ['enable_themes==1', { | 1887 ['enable_themes==1', { |
1875 'defines': ['ENABLE_THEMES=1'], | 1888 'defines': ['ENABLE_THEMES=1'], |
1876 }], | 1889 }], |
1877 ['enable_background==1', { | 1890 ['enable_background==1', { |
(...skipping 2000 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3878 # settings in target dicts. SYMROOT is a special case, because many other | 3891 # settings in target dicts. SYMROOT is a special case, because many other |
3879 # Xcode variables depend on it, including variables such as | 3892 # Xcode variables depend on it, including variables such as |
3880 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 3893 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
3881 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 3894 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
3882 # files to appear (when present) in the UI as actual files and not red | 3895 # files to appear (when present) in the UI as actual files and not red |
3883 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 3896 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
3884 # and therefore SYMROOT, needs to be set at the project level. | 3897 # and therefore SYMROOT, needs to be set at the project level. |
3885 'SYMROOT': '<(DEPTH)/xcodebuild', | 3898 'SYMROOT': '<(DEPTH)/xcodebuild', |
3886 }, | 3899 }, |
3887 } | 3900 } |
OLD | NEW |