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 98 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
109 # gyp. | 109 # gyp. |
110 'host_arch%': | 110 'host_arch%': |
111 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s
/arm.*/arm/;s/i86pc/ia32/")', | 111 '<!(uname -m | sed -e "s/i.86/ia32/;s/x86_64/x64/;s/amd64/x64/;s
/arm.*/arm/;s/i86pc/ia32/")', |
112 }], | 112 }], |
113 | 113 |
114 # Embedded implies ozone. | 114 # Embedded implies ozone. |
115 ['embedded==1', { | 115 ['embedded==1', { |
116 'use_ozone%': 1, | 116 'use_ozone%': 1, |
117 }], | 117 }], |
118 | 118 |
119 ['OS=="android"', { | |
120 'android_goma_dir%': '<!(echo "${GOMA_DIR}")', | |
121 }, { | |
122 'android_goma_dir%': '' | |
123 }], | |
124 | |
125 ['embedded==1', { | 119 ['embedded==1', { |
126 'use_system_fontconfig%': 0, | 120 'use_system_fontconfig%': 0, |
127 }, { | 121 }, { |
128 'use_system_fontconfig%': 1, | 122 'use_system_fontconfig%': 1, |
129 }], | 123 }], |
130 ], | 124 ], |
131 }, | 125 }, |
132 # Copy conditionally-set variables out one scope. | 126 # Copy conditionally-set variables out one scope. |
133 'chromeos%': '<(chromeos)', | 127 'chromeos%': '<(chromeos)', |
134 'desktop_linux%': '<(desktop_linux)', | 128 'desktop_linux%': '<(desktop_linux)', |
(...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 | 215 |
222 ['use_ozone==1', { | 216 ['use_ozone==1', { |
223 'use_ozone_evdev%': 1, | 217 'use_ozone_evdev%': 1, |
224 }, { | 218 }, { |
225 'use_ozone_evdev%': 0, | 219 'use_ozone_evdev%': 0, |
226 }], | 220 }], |
227 | 221 |
228 # Set default gomadir. | 222 # Set default gomadir. |
229 ['OS=="win"', { | 223 ['OS=="win"', { |
230 'gomadir': 'c:\\goma\\goma-win', | 224 'gomadir': 'c:\\goma\\goma-win', |
231 }], | 225 }, { |
232 ['android_goma_dir!=""', { | |
233 'use_goma': 1, | |
234 'gomadir': '<(android_goma_dir)', | |
235 }], | |
236 ['OS!="win" and android_goma_dir==""', { | |
237 'gomadir': '<!(/bin/echo -n ${HOME}/goma)', | 226 'gomadir': '<!(/bin/echo -n ${HOME}/goma)', |
238 }], | 227 }], |
239 ], | 228 ], |
240 }, | 229 }, |
241 | 230 |
242 # Copy conditionally-set variables out one scope. | 231 # Copy conditionally-set variables out one scope. |
243 'chromeos%': '<(chromeos)', | 232 'chromeos%': '<(chromeos)', |
244 'host_arch%': '<(host_arch)', | 233 'host_arch%': '<(host_arch)', |
245 'target_arch%': '<(target_arch)', | 234 'target_arch%': '<(target_arch)', |
246 'toolkit_views%': '<(toolkit_views)', | 235 'toolkit_views%': '<(toolkit_views)', |
(...skipping 4599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4846 # settings in target dicts. SYMROOT is a special case, because many other | 4835 # settings in target dicts. SYMROOT is a special case, because many other |
4847 # Xcode variables depend on it, including variables such as | 4836 # Xcode variables depend on it, including variables such as |
4848 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4837 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4849 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4838 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4850 # files to appear (when present) in the UI as actual files and not red | 4839 # files to appear (when present) in the UI as actual files and not red |
4851 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4840 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4852 # and therefore SYMROOT, needs to be set at the project level. | 4841 # and therefore SYMROOT, needs to be set at the project level. |
4853 'SYMROOT': '<(DEPTH)/xcodebuild', | 4842 'SYMROOT': '<(DEPTH)/xcodebuild', |
4854 }, | 4843 }, |
4855 } | 4844 } |
OLD | NEW |