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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 # 'branding', such as symbol generation, will need to be refactored | 80 # 'branding', such as symbol generation, will need to be refactored |
81 # based on 'buildtype' (i.e. we don't care about saving symbols for | 81 # based on 'buildtype' (i.e. we don't care about saving symbols for |
82 # non-Official # builds). | 82 # non-Official # builds). |
83 'buildtype%': 'Dev', | 83 'buildtype%': 'Dev', |
84 | 84 |
85 # Override branding to select the desired branding flavor. | 85 # Override branding to select the desired branding flavor. |
86 'branding%': 'Chromium', | 86 'branding%': 'Chromium', |
87 | 87 |
88 'conditions': [ | 88 'conditions': [ |
89 # ChromeOS and Windows use Aura and Ash. | 89 # ChromeOS and Windows use Aura and Ash. |
90 ['chromeos==1 or OS=="win" or OS=="linux"', { | 90 ['chromeos==1 or OS=="win"', { |
91 'use_ash%': 1, | 91 'use_ash%': 1, |
92 'use_aura%': 1, | 92 'use_aura%': 1, |
93 }], | 93 }], |
94 | 94 |
95 # Ozone uses Aura. | 95 # Ozone uses Aura. |
96 ['use_ozone==1', { | 96 ['use_ozone==1', { |
97 'use_aura%': 1, | 97 'use_aura%': 1, |
98 }], | 98 }], |
99 | 99 |
| 100 # ToT Linux should be aura. |
| 101 # |
| 102 # TODO(erg): Merge this into the previous block once compiling with |
| 103 # aura safely implies including ash capabilities. |
| 104 ['OS=="linux"', { |
| 105 'use_aura%': 1, |
| 106 }], |
| 107 |
100 # Whether we're a traditional desktop unix. | 108 # Whether we're a traditional desktop unix. |
101 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") a
nd chromeos==0', { | 109 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") a
nd chromeos==0', { |
102 'desktop_linux%': 1, | 110 'desktop_linux%': 1, |
103 }, { | 111 }, { |
104 'desktop_linux%': 0, | 112 'desktop_linux%': 0, |
105 }], | 113 }], |
106 | 114 |
107 # Embedded implies ozone. | 115 # Embedded implies ozone. |
108 ['embedded==1', { | 116 ['embedded==1', { |
109 'use_ozone%': 1, | 117 'use_ozone%': 1, |
(...skipping 5161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5271 # settings in target dicts. SYMROOT is a special case, because many other | 5279 # settings in target dicts. SYMROOT is a special case, because many other |
5272 # Xcode variables depend on it, including variables such as | 5280 # Xcode variables depend on it, including variables such as |
5273 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5281 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5274 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5282 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5275 # files to appear (when present) in the UI as actual files and not red | 5283 # files to appear (when present) in the UI as actual files and not red |
5276 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5284 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5277 # and therefore SYMROOT, needs to be set at the project level. | 5285 # and therefore SYMROOT, needs to be set at the project level. |
5278 'SYMROOT': '<(DEPTH)/xcodebuild', | 5286 'SYMROOT': '<(DEPTH)/xcodebuild', |
5279 }, | 5287 }, |
5280 } | 5288 } |
OLD | NEW |