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

Side by Side Diff: build/common.gypi

Issue 216923006: Add a component updater for the CLD2 data file. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Switch to default component installer and traits Created 6 years, 8 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 430 matching lines...) Expand 10 before | Expand all | Expand 10 after
441 # 1: Medium tables, medium accuracy 441 # 1: Medium tables, medium accuracy
442 # 2: Large tables, high accuracy 442 # 2: Large tables, high accuracy
443 'cld2_table_size%': 2, 443 'cld2_table_size%': 2,
444 444
445 # Set the way CLD is compiled. Only evaluated if cld_version == 2. 445 # Set the way CLD is compiled. Only evaluated if cld_version == 2.
446 # 0: static, language scoring tables compiled into the binary 446 # 0: static, language scoring tables compiled into the binary
447 # 1: dynamic, language scoring tables live in a data file that must 447 # 1: dynamic, language scoring tables live in a data file that must
448 # be loaded at runtime. 448 # be loaded at runtime.
449 'cld2_dynamic%': 0, 449 'cld2_dynamic%': 0,
450 450
451 # Whether CLD2 is a component. Only evaluated if cld_version == 2 and
452 # cld2_dynamic == 1.
453 # 0: Not a component. If cld2_dynamic == 1, it is up to the distribution
454 # to ensure that the data file is provided if desired.
455 # 1: Componentized. CLD data should be obtained via the Component
456 # Updater.
457 'cld2_is_component%': 0,
458
451 # Enable spell checker. 459 # Enable spell checker.
452 'enable_spellcheck%': 1, 460 'enable_spellcheck%': 1,
453 461
454 # Webrtc compilation is enabled by default. Set to 0 to disable. 462 # Webrtc compilation is enabled by default. Set to 0 to disable.
455 'enable_webrtc%': 1, 463 'enable_webrtc%': 1,
456 464
457 # Enables use of the session service, which is enabled by default. 465 # Enables use of the session service, which is enabled by default.
458 # Support for disabling depends on the platform. 466 # Support for disabling depends on the platform.
459 'enable_session_service%': 1, 467 'enable_session_service%': 1,
460 468
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
644 'image_loader_extension%': 0, 652 'image_loader_extension%': 0,
645 }], 653 }],
646 654
647 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { 655 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', {
648 'enable_one_click_signin%': 1, 656 'enable_one_click_signin%': 1,
649 }], 657 }],
650 658
651 ['OS=="android"', { 659 ['OS=="android"', {
652 'enable_extensions%': 0, 660 'enable_extensions%': 0,
653 'enable_google_now%': 0, 661 'enable_google_now%': 0,
654 'cld_version%': 1, 662 'cld_version%': 2,
655 'cld2_dynamic%': 0, 663 'cld2_dynamic%': 1,
664 'cld2_is_component%': 1,
656 'enable_spellcheck%': 0, 665 'enable_spellcheck%': 0,
657 'enable_themes%': 0, 666 'enable_themes%': 0,
658 'remoting%': 0, 667 'remoting%': 0,
659 'arm_neon%': 0, 668 'arm_neon%': 0,
660 'arm_neon_optional%': 1, 669 'arm_neon_optional%': 1,
661 'native_discardable_memory%': 1, 670 'native_discardable_memory%': 1,
662 'native_memory_pressure_signals%': 1, 671 'native_memory_pressure_signals%': 1,
663 'enable_printing%': 2, 672 'enable_printing%': 2,
664 'enable_task_manager%':0, 673 'enable_task_manager%':0,
665 # Set to 1 once we have a notification system for Android. 674 # Set to 1 once we have a notification system for Android.
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
1015 'use_canvas_skia%': '<(use_canvas_skia)', 1024 'use_canvas_skia%': '<(use_canvas_skia)',
1016 'test_isolation_mode%': '<(test_isolation_mode)', 1025 'test_isolation_mode%': '<(test_isolation_mode)',
1017 'test_isolation_outdir%': '<(test_isolation_outdir)', 1026 'test_isolation_outdir%': '<(test_isolation_outdir)',
1018 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', 1027 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)',
1019 'enable_printing%': '<(enable_printing)', 1028 'enable_printing%': '<(enable_printing)',
1020 'enable_spellcheck%': '<(enable_spellcheck)', 1029 'enable_spellcheck%': '<(enable_spellcheck)',
1021 'enable_google_now%': '<(enable_google_now)', 1030 'enable_google_now%': '<(enable_google_now)',
1022 'cld_version%': '<(cld_version)', 1031 'cld_version%': '<(cld_version)',
1023 'cld2_table_size%': '<(cld2_table_size)', 1032 'cld2_table_size%': '<(cld2_table_size)',
1024 'cld2_dynamic%': '<(cld2_dynamic)', 1033 'cld2_dynamic%': '<(cld2_dynamic)',
1034 'cld2_is_component%': '<(cld2_is_component)',
1025 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', 1035 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)',
1026 'disable_ftp_support%': '<(disable_ftp_support)', 1036 'disable_ftp_support%': '<(disable_ftp_support)',
1027 'enable_task_manager%': '<(enable_task_manager)', 1037 'enable_task_manager%': '<(enable_task_manager)',
1028 'sas_dll_path%': '<(sas_dll_path)', 1038 'sas_dll_path%': '<(sas_dll_path)',
1029 'wix_path%': '<(wix_path)', 1039 'wix_path%': '<(wix_path)',
1030 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', 1040 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)',
1031 'use_system_libjpeg%': '<(use_system_libjpeg)', 1041 'use_system_libjpeg%': '<(use_system_libjpeg)',
1032 'android_webview_build%': '<(android_webview_build)', 1042 'android_webview_build%': '<(android_webview_build)',
1033 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)', 1043 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)',
1034 'gyp_managed_install%': 0, 1044 'gyp_managed_install%': 0,
(...skipping 1520 matching lines...) Expand 10 before | Expand all | Expand 10 after
2555 }], 2565 }],
2556 ['enable_google_now==1', { 2566 ['enable_google_now==1', {
2557 'defines': ['ENABLE_GOOGLE_NOW=1'], 2567 'defines': ['ENABLE_GOOGLE_NOW=1'],
2558 }], 2568 }],
2559 ['cld_version!=0', { 2569 ['cld_version!=0', {
2560 'defines': ['CLD_VERSION=<(cld_version)'], 2570 'defines': ['CLD_VERSION=<(cld_version)'],
2561 }], 2571 }],
2562 ['cld2_dynamic!=0', { 2572 ['cld2_dynamic!=0', {
2563 'defines': ['CLD2_DYNAMIC_MODE=1'], 2573 'defines': ['CLD2_DYNAMIC_MODE=1'],
2564 }], 2574 }],
2575 ['cld2_is_component!=0', {
2576 'defines': ['CLD2_IS_COMPONENT=1'],
2577 }],
2565 ['enable_printing==1', { 2578 ['enable_printing==1', {
2566 'defines': ['ENABLE_FULL_PRINTING=1', 'ENABLE_PRINTING=1'], 2579 'defines': ['ENABLE_FULL_PRINTING=1', 'ENABLE_PRINTING=1'],
2567 }], 2580 }],
2568 ['enable_printing==2', { 2581 ['enable_printing==2', {
2569 'defines': ['ENABLE_PRINTING=1'], 2582 'defines': ['ENABLE_PRINTING=1'],
2570 }], 2583 }],
2571 ['enable_spellcheck==1', { 2584 ['enable_spellcheck==1', {
2572 'defines': ['ENABLE_SPELLCHECK=1'], 2585 'defines': ['ENABLE_SPELLCHECK=1'],
2573 }], 2586 }],
2574 ['enable_captive_portal_detection==1', { 2587 ['enable_captive_portal_detection==1', {
(...skipping 2679 matching lines...) Expand 10 before | Expand all | Expand 10 after
5254 # settings in target dicts. SYMROOT is a special case, because many other 5267 # settings in target dicts. SYMROOT is a special case, because many other
5255 # Xcode variables depend on it, including variables such as 5268 # Xcode variables depend on it, including variables such as
5256 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5269 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5257 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5270 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5258 # files to appear (when present) in the UI as actual files and not red 5271 # files to appear (when present) in the UI as actual files and not red
5259 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5272 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5260 # and therefore SYMROOT, needs to be set at the project level. 5273 # and therefore SYMROOT, needs to be set at the project level.
5261 'SYMROOT': '<(DEPTH)/xcodebuild', 5274 'SYMROOT': '<(DEPTH)/xcodebuild',
5262 }, 5275 },
5263 } 5276 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main.cc » ('j') | chrome/browser/translate/translate_tab_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698