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

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: Rebase onto latest master 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 424 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 # 1: Medium tables, medium accuracy 435 # 1: Medium tables, medium accuracy
436 # 2: Large tables, high accuracy 436 # 2: Large tables, high accuracy
437 'cld2_table_size%': 2, 437 'cld2_table_size%': 2,
438 438
439 # Set the way CLD is compiled. Only evaluated if cld_version == 2. 439 # Set the way CLD is compiled. Only evaluated if cld_version == 2.
440 # 0: static, language scoring tables compiled into the binary 440 # 0: static, language scoring tables compiled into the binary
441 # 1: dynamic, language scoring tables live in a data file that must 441 # 1: dynamic, language scoring tables live in a data file that must
442 # be loaded at runtime. 442 # be loaded at runtime.
443 'cld2_dynamic%': 0, 443 'cld2_dynamic%': 0,
444 444
445 # Whether CLD2 is a component. Only evaluated if cld_version == 2 and
446 # cld2_dynamic == 1.
447 # 0: Not a component. If cld2_dynamic == 1, it is up to the distribution
448 # to ensure that the data file is provided if desired.
449 # 1: Componentized. CLD data should be obtained via the Component
450 # Updater.
451 'cld2_is_component%': 0,
452
445 # Enable spell checker. 453 # Enable spell checker.
446 'enable_spellcheck%': 1, 454 'enable_spellcheck%': 1,
447 455
448 # Webrtc compilation is enabled by default. Set to 0 to disable. 456 # Webrtc compilation is enabled by default. Set to 0 to disable.
449 'enable_webrtc%': 1, 457 'enable_webrtc%': 1,
450 458
451 # Enables use of the session service, which is enabled by default. 459 # Enables use of the session service, which is enabled by default.
452 # Support for disabling depends on the platform. 460 # Support for disabling depends on the platform.
453 'enable_session_service%': 1, 461 'enable_session_service%': 1,
454 462
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after
633 'image_loader_extension%': 0, 641 'image_loader_extension%': 0,
634 }], 642 }],
635 643
636 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { 644 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', {
637 'enable_one_click_signin%': 1, 645 'enable_one_click_signin%': 1,
638 }], 646 }],
639 647
640 ['OS=="android"', { 648 ['OS=="android"', {
641 'enable_extensions%': 0, 649 'enable_extensions%': 0,
642 'enable_google_now%': 0, 650 'enable_google_now%': 0,
643 'cld_version%': 1, 651 'cld_version%': 2,
644 'cld2_dynamic%': 0, 652 'cld2_dynamic%': 1,
653 'cld2_is_component%': 1,
645 'enable_spellcheck%': 0, 654 'enable_spellcheck%': 0,
646 'enable_themes%': 0, 655 'enable_themes%': 0,
647 'remoting%': 0, 656 'remoting%': 0,
648 'arm_neon%': 0, 657 'arm_neon%': 0,
649 'arm_neon_optional%': 1, 658 'arm_neon_optional%': 1,
650 'native_discardable_memory%': 1, 659 'native_discardable_memory%': 1,
651 'native_memory_pressure_signals%': 1, 660 'native_memory_pressure_signals%': 1,
652 'enable_printing%': 2, 661 'enable_printing%': 2,
653 'enable_task_manager%':0, 662 'enable_task_manager%':0,
654 # Set to 1 once we have a notification system for Android. 663 # Set to 1 once we have a notification system for Android.
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
1004 'use_canvas_skia%': '<(use_canvas_skia)', 1013 'use_canvas_skia%': '<(use_canvas_skia)',
1005 'test_isolation_mode%': '<(test_isolation_mode)', 1014 'test_isolation_mode%': '<(test_isolation_mode)',
1006 'test_isolation_outdir%': '<(test_isolation_outdir)', 1015 'test_isolation_outdir%': '<(test_isolation_outdir)',
1007 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', 1016 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)',
1008 'enable_printing%': '<(enable_printing)', 1017 'enable_printing%': '<(enable_printing)',
1009 'enable_spellcheck%': '<(enable_spellcheck)', 1018 'enable_spellcheck%': '<(enable_spellcheck)',
1010 'enable_google_now%': '<(enable_google_now)', 1019 'enable_google_now%': '<(enable_google_now)',
1011 'cld_version%': '<(cld_version)', 1020 'cld_version%': '<(cld_version)',
1012 'cld2_table_size%': '<(cld2_table_size)', 1021 'cld2_table_size%': '<(cld2_table_size)',
1013 'cld2_dynamic%': '<(cld2_dynamic)', 1022 'cld2_dynamic%': '<(cld2_dynamic)',
1023 'cld2_is_component%': '<(cld2_is_component)',
1014 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', 1024 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)',
1015 'disable_ftp_support%': '<(disable_ftp_support)', 1025 'disable_ftp_support%': '<(disable_ftp_support)',
1016 'enable_task_manager%': '<(enable_task_manager)', 1026 'enable_task_manager%': '<(enable_task_manager)',
1017 'sas_dll_path%': '<(sas_dll_path)', 1027 'sas_dll_path%': '<(sas_dll_path)',
1018 'wix_path%': '<(wix_path)', 1028 'wix_path%': '<(wix_path)',
1019 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', 1029 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)',
1020 'use_system_libjpeg%': '<(use_system_libjpeg)', 1030 'use_system_libjpeg%': '<(use_system_libjpeg)',
1021 'android_webview_build%': '<(android_webview_build)', 1031 'android_webview_build%': '<(android_webview_build)',
1022 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)', 1032 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)',
1023 'gyp_managed_install%': 0, 1033 'gyp_managed_install%': 0,
(...skipping 1512 matching lines...) Expand 10 before | Expand all | Expand 10 after
2536 }], 2546 }],
2537 ['enable_google_now==1', { 2547 ['enable_google_now==1', {
2538 'defines': ['ENABLE_GOOGLE_NOW=1'], 2548 'defines': ['ENABLE_GOOGLE_NOW=1'],
2539 }], 2549 }],
2540 ['cld_version!=0', { 2550 ['cld_version!=0', {
2541 'defines': ['CLD_VERSION=<(cld_version)'], 2551 'defines': ['CLD_VERSION=<(cld_version)'],
2542 }], 2552 }],
2543 ['cld2_dynamic!=0', { 2553 ['cld2_dynamic!=0', {
2544 'defines': ['CLD2_DYNAMIC_MODE=1'], 2554 'defines': ['CLD2_DYNAMIC_MODE=1'],
2545 }], 2555 }],
2556 ['cld2_is_component!=0', {
2557 'defines': ['CLD2_IS_COMPONENT=1'],
2558 }],
2546 ['enable_printing==1', { 2559 ['enable_printing==1', {
2547 'defines': ['ENABLE_FULL_PRINTING=1', 'ENABLE_PRINTING=1'], 2560 'defines': ['ENABLE_FULL_PRINTING=1', 'ENABLE_PRINTING=1'],
2548 }], 2561 }],
2549 ['enable_printing==2', { 2562 ['enable_printing==2', {
2550 'defines': ['ENABLE_PRINTING=1'], 2563 'defines': ['ENABLE_PRINTING=1'],
2551 }], 2564 }],
2552 ['enable_spellcheck==1', { 2565 ['enable_spellcheck==1', {
2553 'defines': ['ENABLE_SPELLCHECK=1'], 2566 'defines': ['ENABLE_SPELLCHECK=1'],
2554 }], 2567 }],
2555 ['enable_captive_portal_detection==1', { 2568 ['enable_captive_portal_detection==1', {
(...skipping 2660 matching lines...) Expand 10 before | Expand all | Expand 10 after
5216 # settings in target dicts. SYMROOT is a special case, because many other 5229 # settings in target dicts. SYMROOT is a special case, because many other
5217 # Xcode variables depend on it, including variables such as 5230 # Xcode variables depend on it, including variables such as
5218 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5231 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5219 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5232 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5220 # files to appear (when present) in the UI as actual files and not red 5233 # files to appear (when present) in the UI as actual files and not red
5221 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5234 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5222 # and therefore SYMROOT, needs to be set at the project level. 5235 # and therefore SYMROOT, needs to be set at the project level.
5223 'SYMROOT': '<(DEPTH)/xcodebuild', 5236 'SYMROOT': '<(DEPTH)/xcodebuild',
5224 }, 5237 },
5225 } 5238 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main.cc » ('j') | chrome/browser/component_updater/cld_component_installer.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698