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 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
423 # Metafile (e.g. usually a PDF or EMF) and disables print preview, cloud | 423 # Metafile (e.g. usually a PDF or EMF) and disables print preview, cloud |
424 # print, UI, etc. | 424 # print, UI, etc. |
425 'enable_printing%': 1, | 425 'enable_printing%': 1, |
426 | 426 |
427 # Set the version of CLD. | 427 # Set the version of CLD. |
428 # 0: Don't specify the version. This option is for the Finch testing. | 428 # 0: Don't specify the version. This option is for the Finch testing. |
429 # 1: Use only CLD1. | 429 # 1: Use only CLD1. |
430 # 2: Use only CLD2. | 430 # 2: Use only CLD2. |
431 'cld_version%': 2, | 431 'cld_version%': 2, |
432 | 432 |
433 # Set the way CLD is compiled | |
434 # 0: static, language scoring tables compiled into the binary | |
435 # 1: dynamic, language scoring tables live in a data file that must be l oaded at runtime | |
436 'cld_dynamic%': 1, | |
437 | |
433 # Enable spell checker. | 438 # Enable spell checker. |
434 'enable_spellcheck%': 1, | 439 'enable_spellcheck%': 1, |
435 | 440 |
436 # Webrtc compilation is enabled by default. Set to 0 to disable. | 441 # Webrtc compilation is enabled by default. Set to 0 to disable. |
437 'enable_webrtc%': 1, | 442 'enable_webrtc%': 1, |
438 | 443 |
439 # Enables use of the session service, which is enabled by default. | 444 # Enables use of the session service, which is enabled by default. |
440 # Support for disabling depends on the platform. | 445 # Support for disabling depends on the platform. |
441 'enable_session_service%': 1, | 446 'enable_session_service%': 1, |
442 | 447 |
(...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
613 }], | 618 }], |
614 | 619 |
615 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { | 620 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { |
616 'enable_one_click_signin%': 1, | 621 'enable_one_click_signin%': 1, |
617 }], | 622 }], |
618 | 623 |
619 ['OS=="android"', { | 624 ['OS=="android"', { |
620 'enable_automation%': 0, | 625 'enable_automation%': 0, |
621 'enable_extensions%': 0, | 626 'enable_extensions%': 0, |
622 'enable_google_now%': 0, | 627 'enable_google_now%': 0, |
623 'cld_version%': 1, | 628 # 'cld_version%': 1, |
629 # to switch to dynamic CLD2: | |
630 # 'cld_version%': 2, | |
631 # 'cld_dynamic%': 1, | |
632 'cld_version%': 2, | |
633 'cld_dynamic%': 1, | |
Andrew Hayden (chromium.org)
2014/03/11 17:03:10
Make sure to disable dynamic mode on all platforms
| |
624 'enable_spellcheck%': 0, | 634 'enable_spellcheck%': 0, |
625 'enable_themes%': 0, | 635 'enable_themes%': 0, |
626 'remoting%': 0, | 636 'remoting%': 0, |
627 'arm_neon%': 0, | 637 'arm_neon%': 0, |
628 'arm_neon_optional%': 1, | 638 'arm_neon_optional%': 1, |
629 'native_discardable_memory%': 1, | 639 'native_discardable_memory%': 1, |
630 'native_memory_pressure_signals%': 1, | 640 'native_memory_pressure_signals%': 1, |
631 'enable_printing%': 2, | 641 'enable_printing%': 2, |
632 'enable_task_manager%':0, | 642 'enable_task_manager%':0, |
633 # Set to 1 once we have a notification system for Android. | 643 # Set to 1 once we have a notification system for Android. |
(...skipping 23 matching lines...) Expand all Loading... | |
657 ['OS=="android"', { | 667 ['OS=="android"', { |
658 'enable_webrtc%': 1, | 668 'enable_webrtc%': 1, |
659 }], | 669 }], |
660 | 670 |
661 ['OS=="ios"', { | 671 ['OS=="ios"', { |
662 'disable_ftp_support%': 1, | 672 'disable_ftp_support%': 1, |
663 'enable_automation%': 0, | 673 'enable_automation%': 0, |
664 'enable_extensions%': 0, | 674 'enable_extensions%': 0, |
665 'enable_google_now%': 0, | 675 'enable_google_now%': 0, |
666 'cld_version%': 1, | 676 'cld_version%': 1, |
677 'cld_dynamic%': 0, | |
667 'enable_printing%': 0, | 678 'enable_printing%': 0, |
668 'enable_session_service%': 0, | 679 'enable_session_service%': 0, |
669 'enable_themes%': 0, | 680 'enable_themes%': 0, |
670 'enable_webrtc%': 0, | 681 'enable_webrtc%': 0, |
671 'notifications%': 0, | 682 'notifications%': 0, |
672 'remoting%': 0, | 683 'remoting%': 0, |
673 'safe_browsing%': 0, | 684 'safe_browsing%': 0, |
674 'enable_managed_users%': 0, | 685 'enable_managed_users%': 0, |
675 'enable_task_manager%': 0, | 686 'enable_task_manager%': 0, |
676 }], | 687 }], |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
954 'linux_use_gold_flags%': '<(linux_use_gold_flags)', | 965 'linux_use_gold_flags%': '<(linux_use_gold_flags)', |
955 'use_canvas_skia%': '<(use_canvas_skia)', | 966 'use_canvas_skia%': '<(use_canvas_skia)', |
956 'test_isolation_mode%': '<(test_isolation_mode)', | 967 'test_isolation_mode%': '<(test_isolation_mode)', |
957 'test_isolation_outdir%': '<(test_isolation_outdir)', | 968 'test_isolation_outdir%': '<(test_isolation_outdir)', |
958 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', | 969 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', |
959 'enable_automation%': '<(enable_automation)', | 970 'enable_automation%': '<(enable_automation)', |
960 'enable_printing%': '<(enable_printing)', | 971 'enable_printing%': '<(enable_printing)', |
961 'enable_spellcheck%': '<(enable_spellcheck)', | 972 'enable_spellcheck%': '<(enable_spellcheck)', |
962 'enable_google_now%': '<(enable_google_now)', | 973 'enable_google_now%': '<(enable_google_now)', |
963 'cld_version%': '<(cld_version)', | 974 'cld_version%': '<(cld_version)', |
975 'cld_dynamic%': '<(cld_dynamic)', | |
964 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', | 976 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', |
965 'disable_ftp_support%': '<(disable_ftp_support)', | 977 'disable_ftp_support%': '<(disable_ftp_support)', |
966 'enable_task_manager%': '<(enable_task_manager)', | 978 'enable_task_manager%': '<(enable_task_manager)', |
967 'sas_dll_path%': '<(sas_dll_path)', | 979 'sas_dll_path%': '<(sas_dll_path)', |
968 'wix_path%': '<(wix_path)', | 980 'wix_path%': '<(wix_path)', |
969 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', | 981 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', |
970 'use_system_libjpeg%': '<(use_system_libjpeg)', | 982 'use_system_libjpeg%': '<(use_system_libjpeg)', |
971 'android_webview_build%': '<(android_webview_build)', | 983 'android_webview_build%': '<(android_webview_build)', |
972 'gyp_managed_install%': 0, | 984 'gyp_managed_install%': 0, |
973 'create_standalone_apk%': 1, | 985 'create_standalone_apk%': 1, |
(...skipping 1464 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
2438 }], | 2450 }], |
2439 ['enable_automation==1', { | 2451 ['enable_automation==1', { |
2440 'defines': ['ENABLE_AUTOMATION=1'], | 2452 'defines': ['ENABLE_AUTOMATION=1'], |
2441 }], | 2453 }], |
2442 ['enable_google_now==1', { | 2454 ['enable_google_now==1', { |
2443 'defines': ['ENABLE_GOOGLE_NOW=1'], | 2455 'defines': ['ENABLE_GOOGLE_NOW=1'], |
2444 }], | 2456 }], |
2445 ['cld_version!=0', { | 2457 ['cld_version!=0', { |
2446 'defines': ['CLD_VERSION=<(cld_version)'], | 2458 'defines': ['CLD_VERSION=<(cld_version)'], |
2447 }], | 2459 }], |
2460 ['cld_dynamic!=0', { | |
2461 'defines': ['CLD2_DYNAMIC_MODE=1'], | |
2462 }], | |
2448 ['enable_printing==1', { | 2463 ['enable_printing==1', { |
2449 'defines': ['ENABLE_FULL_PRINTING=1', 'ENABLE_PRINTING=1'], | 2464 'defines': ['ENABLE_FULL_PRINTING=1', 'ENABLE_PRINTING=1'], |
2450 }], | 2465 }], |
2451 ['enable_printing==2', { | 2466 ['enable_printing==2', { |
2452 'defines': ['ENABLE_PRINTING=1'], | 2467 'defines': ['ENABLE_PRINTING=1'], |
2453 }], | 2468 }], |
2454 ['enable_spellcheck==1', { | 2469 ['enable_spellcheck==1', { |
2455 'defines': ['ENABLE_SPELLCHECK=1'], | 2470 'defines': ['ENABLE_SPELLCHECK=1'], |
2456 }], | 2471 }], |
2457 ['enable_captive_portal_detection==1', { | 2472 ['enable_captive_portal_detection==1', { |
(...skipping 2575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
5033 # settings in target dicts. SYMROOT is a special case, because many other | 5048 # settings in target dicts. SYMROOT is a special case, because many other |
5034 # Xcode variables depend on it, including variables such as | 5049 # Xcode variables depend on it, including variables such as |
5035 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5050 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5036 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5051 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5037 # files to appear (when present) in the UI as actual files and not red | 5052 # files to appear (when present) in the UI as actual files and not red |
5038 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5053 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5039 # and therefore SYMROOT, needs to be set at the project level. | 5054 # and therefore SYMROOT, needs to be set at the project level. |
5040 'SYMROOT': '<(DEPTH)/xcodebuild', | 5055 'SYMROOT': '<(DEPTH)/xcodebuild', |
5041 }, | 5056 }, |
5042 } | 5057 } |
OLD | NEW |