OLD | NEW |
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 453 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
464 | 464 |
465 # The data acquisition mode for CLD2. Possible values are: | 465 # The data acquisition mode for CLD2. Possible values are: |
466 # static: CLD2 data is statically linked to the executable. | 466 # static: CLD2 data is statically linked to the executable. |
467 # standalone: CLD2 data is provided in a standalone file that is | 467 # standalone: CLD2 data is provided in a standalone file that is |
468 # bundled with the executable. | 468 # bundled with the executable. |
469 # component: CLD2 data is provided as a Chrome "component" and is | 469 # component: CLD2 data is provided as a Chrome "component" and is |
470 # downloaded via the component updater. | 470 # downloaded via the component updater. |
471 # | 471 # |
472 # For more information on switching the CLD2 data source, see: | 472 # For more information on switching the CLD2 data source, see: |
473 # https://sites.google.com/a/chromium.org/dev/developers/how-tos/compact
-language-detector-cld-data-source-configuration | 473 # https://sites.google.com/a/chromium.org/dev/developers/how-tos/compact
-language-detector-cld-data-source-configuration |
| 474 # |
| 475 # This string will be exposed in chrome://translate-internals under the |
| 476 # heading "CLD Data Source". This allows easy determination of which |
| 477 # data source the browser was built with. |
474 'cld2_data_source%': 'static', | 478 'cld2_data_source%': 'static', |
475 | 479 |
476 # Enable spell checker. | 480 # Enable spell checker. |
477 'enable_spellcheck%': 1, | 481 'enable_spellcheck%': 1, |
478 | 482 |
479 # Webrtc compilation is enabled by default. Set to 0 to disable. | 483 # Webrtc compilation is enabled by default. Set to 0 to disable. |
480 'enable_webrtc%': 1, | 484 'enable_webrtc%': 1, |
481 | 485 |
482 # Enables use of the session service, which is enabled by default. | 486 # Enables use of the session service, which is enabled by default. |
483 # Support for disabling depends on the platform. | 487 # Support for disabling depends on the platform. |
(...skipping 2259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2743 }], | 2747 }], |
2744 ['enable_background==1', { | 2748 ['enable_background==1', { |
2745 'defines': ['ENABLE_BACKGROUND=1'], | 2749 'defines': ['ENABLE_BACKGROUND=1'], |
2746 }], | 2750 }], |
2747 ['enable_google_now==1', { | 2751 ['enable_google_now==1', { |
2748 'defines': ['ENABLE_GOOGLE_NOW=1'], | 2752 'defines': ['ENABLE_GOOGLE_NOW=1'], |
2749 }], | 2753 }], |
2750 ['cld_version!=0', { | 2754 ['cld_version!=0', { |
2751 'defines': ['CLD_VERSION=<(cld_version)'], | 2755 'defines': ['CLD_VERSION=<(cld_version)'], |
2752 }], | 2756 }], |
| 2757 ['cld_version==2', { |
| 2758 # This is used to populate the "CLD Data Source" field in: |
| 2759 # chrome://translate-internals |
| 2760 'defines': ['CLD2_DATA_SOURCE=<(cld2_data_source)'], |
| 2761 }], |
2753 ['cld2_data_source=="static"', { | 2762 ['cld2_data_source=="static"', { |
2754 'defines': ['CLD_DATA_FROM_STATIC'], | 2763 'defines': ['CLD_DATA_FROM_STATIC'], |
2755 }, { | 2764 }, { |
2756 # CLD2 headers use this #define to control the visibility of dynamic | 2765 # CLD2 headers use this #define to control the visibility of dynamic |
2757 # mode functions. We use these functions, so we must define here for | 2766 # mode functions. We use these functions, so we must define here for |
2758 # our #includes to work right. | 2767 # our #includes to work right. |
2759 'defines': ['CLD2_DYNAMIC_MODE'], | 2768 'defines': ['CLD2_DYNAMIC_MODE'], |
2760 }], | 2769 }], |
2761 ['cld2_data_source=="standalone"', { | 2770 ['cld2_data_source=="standalone"', { |
2762 'defines': ['CLD_DATA_FROM_STANDALONE'], | 2771 'defines': ['CLD_DATA_FROM_STANDALONE'], |
(...skipping 2853 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5616 # settings in target dicts. SYMROOT is a special case, because many other | 5625 # settings in target dicts. SYMROOT is a special case, because many other |
5617 # Xcode variables depend on it, including variables such as | 5626 # Xcode variables depend on it, including variables such as |
5618 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5627 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5619 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5628 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5620 # files to appear (when present) in the UI as actual files and not red | 5629 # files to appear (when present) in the UI as actual files and not red |
5621 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5630 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5622 # and therefore SYMROOT, needs to be set at the project level. | 5631 # and therefore SYMROOT, needs to be set at the project level. |
5623 'SYMROOT': '<(DEPTH)/xcodebuild', | 5632 'SYMROOT': '<(DEPTH)/xcodebuild', |
5624 }, | 5633 }, |
5625 } | 5634 } |
OLD | NEW |