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

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: Rebase onto the CLD2 deps roll change, update readme 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%': 1,
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 173 matching lines...) Expand 10 before | Expand all | Expand 10 after
607 }], 612 }],
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,
jochen (gone - plz use gerrit) 2014/03/12 13:08:27 what's this comment supposed to tell me?
Andrew Hayden (chromium.org) 2014/03/13 16:39:48 I'll take this out. It's just there for me to conv
623 # to switch to dynamic CLD2:
624 # 'cld_version%': 2,
625 # 'cld_dynamic%': 1,
626 'cld_version%': 2,
627 'cld_dynamic%': 1,
618 'enable_spellcheck%': 0, 628 'enable_spellcheck%': 0,
619 'enable_themes%': 0, 629 'enable_themes%': 0,
620 'remoting%': 0, 630 'remoting%': 0,
621 'arm_neon%': 0, 631 'arm_neon%': 0,
622 'arm_neon_optional%': 1, 632 'arm_neon_optional%': 1,
623 'native_discardable_memory%': 1, 633 'native_discardable_memory%': 1,
624 'native_memory_pressure_signals%': 1, 634 'native_memory_pressure_signals%': 1,
625 'enable_printing%': 2, 635 'enable_printing%': 2,
626 'enable_task_manager%':0, 636 'enable_task_manager%':0,
627 # Set to 1 once we have a notification system for Android. 637 # Set to 1 once we have a notification system for Android.
(...skipping 23 matching lines...) Expand all
651 ['OS=="android"', { 661 ['OS=="android"', {
652 'enable_webrtc%': 1, 662 'enable_webrtc%': 1,
653 }], 663 }],
654 664
655 ['OS=="ios"', { 665 ['OS=="ios"', {
656 'disable_ftp_support%': 1, 666 'disable_ftp_support%': 1,
657 'enable_automation%': 0, 667 'enable_automation%': 0,
658 'enable_extensions%': 0, 668 'enable_extensions%': 0,
659 'enable_google_now%': 0, 669 'enable_google_now%': 0,
660 'cld_version%': 1, 670 'cld_version%': 1,
671 'cld_dynamic%': 0,
661 'enable_printing%': 0, 672 'enable_printing%': 0,
662 'enable_session_service%': 0, 673 'enable_session_service%': 0,
663 'enable_themes%': 0, 674 'enable_themes%': 0,
664 'enable_webrtc%': 0, 675 'enable_webrtc%': 0,
665 'notifications%': 0, 676 'notifications%': 0,
666 'remoting%': 0, 677 'remoting%': 0,
667 'safe_browsing%': 0, 678 'safe_browsing%': 0,
668 'enable_managed_users%': 0, 679 'enable_managed_users%': 0,
669 'enable_task_manager%': 0, 680 'enable_task_manager%': 0,
670 }], 681 }],
(...skipping 289 matching lines...) Expand 10 before | Expand all | Expand 10 after
960 'linux_use_gold_flags%': '<(linux_use_gold_flags)', 971 'linux_use_gold_flags%': '<(linux_use_gold_flags)',
961 'use_canvas_skia%': '<(use_canvas_skia)', 972 'use_canvas_skia%': '<(use_canvas_skia)',
962 'test_isolation_mode%': '<(test_isolation_mode)', 973 'test_isolation_mode%': '<(test_isolation_mode)',
963 'test_isolation_outdir%': '<(test_isolation_outdir)', 974 'test_isolation_outdir%': '<(test_isolation_outdir)',
964 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', 975 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)',
965 'enable_automation%': '<(enable_automation)', 976 'enable_automation%': '<(enable_automation)',
966 'enable_printing%': '<(enable_printing)', 977 'enable_printing%': '<(enable_printing)',
967 'enable_spellcheck%': '<(enable_spellcheck)', 978 'enable_spellcheck%': '<(enable_spellcheck)',
968 'enable_google_now%': '<(enable_google_now)', 979 'enable_google_now%': '<(enable_google_now)',
969 'cld_version%': '<(cld_version)', 980 'cld_version%': '<(cld_version)',
981 'cld_dynamic%': '<(cld_dynamic)',
970 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', 982 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)',
971 'disable_ftp_support%': '<(disable_ftp_support)', 983 'disable_ftp_support%': '<(disable_ftp_support)',
972 'enable_task_manager%': '<(enable_task_manager)', 984 'enable_task_manager%': '<(enable_task_manager)',
973 'sas_dll_path%': '<(sas_dll_path)', 985 'sas_dll_path%': '<(sas_dll_path)',
974 'wix_path%': '<(wix_path)', 986 'wix_path%': '<(wix_path)',
975 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', 987 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)',
976 'use_system_libjpeg%': '<(use_system_libjpeg)', 988 'use_system_libjpeg%': '<(use_system_libjpeg)',
977 'android_webview_build%': '<(android_webview_build)', 989 'android_webview_build%': '<(android_webview_build)',
978 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)', 990 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)',
979 'gyp_managed_install%': 0, 991 'gyp_managed_install%': 0,
(...skipping 1464 matching lines...) Expand 10 before | Expand all | Expand 10 after
2444 }], 2456 }],
2445 ['enable_automation==1', { 2457 ['enable_automation==1', {
2446 'defines': ['ENABLE_AUTOMATION=1'], 2458 'defines': ['ENABLE_AUTOMATION=1'],
2447 }], 2459 }],
2448 ['enable_google_now==1', { 2460 ['enable_google_now==1', {
2449 'defines': ['ENABLE_GOOGLE_NOW=1'], 2461 'defines': ['ENABLE_GOOGLE_NOW=1'],
2450 }], 2462 }],
2451 ['cld_version!=0', { 2463 ['cld_version!=0', {
2452 'defines': ['CLD_VERSION=<(cld_version)'], 2464 'defines': ['CLD_VERSION=<(cld_version)'],
2453 }], 2465 }],
2466 ['cld_dynamic!=0', {
2467 'defines': ['CLD2_DYNAMIC_MODE=1'],
2468 }],
2454 ['enable_printing==1', { 2469 ['enable_printing==1', {
2455 'defines': ['ENABLE_FULL_PRINTING=1', 'ENABLE_PRINTING=1'], 2470 'defines': ['ENABLE_FULL_PRINTING=1', 'ENABLE_PRINTING=1'],
2456 }], 2471 }],
2457 ['enable_printing==2', { 2472 ['enable_printing==2', {
2458 'defines': ['ENABLE_PRINTING=1'], 2473 'defines': ['ENABLE_PRINTING=1'],
2459 }], 2474 }],
2460 ['enable_spellcheck==1', { 2475 ['enable_spellcheck==1', {
2461 'defines': ['ENABLE_SPELLCHECK=1'], 2476 'defines': ['ENABLE_SPELLCHECK=1'],
2462 }], 2477 }],
2463 ['enable_captive_portal_detection==1', { 2478 ['enable_captive_portal_detection==1', {
(...skipping 2566 matching lines...) Expand 10 before | Expand all | Expand 10 after
5030 # settings in target dicts. SYMROOT is a special case, because many other 5045 # settings in target dicts. SYMROOT is a special case, because many other
5031 # Xcode variables depend on it, including variables such as 5046 # Xcode variables depend on it, including variables such as
5032 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5047 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5033 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5048 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5034 # files to appear (when present) in the UI as actual files and not red 5049 # files to appear (when present) in the UI as actual files and not red
5035 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5050 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5036 # and therefore SYMROOT, needs to be set at the project level. 5051 # and therefore SYMROOT, needs to be set at the project level.
5037 'SYMROOT': '<(DEPTH)/xcodebuild', 5052 'SYMROOT': '<(DEPTH)/xcodebuild',
5038 }, 5053 },
5039 } 5054 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698