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

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 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 # For CLD2, the size of the tables that should be included in the build 427 # For CLD2, the size of the tables that should be included in the build
428 # Only evaluated if cld_version == 2. 428 # Only evaluated if cld_version == 2 or if building the CLD2 dynamic data tool explicitly.
bulach 2014/03/23 20:57:02 nit: there's no strict limit, but from 414-418, tr
Andrew Hayden (chromium.org) 2014/03/24 15:18:24 Done.
bulach 2014/03/25 09:29:26 sorry to keep pinging here, but it still looks >80
bulach 2014/03/26 19:06:45 ping?
429 # See third_party/cld_2/cld_2.gyp for more information. 429 # See third_party/cld_2/cld_2.gyp for more information.
430 # 0: Small tables, lower accuracy 430 # 0: Small tables, lower accuracy
431 # 1: Medium tables, medium accuracy 431 # 1: Medium tables, medium accuracy
432 # 2: Large tables, high accuracy 432 # 2: Large tables, high accuracy
433 'cld2_table_size%': 2, 433 'cld2_table_size%': 2,
434 434
435 # Set the way CLD is compiled
436 # 0: static, language scoring tables compiled into the binary
437 # 1: dynamic, language scoring tables live in a data file that must be l oaded at runtime
bulach 2014/03/23 20:57:02 nit: <80cols
Andrew Hayden (chromium.org) 2014/03/24 15:18:24 Done.
438 'cld_dynamic%': 0,
439
435 # Enable spell checker. 440 # Enable spell checker.
436 'enable_spellcheck%': 1, 441 'enable_spellcheck%': 1,
437 442
438 # Webrtc compilation is enabled by default. Set to 0 to disable. 443 # Webrtc compilation is enabled by default. Set to 0 to disable.
439 'enable_webrtc%': 1, 444 'enable_webrtc%': 1,
440 445
441 # Enables use of the session service, which is enabled by default. 446 # Enables use of the session service, which is enabled by default.
442 # Support for disabling depends on the platform. 447 # Support for disabling depends on the platform.
443 'enable_session_service%': 1, 448 'enable_session_service%': 1,
444 449
(...skipping 177 matching lines...) Expand 10 before | Expand all | Expand 10 after
622 627
623 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { 628 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', {
624 'enable_one_click_signin%': 1, 629 'enable_one_click_signin%': 1,
625 }], 630 }],
626 631
627 ['OS=="android"', { 632 ['OS=="android"', {
628 'enable_automation%': 0, 633 'enable_automation%': 0,
629 'enable_extensions%': 0, 634 'enable_extensions%': 0,
630 'enable_google_now%': 0, 635 'enable_google_now%': 0,
631 'cld_version%': 1, 636 'cld_version%': 1,
637 'cld_dynamic%': 0,
632 'enable_spellcheck%': 0, 638 'enable_spellcheck%': 0,
633 'enable_themes%': 0, 639 'enable_themes%': 0,
634 'remoting%': 0, 640 'remoting%': 0,
635 'arm_neon%': 0, 641 'arm_neon%': 0,
636 'arm_neon_optional%': 1, 642 'arm_neon_optional%': 1,
637 'native_discardable_memory%': 1, 643 'native_discardable_memory%': 1,
638 'native_memory_pressure_signals%': 1, 644 'native_memory_pressure_signals%': 1,
639 'enable_printing%': 2, 645 'enable_printing%': 2,
640 'enable_task_manager%':0, 646 'enable_task_manager%':0,
641 # Set to 1 once we have a notification system for Android. 647 # Set to 1 once we have a notification system for Android.
(...skipping 30 matching lines...) Expand all
672 ['OS=="android" and android_webview_build==1', { 678 ['OS=="android" and android_webview_build==1', {
673 'enable_webrtc%': 0, 679 'enable_webrtc%': 0,
674 }], 680 }],
675 681
676 ['OS=="ios"', { 682 ['OS=="ios"', {
677 'disable_ftp_support%': 1, 683 'disable_ftp_support%': 1,
678 'enable_automation%': 0, 684 'enable_automation%': 0,
679 'enable_extensions%': 0, 685 'enable_extensions%': 0,
680 'enable_google_now%': 0, 686 'enable_google_now%': 0,
681 'cld_version%': 1, 687 'cld_version%': 1,
688 'cld_dynamic%': 0,
682 'enable_printing%': 0, 689 'enable_printing%': 0,
683 'enable_session_service%': 0, 690 'enable_session_service%': 0,
684 'enable_themes%': 0, 691 'enable_themes%': 0,
685 'enable_webrtc%': 0, 692 'enable_webrtc%': 0,
686 'notifications%': 0, 693 'notifications%': 0,
687 'remoting%': 0, 694 'remoting%': 0,
688 'safe_browsing%': 0, 695 'safe_browsing%': 0,
689 'enable_managed_users%': 0, 696 'enable_managed_users%': 0,
690 'enable_task_manager%': 0, 697 'enable_task_manager%': 0,
691 }], 698 }],
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after
988 'use_canvas_skia%': '<(use_canvas_skia)', 995 'use_canvas_skia%': '<(use_canvas_skia)',
989 'test_isolation_mode%': '<(test_isolation_mode)', 996 'test_isolation_mode%': '<(test_isolation_mode)',
990 'test_isolation_outdir%': '<(test_isolation_outdir)', 997 'test_isolation_outdir%': '<(test_isolation_outdir)',
991 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', 998 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)',
992 'enable_automation%': '<(enable_automation)', 999 'enable_automation%': '<(enable_automation)',
993 'enable_printing%': '<(enable_printing)', 1000 'enable_printing%': '<(enable_printing)',
994 'enable_spellcheck%': '<(enable_spellcheck)', 1001 'enable_spellcheck%': '<(enable_spellcheck)',
995 'enable_google_now%': '<(enable_google_now)', 1002 'enable_google_now%': '<(enable_google_now)',
996 'cld_version%': '<(cld_version)', 1003 'cld_version%': '<(cld_version)',
997 'cld2_table_size%': '<(cld2_table_size)', 1004 'cld2_table_size%': '<(cld2_table_size)',
1005 'cld_dynamic%': '<(cld_dynamic)',
998 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', 1006 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)',
999 'disable_ftp_support%': '<(disable_ftp_support)', 1007 'disable_ftp_support%': '<(disable_ftp_support)',
1000 'enable_task_manager%': '<(enable_task_manager)', 1008 'enable_task_manager%': '<(enable_task_manager)',
1001 'sas_dll_path%': '<(sas_dll_path)', 1009 'sas_dll_path%': '<(sas_dll_path)',
1002 'wix_path%': '<(wix_path)', 1010 'wix_path%': '<(wix_path)',
1003 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', 1011 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)',
1004 'use_system_libjpeg%': '<(use_system_libjpeg)', 1012 'use_system_libjpeg%': '<(use_system_libjpeg)',
1005 'android_webview_build%': '<(android_webview_build)', 1013 'android_webview_build%': '<(android_webview_build)',
1006 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)', 1014 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)',
1007 'gyp_managed_install%': 0, 1015 'gyp_managed_install%': 0,
(...skipping 1487 matching lines...) Expand 10 before | Expand all | Expand 10 after
2495 }], 2503 }],
2496 ['enable_automation==1', { 2504 ['enable_automation==1', {
2497 'defines': ['ENABLE_AUTOMATION=1'], 2505 'defines': ['ENABLE_AUTOMATION=1'],
2498 }], 2506 }],
2499 ['enable_google_now==1', { 2507 ['enable_google_now==1', {
2500 'defines': ['ENABLE_GOOGLE_NOW=1'], 2508 'defines': ['ENABLE_GOOGLE_NOW=1'],
2501 }], 2509 }],
2502 ['cld_version!=0', { 2510 ['cld_version!=0', {
2503 'defines': ['CLD_VERSION=<(cld_version)'], 2511 'defines': ['CLD_VERSION=<(cld_version)'],
2504 }], 2512 }],
2513 ['cld_dynamic!=0', {
2514 'defines': ['CLD2_DYNAMIC_MODE=1'],
2515 }],
2505 ['enable_printing==1', { 2516 ['enable_printing==1', {
2506 'defines': ['ENABLE_FULL_PRINTING=1', 'ENABLE_PRINTING=1'], 2517 'defines': ['ENABLE_FULL_PRINTING=1', 'ENABLE_PRINTING=1'],
2507 }], 2518 }],
2508 ['enable_printing==2', { 2519 ['enable_printing==2', {
2509 'defines': ['ENABLE_PRINTING=1'], 2520 'defines': ['ENABLE_PRINTING=1'],
2510 }], 2521 }],
2511 ['enable_spellcheck==1', { 2522 ['enable_spellcheck==1', {
2512 'defines': ['ENABLE_SPELLCHECK=1'], 2523 'defines': ['ENABLE_SPELLCHECK=1'],
2513 }], 2524 }],
2514 ['enable_captive_portal_detection==1', { 2525 ['enable_captive_portal_detection==1', {
(...skipping 2637 matching lines...) Expand 10 before | Expand all | Expand 10 after
5152 # settings in target dicts. SYMROOT is a special case, because many other 5163 # settings in target dicts. SYMROOT is a special case, because many other
5153 # Xcode variables depend on it, including variables such as 5164 # Xcode variables depend on it, including variables such as
5154 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5165 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5155 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5166 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5156 # files to appear (when present) in the UI as actual files and not red 5167 # files to appear (when present) in the UI as actual files and not red
5157 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5168 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5158 # and therefore SYMROOT, needs to be set at the project level. 5169 # and therefore SYMROOT, needs to be set at the project level.
5159 'SYMROOT': '<(DEPTH)/xcodebuild', 5170 'SYMROOT': '<(DEPTH)/xcodebuild',
5160 }, 5171 },
5161 } 5172 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/translate/translate_tab_helper.h » ('j') | chrome/browser/translate/translate_tab_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698