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

Side by Side Diff: build/common.gypi

Issue 187393005: Make it possible to read CLD data from a file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Hack around lack of common IsTranslatableURL Created 6 years, 9 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
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 # 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 403 matching lines...) Expand 10 before | Expand all | Expand 10 after
414 # Metafile (e.g. usually a PDF or EMF) and disables print preview, cloud 414 # Metafile (e.g. usually a PDF or EMF) and disables print preview, cloud
415 # print, UI, etc. 415 # print, UI, etc.
416 'enable_printing%': 1, 416 'enable_printing%': 1,
417 417
418 # Set the version of CLD. 418 # Set the version of CLD.
419 # 0: Don't specify the version. This option is for the Finch testing. 419 # 0: Don't specify the version. This option is for the Finch testing.
420 # 1: Use only CLD1. 420 # 1: Use only CLD1.
421 # 2: Use only CLD2. 421 # 2: Use only CLD2.
422 'cld_version%': 2, 422 'cld_version%': 2,
423 423
424 # Set the way CLD is compiled
425 # 0: static, language scoring tables compiled into the binary
426 # 1: dynamic, language scoring tables live in a data file that must be l oaded at runtime
427 'cld_dynamic%': 0,
428
424 # Enable spell checker. 429 # Enable spell checker.
425 'enable_spellcheck%': 1, 430 'enable_spellcheck%': 1,
426 431
427 # Webrtc compilation is enabled by default. Set to 0 to disable. 432 # Webrtc compilation is enabled by default. Set to 0 to disable.
428 'enable_webrtc%': 1, 433 'enable_webrtc%': 1,
429 434
430 # Enables use of the session service, which is enabled by default. 435 # Enables use of the session service, which is enabled by default.
431 # Support for disabling depends on the platform. 436 # Support for disabling depends on the platform.
432 'enable_session_service%': 1, 437 'enable_session_service%': 1,
433 438
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
608 613
609 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { 614 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', {
610 'enable_one_click_signin%': 1, 615 'enable_one_click_signin%': 1,
611 }], 616 }],
612 617
613 ['OS=="android"', { 618 ['OS=="android"', {
614 'enable_automation%': 0, 619 'enable_automation%': 0,
615 'enable_extensions%': 0, 620 'enable_extensions%': 0,
616 'enable_google_now%': 0, 621 'enable_google_now%': 0,
617 'cld_version%': 1, 622 'cld_version%': 1,
623 'cld_dynamic%': 0,
618 'enable_spellcheck%': 0, 624 'enable_spellcheck%': 0,
619 'enable_themes%': 0, 625 'enable_themes%': 0,
620 'remoting%': 0, 626 'remoting%': 0,
621 'arm_neon%': 0, 627 'arm_neon%': 0,
622 'arm_neon_optional%': 1, 628 'arm_neon_optional%': 1,
623 'native_discardable_memory%': 1, 629 'native_discardable_memory%': 1,
624 'native_memory_pressure_signals%': 1, 630 'native_memory_pressure_signals%': 1,
625 'enable_printing%': 2, 631 'enable_printing%': 2,
626 'enable_task_manager%':0, 632 'enable_task_manager%':0,
627 # Set to 1 once we have a notification system for Android. 633 # Set to 1 once we have a notification system for Android.
(...skipping 23 matching lines...) Expand all
651 ['OS=="android"', { 657 ['OS=="android"', {
652 'enable_webrtc%': 1, 658 'enable_webrtc%': 1,
653 }], 659 }],
654 660
655 ['OS=="ios"', { 661 ['OS=="ios"', {
656 'disable_ftp_support%': 1, 662 'disable_ftp_support%': 1,
657 'enable_automation%': 0, 663 'enable_automation%': 0,
658 'enable_extensions%': 0, 664 'enable_extensions%': 0,
659 'enable_google_now%': 0, 665 'enable_google_now%': 0,
660 'cld_version%': 1, 666 'cld_version%': 1,
667 'cld_dynamic%': 0,
661 'enable_printing%': 0, 668 'enable_printing%': 0,
662 'enable_session_service%': 0, 669 'enable_session_service%': 0,
663 'enable_themes%': 0, 670 'enable_themes%': 0,
664 'enable_webrtc%': 0, 671 'enable_webrtc%': 0,
665 'notifications%': 0, 672 'notifications%': 0,
666 'remoting%': 0, 673 'remoting%': 0,
667 'safe_browsing%': 0, 674 'safe_browsing%': 0,
668 'enable_managed_users%': 0, 675 'enable_managed_users%': 0,
669 'enable_task_manager%': 0, 676 'enable_task_manager%': 0,
670 }], 677 }],
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
960 'linux_use_gold_flags%': '<(linux_use_gold_flags)', 967 'linux_use_gold_flags%': '<(linux_use_gold_flags)',
961 'use_canvas_skia%': '<(use_canvas_skia)', 968 'use_canvas_skia%': '<(use_canvas_skia)',
962 'test_isolation_mode%': '<(test_isolation_mode)', 969 'test_isolation_mode%': '<(test_isolation_mode)',
963 'test_isolation_outdir%': '<(test_isolation_outdir)', 970 'test_isolation_outdir%': '<(test_isolation_outdir)',
964 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', 971 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)',
965 'enable_automation%': '<(enable_automation)', 972 'enable_automation%': '<(enable_automation)',
966 'enable_printing%': '<(enable_printing)', 973 'enable_printing%': '<(enable_printing)',
967 'enable_spellcheck%': '<(enable_spellcheck)', 974 'enable_spellcheck%': '<(enable_spellcheck)',
968 'enable_google_now%': '<(enable_google_now)', 975 'enable_google_now%': '<(enable_google_now)',
969 'cld_version%': '<(cld_version)', 976 'cld_version%': '<(cld_version)',
977 'cld_dynamic%': '<(cld_dynamic)',
970 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', 978 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)',
971 'disable_ftp_support%': '<(disable_ftp_support)', 979 'disable_ftp_support%': '<(disable_ftp_support)',
972 'enable_task_manager%': '<(enable_task_manager)', 980 'enable_task_manager%': '<(enable_task_manager)',
973 'sas_dll_path%': '<(sas_dll_path)', 981 'sas_dll_path%': '<(sas_dll_path)',
974 'wix_path%': '<(wix_path)', 982 'wix_path%': '<(wix_path)',
975 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', 983 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)',
976 'use_system_libjpeg%': '<(use_system_libjpeg)', 984 'use_system_libjpeg%': '<(use_system_libjpeg)',
977 'android_webview_build%': '<(android_webview_build)', 985 'android_webview_build%': '<(android_webview_build)',
978 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)', 986 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)',
979 'gyp_managed_install%': 0, 987 'gyp_managed_install%': 0,
(...skipping 1456 matching lines...) Expand 10 before | Expand all | Expand 10 after
2436 }], 2444 }],
2437 ['enable_automation==1', { 2445 ['enable_automation==1', {
2438 'defines': ['ENABLE_AUTOMATION=1'], 2446 'defines': ['ENABLE_AUTOMATION=1'],
2439 }], 2447 }],
2440 ['enable_google_now==1', { 2448 ['enable_google_now==1', {
2441 'defines': ['ENABLE_GOOGLE_NOW=1'], 2449 'defines': ['ENABLE_GOOGLE_NOW=1'],
2442 }], 2450 }],
2443 ['cld_version!=0', { 2451 ['cld_version!=0', {
2444 'defines': ['CLD_VERSION=<(cld_version)'], 2452 'defines': ['CLD_VERSION=<(cld_version)'],
2445 }], 2453 }],
2454 ['cld_dynamic!=0', {
2455 'defines': ['CLD2_DYNAMIC_MODE=1'],
2456 }],
2446 ['enable_printing==1', { 2457 ['enable_printing==1', {
2447 'defines': ['ENABLE_FULL_PRINTING=1', 'ENABLE_PRINTING=1'], 2458 'defines': ['ENABLE_FULL_PRINTING=1', 'ENABLE_PRINTING=1'],
2448 }], 2459 }],
2449 ['enable_printing==2', { 2460 ['enable_printing==2', {
2450 'defines': ['ENABLE_PRINTING=1'], 2461 'defines': ['ENABLE_PRINTING=1'],
2451 }], 2462 }],
2452 ['enable_spellcheck==1', { 2463 ['enable_spellcheck==1', {
2453 'defines': ['ENABLE_SPELLCHECK=1'], 2464 'defines': ['ENABLE_SPELLCHECK=1'],
2454 }], 2465 }],
2455 ['enable_captive_portal_detection==1', { 2466 ['enable_captive_portal_detection==1', {
(...skipping 2596 matching lines...) Expand 10 before | Expand all | Expand 10 after
5052 # settings in target dicts. SYMROOT is a special case, because many other 5063 # settings in target dicts. SYMROOT is a special case, because many other
5053 # Xcode variables depend on it, including variables such as 5064 # Xcode variables depend on it, including variables such as
5054 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5065 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5055 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5066 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5056 # files to appear (when present) in the UI as actual files and not red 5067 # files to appear (when present) in the UI as actual files and not red
5057 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5068 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5058 # and therefore SYMROOT, needs to be set at the project level. 5069 # and therefore SYMROOT, needs to be set at the project level.
5059 'SYMROOT': '<(DEPTH)/xcodebuild', 5070 'SYMROOT': '<(DEPTH)/xcodebuild',
5060 }, 5071 },
5061 } 5072 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698