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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
86 # conversion is done), some of the things which are now controlled by | 86 # conversion is done), some of the things which are now controlled by |
87 # 'branding', such as symbol generation, will need to be refactored | 87 # 'branding', such as symbol generation, will need to be refactored |
88 # based on 'buildtype' (i.e. we don't care about saving symbols for | 88 # based on 'buildtype' (i.e. we don't care about saving symbols for |
89 # non-Official # builds). | 89 # non-Official # builds). |
90 'buildtype%': 'Dev', | 90 'buildtype%': 'Dev', |
91 | 91 |
92 # Override branding to select the desired branding flavor. | 92 # Override branding to select the desired branding flavor. |
93 'branding%': 'Chromium', | 93 'branding%': 'Chromium', |
94 | 94 |
95 'conditions': [ | 95 'conditions': [ |
96 # ChromeOS and Windows use Aura and Ash. | 96 # Windows and Linux use Aura and Ash. |
97 ['chromeos==1 or OS=="win" or OS=="linux"', { | 97 ['OS=="win" or OS=="linux"', { |
98 'use_ash%': 1, | 98 'use_ash%': 1, |
99 'use_aura%': 1, | 99 'use_aura%': 1, |
100 }], | 100 }], |
101 | 101 |
102 ['chromecast==1 and OS!="android"', { | 102 ['chromecast==1 and OS!="android"', { |
103 'embedded%': 1, | 103 'embedded%': 1, |
104 'use_ozone%': 1, | 104 'use_ozone%': 1, |
105 }], | 105 }], |
106 | 106 |
107 # Ozone uses Aura. | 107 # Ozone uses Aura. |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
201 'toolkit_views%': 0, | 201 'toolkit_views%': 0, |
202 }], | 202 }], |
203 | 203 |
204 # Embedded builds use aura without ash or views. | 204 # Embedded builds use aura without ash or views. |
205 ['embedded==1', { | 205 ['embedded==1', { |
206 'use_aura%': 1, | 206 'use_aura%': 1, |
207 'use_ash%': 0, | 207 'use_ash%': 0, |
208 'toolkit_views%': 0, | 208 'toolkit_views%': 0, |
209 }], | 209 }], |
210 | 210 |
211 # Enable HiDPI on Mac OS, Chrome OS, Windows and Linux. | 211 # Enable HiDPI on Mac OS, Windows and Linux. |
Nico
2015/06/06 08:01:26
nit: I'd leave the old comment
| |
212 ['OS=="mac" or chromeos==1 or OS=="win" or OS=="linux"', { | 212 ['OS=="mac" or OS=="win" or OS=="linux"', { |
213 'enable_hidpi%': 1, | 213 'enable_hidpi%': 1, |
214 }], | 214 }], |
215 | 215 |
216 # Enable the OpenSSL backend on Mac OS and Windows. | 216 # Enable the OpenSSL backend on Mac OS and Windows. |
217 ['OS=="mac" or OS=="win"', { | 217 ['OS=="mac" or OS=="win"', { |
218 'use_openssl%': 1, | 218 'use_openssl%': 1, |
219 }], | 219 }], |
220 | 220 |
221 # Enable App Launcher everywhere but mobile. | 221 # Enable App Launcher everywhere but mobile. |
222 ['OS!="ios" and OS!="android"', { | 222 ['OS!="ios" and OS!="android"', { |
(...skipping 5868 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
6091 # settings in target dicts. SYMROOT is a special case, because many other | 6091 # settings in target dicts. SYMROOT is a special case, because many other |
6092 # Xcode variables depend on it, including variables such as | 6092 # Xcode variables depend on it, including variables such as |
6093 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 6093 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
6094 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 6094 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
6095 # files to appear (when present) in the UI as actual files and not red | 6095 # files to appear (when present) in the UI as actual files and not red |
6096 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 6096 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
6097 # and therefore SYMROOT, needs to be set at the project level. | 6097 # and therefore SYMROOT, needs to be set at the project level. |
6098 'SYMROOT': '<(DEPTH)/xcodebuild', | 6098 'SYMROOT': '<(DEPTH)/xcodebuild', |
6099 }, | 6099 }, |
6100 } | 6100 } |
OLD | NEW |