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

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 latest master 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 406 matching lines...) Expand 10 before | Expand all | Expand 10 after
417 # Metafile (e.g. usually a PDF or EMF) and disables print preview, cloud 417 # Metafile (e.g. usually a PDF or EMF) and disables print preview, cloud
418 # print, UI, etc. 418 # print, UI, etc.
419 'enable_printing%': 1, 419 'enable_printing%': 1,
420 420
421 # Set the version of CLD. 421 # Set the version of CLD.
422 # 0: Don't specify the version. This option is for the Finch testing. 422 # 0: Don't specify the version. This option is for the Finch testing.
423 # 1: Use only CLD1. 423 # 1: Use only CLD1.
424 # 2: Use only CLD2. 424 # 2: Use only CLD2.
425 'cld_version%': 2, 425 'cld_version%': 2,
426 426
427 # Set the way CLD is compiled
428 # 0: static, language scoring tables compiled into the binary
429 # 1: dynamic, language scoring tables live in a data file that must be l oaded at runtime
430 'cld_dynamic%': 0,
431
427 # Enable spell checker. 432 # Enable spell checker.
428 'enable_spellcheck%': 1, 433 'enable_spellcheck%': 1,
429 434
430 # Webrtc compilation is enabled by default. Set to 0 to disable. 435 # Webrtc compilation is enabled by default. Set to 0 to disable.
431 'enable_webrtc%': 1, 436 'enable_webrtc%': 1,
432 437
433 # Enables use of the session service, which is enabled by default. 438 # Enables use of the session service, which is enabled by default.
434 # Support for disabling depends on the platform. 439 # Support for disabling depends on the platform.
435 'enable_session_service%': 1, 440 'enable_session_service%': 1,
436 441
(...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after
611 616
612 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { 617 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', {
613 'enable_one_click_signin%': 1, 618 'enable_one_click_signin%': 1,
614 }], 619 }],
615 620
616 ['OS=="android"', { 621 ['OS=="android"', {
617 'enable_automation%': 0, 622 'enable_automation%': 0,
618 'enable_extensions%': 0, 623 'enable_extensions%': 0,
619 'enable_google_now%': 0, 624 'enable_google_now%': 0,
620 'cld_version%': 1, 625 'cld_version%': 1,
626 'cld_dynamic%': 0,
621 'enable_spellcheck%': 0, 627 'enable_spellcheck%': 0,
622 'enable_themes%': 0, 628 'enable_themes%': 0,
623 'remoting%': 0, 629 'remoting%': 0,
624 'arm_neon%': 0, 630 'arm_neon%': 0,
625 'arm_neon_optional%': 1, 631 'arm_neon_optional%': 1,
626 'native_discardable_memory%': 1, 632 'native_discardable_memory%': 1,
627 'native_memory_pressure_signals%': 1, 633 'native_memory_pressure_signals%': 1,
628 'enable_printing%': 2, 634 'enable_printing%': 2,
629 'enable_task_manager%':0, 635 'enable_task_manager%':0,
630 # Set to 1 once we have a notification system for Android. 636 # Set to 1 once we have a notification system for Android.
(...skipping 30 matching lines...) Expand all
661 ['OS=="android" and android_webview_build==1', { 667 ['OS=="android" and android_webview_build==1', {
662 'enable_webrtc%': 0, 668 'enable_webrtc%': 0,
663 }], 669 }],
664 670
665 ['OS=="ios"', { 671 ['OS=="ios"', {
666 'disable_ftp_support%': 1, 672 'disable_ftp_support%': 1,
667 'enable_automation%': 0, 673 'enable_automation%': 0,
668 'enable_extensions%': 0, 674 'enable_extensions%': 0,
669 'enable_google_now%': 0, 675 'enable_google_now%': 0,
670 'cld_version%': 1, 676 'cld_version%': 1,
677 'cld_dynamic%': 0,
671 'enable_printing%': 0, 678 'enable_printing%': 0,
672 'enable_session_service%': 0, 679 'enable_session_service%': 0,
673 'enable_themes%': 0, 680 'enable_themes%': 0,
674 'enable_webrtc%': 0, 681 'enable_webrtc%': 0,
675 'notifications%': 0, 682 'notifications%': 0,
676 'remoting%': 0, 683 'remoting%': 0,
677 'safe_browsing%': 0, 684 'safe_browsing%': 0,
678 'enable_managed_users%': 0, 685 'enable_managed_users%': 0,
679 'enable_task_manager%': 0, 686 'enable_task_manager%': 0,
680 }], 687 }],
(...skipping 290 matching lines...) Expand 10 before | Expand all | Expand 10 after
971 'linux_use_gold_flags%': '<(linux_use_gold_flags)', 978 'linux_use_gold_flags%': '<(linux_use_gold_flags)',
972 'use_canvas_skia%': '<(use_canvas_skia)', 979 'use_canvas_skia%': '<(use_canvas_skia)',
973 'test_isolation_mode%': '<(test_isolation_mode)', 980 'test_isolation_mode%': '<(test_isolation_mode)',
974 'test_isolation_outdir%': '<(test_isolation_outdir)', 981 'test_isolation_outdir%': '<(test_isolation_outdir)',
975 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', 982 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)',
976 'enable_automation%': '<(enable_automation)', 983 'enable_automation%': '<(enable_automation)',
977 'enable_printing%': '<(enable_printing)', 984 'enable_printing%': '<(enable_printing)',
978 'enable_spellcheck%': '<(enable_spellcheck)', 985 'enable_spellcheck%': '<(enable_spellcheck)',
979 'enable_google_now%': '<(enable_google_now)', 986 'enable_google_now%': '<(enable_google_now)',
980 'cld_version%': '<(cld_version)', 987 'cld_version%': '<(cld_version)',
988 'cld_dynamic%': '<(cld_dynamic)',
981 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', 989 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)',
982 'disable_ftp_support%': '<(disable_ftp_support)', 990 'disable_ftp_support%': '<(disable_ftp_support)',
983 'enable_task_manager%': '<(enable_task_manager)', 991 'enable_task_manager%': '<(enable_task_manager)',
984 'sas_dll_path%': '<(sas_dll_path)', 992 'sas_dll_path%': '<(sas_dll_path)',
985 'wix_path%': '<(wix_path)', 993 'wix_path%': '<(wix_path)',
986 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', 994 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)',
987 'use_system_libjpeg%': '<(use_system_libjpeg)', 995 'use_system_libjpeg%': '<(use_system_libjpeg)',
988 'android_webview_build%': '<(android_webview_build)', 996 'android_webview_build%': '<(android_webview_build)',
989 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)', 997 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)',
990 'gyp_managed_install%': 0, 998 'gyp_managed_install%': 0,
(...skipping 1468 matching lines...) Expand 10 before | Expand all | Expand 10 after
2459 }], 2467 }],
2460 ['enable_automation==1', { 2468 ['enable_automation==1', {
2461 'defines': ['ENABLE_AUTOMATION=1'], 2469 'defines': ['ENABLE_AUTOMATION=1'],
2462 }], 2470 }],
2463 ['enable_google_now==1', { 2471 ['enable_google_now==1', {
2464 'defines': ['ENABLE_GOOGLE_NOW=1'], 2472 'defines': ['ENABLE_GOOGLE_NOW=1'],
2465 }], 2473 }],
2466 ['cld_version!=0', { 2474 ['cld_version!=0', {
2467 'defines': ['CLD_VERSION=<(cld_version)'], 2475 'defines': ['CLD_VERSION=<(cld_version)'],
2468 }], 2476 }],
2477 ['cld_dynamic!=0', {
2478 'defines': ['CLD2_DYNAMIC_MODE=1'],
2479 }],
2469 ['enable_printing==1', { 2480 ['enable_printing==1', {
2470 'defines': ['ENABLE_FULL_PRINTING=1', 'ENABLE_PRINTING=1'], 2481 'defines': ['ENABLE_FULL_PRINTING=1', 'ENABLE_PRINTING=1'],
2471 }], 2482 }],
2472 ['enable_printing==2', { 2483 ['enable_printing==2', {
2473 'defines': ['ENABLE_PRINTING=1'], 2484 'defines': ['ENABLE_PRINTING=1'],
2474 }], 2485 }],
2475 ['enable_spellcheck==1', { 2486 ['enable_spellcheck==1', {
2476 'defines': ['ENABLE_SPELLCHECK=1'], 2487 'defines': ['ENABLE_SPELLCHECK=1'],
2477 }], 2488 }],
2478 ['enable_captive_portal_detection==1', { 2489 ['enable_captive_portal_detection==1', {
(...skipping 2624 matching lines...) Expand 10 before | Expand all | Expand 10 after
5103 # settings in target dicts. SYMROOT is a special case, because many other 5114 # settings in target dicts. SYMROOT is a special case, because many other
5104 # Xcode variables depend on it, including variables such as 5115 # Xcode variables depend on it, including variables such as
5105 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5116 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5106 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5117 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5107 # files to appear (when present) in the UI as actual files and not red 5118 # files to appear (when present) in the UI as actual files and not red
5108 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5119 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5109 # and therefore SYMROOT, needs to be set at the project level. 5120 # and therefore SYMROOT, needs to be set at the project level.
5110 'SYMROOT': '<(DEPTH)/xcodebuild', 5121 'SYMROOT': '<(DEPTH)/xcodebuild',
5111 }, 5122 },
5112 } 5123 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/translate/translate_tab_helper.h » ('j') | chrome/browser/translate/translate_tab_helper.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698