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 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
425 # print, UI, etc. | 425 # print, UI, etc. |
426 'enable_printing%': 1, | 426 'enable_printing%': 1, |
427 | 427 |
428 # Set the version of CLD. | 428 # Set the version of CLD. |
429 # 0: Don't specify the version. This option is for the Finch testing. | 429 # 0: Don't specify the version. This option is for the Finch testing. |
430 # 1: Use only CLD1. | 430 # 1: Use only CLD1. |
431 # 2: Use only CLD2. | 431 # 2: Use only CLD2. |
432 'cld_version%': 2, | 432 'cld_version%': 2, |
433 | 433 |
434 # For CLD2, the size of the tables that should be included in the build | 434 # For CLD2, the size of the tables that should be included in the build |
435 # Only evaluated if cld_version == 2. | 435 # Only evaluated if cld_version == 2 or if building the CLD2 dynamic data |
| 436 # tool explicitly. |
436 # See third_party/cld_2/cld_2.gyp for more information. | 437 # See third_party/cld_2/cld_2.gyp for more information. |
437 # 0: Small tables, lower accuracy | 438 # 0: Small tables, lower accuracy |
438 # 1: Medium tables, medium accuracy | 439 # 1: Medium tables, medium accuracy |
439 # 2: Large tables, high accuracy | 440 # 2: Large tables, high accuracy |
440 'cld2_table_size%': 2, | 441 'cld2_table_size%': 2, |
441 | 442 |
| 443 # Set the way CLD is compiled. Only evaluated if cld_version == 2. |
| 444 # 0: static, language scoring tables compiled into the binary |
| 445 # 1: dynamic, language scoring tables live in a data file that must |
| 446 # be loaded at runtime. |
| 447 'cld2_dynamic%': 0, |
| 448 |
442 # Enable spell checker. | 449 # Enable spell checker. |
443 'enable_spellcheck%': 1, | 450 'enable_spellcheck%': 1, |
444 | 451 |
445 # Webrtc compilation is enabled by default. Set to 0 to disable. | 452 # Webrtc compilation is enabled by default. Set to 0 to disable. |
446 'enable_webrtc%': 1, | 453 'enable_webrtc%': 1, |
447 | 454 |
448 # Enables use of the session service, which is enabled by default. | 455 # Enables use of the session service, which is enabled by default. |
449 # Support for disabling depends on the platform. | 456 # Support for disabling depends on the platform. |
450 'enable_session_service%': 1, | 457 'enable_session_service%': 1, |
451 | 458 |
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
629 | 636 |
630 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { | 637 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { |
631 'enable_one_click_signin%': 1, | 638 'enable_one_click_signin%': 1, |
632 }], | 639 }], |
633 | 640 |
634 ['OS=="android"', { | 641 ['OS=="android"', { |
635 'enable_automation%': 0, | 642 'enable_automation%': 0, |
636 'enable_extensions%': 0, | 643 'enable_extensions%': 0, |
637 'enable_google_now%': 0, | 644 'enable_google_now%': 0, |
638 'cld_version%': 1, | 645 'cld_version%': 1, |
| 646 'cld2_dynamic%': 0, |
639 'enable_spellcheck%': 0, | 647 'enable_spellcheck%': 0, |
640 'enable_themes%': 0, | 648 'enable_themes%': 0, |
641 'remoting%': 0, | 649 'remoting%': 0, |
642 'arm_neon%': 0, | 650 'arm_neon%': 0, |
643 'arm_neon_optional%': 1, | 651 'arm_neon_optional%': 1, |
644 'native_discardable_memory%': 1, | 652 'native_discardable_memory%': 1, |
645 'native_memory_pressure_signals%': 1, | 653 'native_memory_pressure_signals%': 1, |
646 'enable_printing%': 2, | 654 'enable_printing%': 2, |
647 'enable_task_manager%':0, | 655 'enable_task_manager%':0, |
648 # Set to 1 once we have a notification system for Android. | 656 # Set to 1 once we have a notification system for Android. |
(...skipping 30 matching lines...) Expand all Loading... |
679 ['OS=="android" and android_webview_build==1', { | 687 ['OS=="android" and android_webview_build==1', { |
680 'enable_webrtc%': 0, | 688 'enable_webrtc%': 0, |
681 }], | 689 }], |
682 | 690 |
683 ['OS=="ios"', { | 691 ['OS=="ios"', { |
684 'disable_ftp_support%': 1, | 692 'disable_ftp_support%': 1, |
685 'enable_automation%': 0, | 693 'enable_automation%': 0, |
686 'enable_extensions%': 0, | 694 'enable_extensions%': 0, |
687 'enable_google_now%': 0, | 695 'enable_google_now%': 0, |
688 'cld_version%': 1, | 696 'cld_version%': 1, |
| 697 'cld2_dynamic%': 0, |
689 'enable_printing%': 0, | 698 'enable_printing%': 0, |
690 'enable_session_service%': 0, | 699 'enable_session_service%': 0, |
691 'enable_themes%': 0, | 700 'enable_themes%': 0, |
692 'enable_webrtc%': 0, | 701 'enable_webrtc%': 0, |
693 'notifications%': 0, | 702 'notifications%': 0, |
694 'remoting%': 0, | 703 'remoting%': 0, |
695 'safe_browsing%': 0, | 704 'safe_browsing%': 0, |
696 'enable_managed_users%': 0, | 705 'enable_managed_users%': 0, |
697 'enable_task_manager%': 0, | 706 'enable_task_manager%': 0, |
698 }], | 707 }], |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
995 'use_canvas_skia%': '<(use_canvas_skia)', | 1004 'use_canvas_skia%': '<(use_canvas_skia)', |
996 'test_isolation_mode%': '<(test_isolation_mode)', | 1005 'test_isolation_mode%': '<(test_isolation_mode)', |
997 'test_isolation_outdir%': '<(test_isolation_outdir)', | 1006 'test_isolation_outdir%': '<(test_isolation_outdir)', |
998 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', | 1007 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', |
999 'enable_automation%': '<(enable_automation)', | 1008 'enable_automation%': '<(enable_automation)', |
1000 'enable_printing%': '<(enable_printing)', | 1009 'enable_printing%': '<(enable_printing)', |
1001 'enable_spellcheck%': '<(enable_spellcheck)', | 1010 'enable_spellcheck%': '<(enable_spellcheck)', |
1002 'enable_google_now%': '<(enable_google_now)', | 1011 'enable_google_now%': '<(enable_google_now)', |
1003 'cld_version%': '<(cld_version)', | 1012 'cld_version%': '<(cld_version)', |
1004 'cld2_table_size%': '<(cld2_table_size)', | 1013 'cld2_table_size%': '<(cld2_table_size)', |
| 1014 'cld2_dynamic%': '<(cld2_dynamic)', |
1005 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', | 1015 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', |
1006 'disable_ftp_support%': '<(disable_ftp_support)', | 1016 'disable_ftp_support%': '<(disable_ftp_support)', |
1007 'enable_task_manager%': '<(enable_task_manager)', | 1017 'enable_task_manager%': '<(enable_task_manager)', |
1008 'sas_dll_path%': '<(sas_dll_path)', | 1018 'sas_dll_path%': '<(sas_dll_path)', |
1009 'wix_path%': '<(wix_path)', | 1019 'wix_path%': '<(wix_path)', |
1010 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', | 1020 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', |
1011 'use_system_libjpeg%': '<(use_system_libjpeg)', | 1021 'use_system_libjpeg%': '<(use_system_libjpeg)', |
1012 'android_webview_build%': '<(android_webview_build)', | 1022 'android_webview_build%': '<(android_webview_build)', |
1013 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)', | 1023 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)', |
1014 'gyp_managed_install%': 0, | 1024 'gyp_managed_install%': 0, |
(...skipping 1490 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2505 }], | 2515 }], |
2506 ['enable_automation==1', { | 2516 ['enable_automation==1', { |
2507 'defines': ['ENABLE_AUTOMATION=1'], | 2517 'defines': ['ENABLE_AUTOMATION=1'], |
2508 }], | 2518 }], |
2509 ['enable_google_now==1', { | 2519 ['enable_google_now==1', { |
2510 'defines': ['ENABLE_GOOGLE_NOW=1'], | 2520 'defines': ['ENABLE_GOOGLE_NOW=1'], |
2511 }], | 2521 }], |
2512 ['cld_version!=0', { | 2522 ['cld_version!=0', { |
2513 'defines': ['CLD_VERSION=<(cld_version)'], | 2523 'defines': ['CLD_VERSION=<(cld_version)'], |
2514 }], | 2524 }], |
| 2525 ['cld2_dynamic!=0', { |
| 2526 'defines': ['CLD2_DYNAMIC_MODE=1'], |
| 2527 }], |
2515 ['enable_printing==1', { | 2528 ['enable_printing==1', { |
2516 'defines': ['ENABLE_FULL_PRINTING=1', 'ENABLE_PRINTING=1'], | 2529 'defines': ['ENABLE_FULL_PRINTING=1', 'ENABLE_PRINTING=1'], |
2517 }], | 2530 }], |
2518 ['enable_printing==2', { | 2531 ['enable_printing==2', { |
2519 'defines': ['ENABLE_PRINTING=1'], | 2532 'defines': ['ENABLE_PRINTING=1'], |
2520 }], | 2533 }], |
2521 ['enable_spellcheck==1', { | 2534 ['enable_spellcheck==1', { |
2522 'defines': ['ENABLE_SPELLCHECK=1'], | 2535 'defines': ['ENABLE_SPELLCHECK=1'], |
2523 }], | 2536 }], |
2524 ['enable_captive_portal_detection==1', { | 2537 ['enable_captive_portal_detection==1', { |
(...skipping 2651 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5176 # settings in target dicts. SYMROOT is a special case, because many other | 5189 # settings in target dicts. SYMROOT is a special case, because many other |
5177 # Xcode variables depend on it, including variables such as | 5190 # Xcode variables depend on it, including variables such as |
5178 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5191 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5179 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5192 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5180 # files to appear (when present) in the UI as actual files and not red | 5193 # files to appear (when present) in the UI as actual files and not red |
5181 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5194 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5182 # and therefore SYMROOT, needs to be set at the project level. | 5195 # and therefore SYMROOT, needs to be set at the project level. |
5183 'SYMROOT': '<(DEPTH)/xcodebuild', | 5196 'SYMROOT': '<(DEPTH)/xcodebuild', |
5184 }, | 5197 }, |
5185 } | 5198 } |
OLD | NEW |