| 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 2746 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2757 'defines': ['ENABLE_GOOGLE_NOW=1'], | 2757 'defines': ['ENABLE_GOOGLE_NOW=1'], |
| 2758 }], | 2758 }], |
| 2759 ['cld_version!=0', { | 2759 ['cld_version!=0', { |
| 2760 'defines': ['CLD_VERSION=<(cld_version)'], | 2760 'defines': ['CLD_VERSION=<(cld_version)'], |
| 2761 }], | 2761 }], |
| 2762 ['cld_version==2', { | 2762 ['cld_version==2', { |
| 2763 # This is used to populate the "CLD Data Source" field in: | 2763 # This is used to populate the "CLD Data Source" field in: |
| 2764 # chrome://translate-internals | 2764 # chrome://translate-internals |
| 2765 'defines': ['CLD2_DATA_SOURCE=<(cld2_data_source)'], | 2765 'defines': ['CLD2_DATA_SOURCE=<(cld2_data_source)'], |
| 2766 }], | 2766 }], |
| 2767 ['cld2_data_source=="static"', { | 2767 ['cld_version==2 and cld2_data_source=="static"', { |
| 2768 'defines': ['CLD_DATA_FROM_STATIC'], | 2768 'defines': ['CLD_DATA_FROM_STATIC'], |
| 2769 }, { | |
| 2770 # CLD2 headers use this #define to control the visibility of dynamic | |
| 2771 # mode functions. We use these functions, so we must define here for | |
| 2772 # our #includes to work right. | |
| 2773 'defines': ['CLD2_DYNAMIC_MODE'], | |
| 2774 }], | 2769 }], |
| 2775 ['cld2_data_source=="standalone"', { | 2770 ['cld_version==2 and cld2_data_source=="standalone"', { |
| 2776 'defines': ['CLD_DATA_FROM_STANDALONE'], | 2771 'defines': ['CLD_DATA_FROM_STANDALONE'], |
| 2777 }], | 2772 }], |
| 2778 ['cld2_data_source=="component"', { | 2773 ['cld_version==2 and cld2_data_source=="component"', { |
| 2779 'defines': ['CLD_DATA_FROM_COMPONENT'], | 2774 'defines': ['CLD_DATA_FROM_COMPONENT'], |
| 2780 }], | 2775 }], |
| 2781 ['enable_printing==1', { | 2776 ['enable_printing==1', { |
| 2782 'defines': ['ENABLE_FULL_PRINTING=1', 'ENABLE_PRINTING=1'], | 2777 'defines': ['ENABLE_FULL_PRINTING=1', 'ENABLE_PRINTING=1'], |
| 2783 }], | 2778 }], |
| 2784 ['enable_printing==2', { | 2779 ['enable_printing==2', { |
| 2785 'defines': ['ENABLE_PRINTING=1'], | 2780 'defines': ['ENABLE_PRINTING=1'], |
| 2786 }], | 2781 }], |
| 2787 ['OS=="win" and win_pdf_metafile_for_printing==1', { | 2782 ['OS=="win" and win_pdf_metafile_for_printing==1', { |
| 2788 'defines': ['WIN_PDF_METAFILE_FOR_PRINTING=1'], | 2783 'defines': ['WIN_PDF_METAFILE_FOR_PRINTING=1'], |
| (...skipping 2869 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5658 # settings in target dicts. SYMROOT is a special case, because many other | 5653 # settings in target dicts. SYMROOT is a special case, because many other |
| 5659 # Xcode variables depend on it, including variables such as | 5654 # Xcode variables depend on it, including variables such as |
| 5660 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5655 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 5661 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5656 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 5662 # files to appear (when present) in the UI as actual files and not red | 5657 # files to appear (when present) in the UI as actual files and not red |
| 5663 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5658 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 5664 # and therefore SYMROOT, needs to be set at the project level. | 5659 # and therefore SYMROOT, needs to be set at the project level. |
| 5665 'SYMROOT': '<(DEPTH)/xcodebuild', | 5660 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 5666 }, | 5661 }, |
| 5667 } | 5662 } |
| OLD | NEW |