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

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: Style changes and avoid being flagged as leaking by the tools 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 432 matching lines...) Expand 10 before | Expand all | Expand 10 after
443 # 1: Medium tables, medium accuracy 443 # 1: Medium tables, medium accuracy
444 # 2: Large tables, high accuracy 444 # 2: Large tables, high accuracy
445 'cld2_table_size%': 2, 445 'cld2_table_size%': 2,
446 446
447 # Set the way CLD is compiled. Only evaluated if cld_version == 2. 447 # Set the way CLD is compiled. Only evaluated if cld_version == 2.
448 # 0: static, language scoring tables compiled into the binary 448 # 0: static, language scoring tables compiled into the binary
449 # 1: dynamic, language scoring tables live in a data file that must 449 # 1: dynamic, language scoring tables live in a data file that must
450 # be loaded at runtime. 450 # be loaded at runtime.
451 'cld2_dynamic%': 0, 451 'cld2_dynamic%': 0,
452 452
453 # Whether CLD2 is a component. Only evaluated if cld_version == 2 and
454 # cld2_dynamic == 1.
455 # 0: Not a component. If cld2_dynamic == 1, it is up to the distribution
456 # to ensure that the data file is provided if desired.
457 # 1: Componentized. CLD data should be obtained via the Component
458 # Updater.
459 'cld2_is_component%': 0,
460
453 # Enable spell checker. 461 # Enable spell checker.
454 'enable_spellcheck%': 1, 462 'enable_spellcheck%': 1,
455 463
456 # Webrtc compilation is enabled by default. Set to 0 to disable. 464 # Webrtc compilation is enabled by default. Set to 0 to disable.
457 'enable_webrtc%': 1, 465 'enable_webrtc%': 1,
458 466
459 # Enables use of the session service, which is enabled by default. 467 # Enables use of the session service, which is enabled by default.
460 # Support for disabling depends on the platform. 468 # Support for disabling depends on the platform.
461 'enable_session_service%': 1, 469 'enable_session_service%': 1,
462 470
(...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after
646 'image_loader_extension%': 0, 654 'image_loader_extension%': 0,
647 }], 655 }],
648 656
649 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', { 657 ['OS=="win" or OS=="mac" or (OS=="linux" and chromeos==0)', {
650 'enable_one_click_signin%': 1, 658 'enable_one_click_signin%': 1,
651 }], 659 }],
652 660
653 ['OS=="android"', { 661 ['OS=="android"', {
654 'enable_extensions%': 0, 662 'enable_extensions%': 0,
655 'enable_google_now%': 0, 663 'enable_google_now%': 0,
656 'cld_version%': 1, 664 'cld_version%': 2,
Andrew Hayden (chromium.org) 2014/04/18 08:11:17 These bits should be left unchanged for this submi
657 'cld2_dynamic%': 0, 665 'cld2_dynamic%': 1,
666 'cld2_is_component%': 1,
658 'enable_spellcheck%': 0, 667 'enable_spellcheck%': 0,
659 'enable_themes%': 0, 668 'enable_themes%': 0,
660 'remoting%': 0, 669 'remoting%': 0,
661 'arm_neon%': 0, 670 'arm_neon%': 0,
662 'arm_neon_optional%': 1, 671 'arm_neon_optional%': 1,
663 'native_discardable_memory%': 1, 672 'native_discardable_memory%': 1,
664 'native_memory_pressure_signals%': 1, 673 'native_memory_pressure_signals%': 1,
665 'enable_printing%': 2, 674 'enable_printing%': 2,
666 'enable_task_manager%':0, 675 'enable_task_manager%':0,
667 # Set to 1 once we have a notification system for Android. 676 # Set to 1 once we have a notification system for Android.
(...skipping 349 matching lines...) Expand 10 before | Expand all | Expand 10 after
1017 'use_canvas_skia%': '<(use_canvas_skia)', 1026 'use_canvas_skia%': '<(use_canvas_skia)',
1018 'test_isolation_mode%': '<(test_isolation_mode)', 1027 'test_isolation_mode%': '<(test_isolation_mode)',
1019 'test_isolation_outdir%': '<(test_isolation_outdir)', 1028 'test_isolation_outdir%': '<(test_isolation_outdir)',
1020 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)', 1029 'test_isolation_fail_on_missing': '<(test_isolation_fail_on_missing)',
1021 'enable_printing%': '<(enable_printing)', 1030 'enable_printing%': '<(enable_printing)',
1022 'enable_spellcheck%': '<(enable_spellcheck)', 1031 'enable_spellcheck%': '<(enable_spellcheck)',
1023 'enable_google_now%': '<(enable_google_now)', 1032 'enable_google_now%': '<(enable_google_now)',
1024 'cld_version%': '<(cld_version)', 1033 'cld_version%': '<(cld_version)',
1025 'cld2_table_size%': '<(cld2_table_size)', 1034 'cld2_table_size%': '<(cld2_table_size)',
1026 'cld2_dynamic%': '<(cld2_dynamic)', 1035 'cld2_dynamic%': '<(cld2_dynamic)',
1036 'cld2_is_component%': '<(cld2_is_component)',
1027 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)', 1037 'enable_captive_portal_detection%': '<(enable_captive_portal_detection)',
1028 'disable_ftp_support%': '<(disable_ftp_support)', 1038 'disable_ftp_support%': '<(disable_ftp_support)',
1029 'enable_task_manager%': '<(enable_task_manager)', 1039 'enable_task_manager%': '<(enable_task_manager)',
1030 'sas_dll_path%': '<(sas_dll_path)', 1040 'sas_dll_path%': '<(sas_dll_path)',
1031 'wix_path%': '<(wix_path)', 1041 'wix_path%': '<(wix_path)',
1032 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)', 1042 'use_libjpeg_turbo%': '<(use_libjpeg_turbo)',
1033 'use_system_libjpeg%': '<(use_system_libjpeg)', 1043 'use_system_libjpeg%': '<(use_system_libjpeg)',
1034 'android_webview_build%': '<(android_webview_build)', 1044 'android_webview_build%': '<(android_webview_build)',
1035 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)', 1045 'icu_use_data_file_flag%': '<(icu_use_data_file_flag)',
1036 'gyp_managed_install%': 0, 1046 'gyp_managed_install%': 0,
(...skipping 1518 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 2645 matching lines...) Expand 10 before | Expand all | Expand 10 after
5220 # settings in target dicts. SYMROOT is a special case, because many other 5233 # settings in target dicts. SYMROOT is a special case, because many other
5221 # Xcode variables depend on it, including variables such as 5234 # Xcode variables depend on it, including variables such as
5222 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5235 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5223 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5236 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5224 # files to appear (when present) in the UI as actual files and not red 5237 # files to appear (when present) in the UI as actual files and not red
5225 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5238 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5226 # and therefore SYMROOT, needs to be set at the project level. 5239 # and therefore SYMROOT, needs to be set at the project level.
5227 'SYMROOT': '<(DEPTH)/xcodebuild', 5240 'SYMROOT': '<(DEPTH)/xcodebuild',
5228 }, 5241 },
5229 } 5242 }
OLDNEW
« no previous file with comments | « no previous file | chrome/browser/chrome_browser_main.cc » ('j') | chrome/browser/chrome_browser_main.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698