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 2835 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2846 'defines': ['CLD_VERSION=<(cld_version)'], | 2846 'defines': ['CLD_VERSION=<(cld_version)'], |
2847 }], | 2847 }], |
2848 ['cld_version==2', { | 2848 ['cld_version==2', { |
2849 # This is used to populate the "CLD Data Source" field in: | 2849 # This is used to populate the "CLD Data Source" field in: |
2850 # chrome://translate-internals | 2850 # chrome://translate-internals |
2851 'defines': ['CLD2_DATA_SOURCE=<(cld2_data_source)'], | 2851 'defines': ['CLD2_DATA_SOURCE=<(cld2_data_source)'], |
2852 }], | 2852 }], |
2853 ['enable_printing==1', { | 2853 ['enable_printing==1', { |
2854 'defines': ['ENABLE_FULL_PRINTING=1', 'ENABLE_PRINTING=1'], | 2854 'defines': ['ENABLE_FULL_PRINTING=1', 'ENABLE_PRINTING=1'], |
2855 }], | 2855 }], |
| 2856 ['enable_printing==1 and OS=="win"', { |
| 2857 'defines': ['DISABLE_BASIC_PRINTING=1'], |
| 2858 }], |
2856 ['enable_printing==2', { | 2859 ['enable_printing==2', { |
2857 'defines': ['ENABLE_PRINTING=1'], | 2860 'defines': ['ENABLE_PRINTING=1'], |
2858 }], | 2861 }], |
2859 ['enable_spellcheck==1', { | 2862 ['enable_spellcheck==1', { |
2860 'defines': ['ENABLE_SPELLCHECK=1'], | 2863 'defines': ['ENABLE_SPELLCHECK=1'], |
2861 }], | 2864 }], |
2862 ['enable_captive_portal_detection==1', { | 2865 ['enable_captive_portal_detection==1', { |
2863 'defines': ['ENABLE_CAPTIVE_PORTAL_DETECTION=1'], | 2866 'defines': ['ENABLE_CAPTIVE_PORTAL_DETECTION=1'], |
2864 }], | 2867 }], |
2865 ['enable_app_list==1', { | 2868 ['enable_app_list==1', { |
(...skipping 2893 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5759 # settings in target dicts. SYMROOT is a special case, because many other | 5762 # settings in target dicts. SYMROOT is a special case, because many other |
5760 # Xcode variables depend on it, including variables such as | 5763 # Xcode variables depend on it, including variables such as |
5761 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5764 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5762 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5765 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5763 # files to appear (when present) in the UI as actual files and not red | 5766 # files to appear (when present) in the UI as actual files and not red |
5764 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5767 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5765 # and therefore SYMROOT, needs to be set at the project level. | 5768 # and therefore SYMROOT, needs to be set at the project level. |
5766 'SYMROOT': '<(DEPTH)/xcodebuild', | 5769 'SYMROOT': '<(DEPTH)/xcodebuild', |
5767 }, | 5770 }, |
5768 } | 5771 } |
OLD | NEW |