OLD | NEW |
1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
224 | 224 |
225 # A flag for POSIX platforms | 225 # A flag for POSIX platforms |
226 ['OS=="win"', { | 226 ['OS=="win"', { |
227 'os_posix%': 0, | 227 'os_posix%': 0, |
228 }, { | 228 }, { |
229 'os_posix%': 1, | 229 'os_posix%': 1, |
230 }], | 230 }], |
231 | 231 |
232 # Flags to use Gtk and X11 on non-Mac POSIX platforms | 232 # Flags to use Gtk and X11 on non-Mac POSIX platforms |
233 ['OS=="win" or OS=="mac"', { | 233 ['OS=="win" or OS=="mac"', { |
| 234 'toolkit_uses_glib%': 0, |
234 'toolkit_uses_gtk%': 0, | 235 'toolkit_uses_gtk%': 0, |
235 'use_x11%': 0, | 236 'use_x11%': 0, |
236 }, { | 237 }, { |
237 # TODO(dnicoara) Wayland build should have these disabled, but | 238 # TODO(dnicoara) Wayland build should have these disabled, but |
238 # currently GTK and X is too spread and it's hard to completely | 239 # currently GTK and X is too spread and it's hard to completely |
239 # remove every dependency. | 240 # remove every dependency. |
| 241 'toolkit_uses_glib%': 1, |
240 'toolkit_uses_gtk%': 1, | 242 'toolkit_uses_gtk%': 1, |
241 'use_x11%': 1, | 243 'use_x11%': 1, |
242 }], | 244 }], |
| 245 ['use_aura==1', { |
| 246 'toolkit_uses_glib%': 1, |
| 247 'toolkit_uses_gtk%': 0, |
| 248 'use_x11%': 1, |
| 249 }], |
243 | 250 |
244 # A flag to enable or disable our compile-time dependency | 251 # A flag to enable or disable our compile-time dependency |
245 # on gnome-keyring. If that dependency is disabled, no gnome-keyring | 252 # on gnome-keyring. If that dependency is disabled, no gnome-keyring |
246 # support will be available. This option is useful | 253 # support will be available. This option is useful |
247 # for Linux distributions. | 254 # for Linux distributions. |
248 ['chromeos==1', { | 255 ['chromeos==1', { |
249 'use_gnome_keyring%': 0, | 256 'use_gnome_keyring%': 0, |
250 }, { | 257 }, { |
251 'use_gnome_keyring%': 1, | 258 'use_gnome_keyring%': 1, |
252 }], | 259 }], |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
290 'branding%': '<(branding)', | 297 'branding%': '<(branding)', |
291 'buildtype%': '<(buildtype)', | 298 'buildtype%': '<(buildtype)', |
292 'target_arch%': '<(target_arch)', | 299 'target_arch%': '<(target_arch)', |
293 'host_arch%': '<(host_arch)', | 300 'host_arch%': '<(host_arch)', |
294 'library%': 'static_library', | 301 'library%': 'static_library', |
295 'toolkit_views%': '<(toolkit_views)', | 302 'toolkit_views%': '<(toolkit_views)', |
296 'use_only_pure_views%': '<(use_only_pure_views)', | 303 'use_only_pure_views%': '<(use_only_pure_views)', |
297 'views_compositor%': '<(views_compositor)', | 304 'views_compositor%': '<(views_compositor)', |
298 'use_aura%': '<(use_aura)', | 305 'use_aura%': '<(use_aura)', |
299 'os_posix%': '<(os_posix)', | 306 'os_posix%': '<(os_posix)', |
| 307 'toolkit_uses_glib%': '<(toolkit_uses_glib)', |
300 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 308 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
301 'use_skia%': '<(use_skia)', | 309 'use_skia%': '<(use_skia)', |
302 'use_x11%': '<(use_x11)', | 310 'use_x11%': '<(use_x11)', |
303 'use_gnome_keyring%': '<(use_gnome_keyring)', | 311 'use_gnome_keyring%': '<(use_gnome_keyring)', |
304 'linux_fpic%': '<(linux_fpic)', | 312 'linux_fpic%': '<(linux_fpic)', |
305 'enable_flapper_hacks%': '<(enable_flapper_hacks)', | 313 'enable_flapper_hacks%': '<(enable_flapper_hacks)', |
306 'chromeos%': '<(chromeos)', | 314 'chromeos%': '<(chromeos)', |
307 'touchui%': '<(touchui)', | 315 'touchui%': '<(touchui)', |
308 'webui_dialogs%': '<(webui_dialogs)', | 316 'webui_dialogs%': '<(webui_dialogs)', |
309 'file_manager_extension%': '<(file_manager_extension)', | 317 'file_manager_extension%': '<(file_manager_extension)', |
(...skipping 1742 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2052 # settings in target dicts. SYMROOT is a special case, because many other | 2060 # settings in target dicts. SYMROOT is a special case, because many other |
2053 # Xcode variables depend on it, including variables such as | 2061 # Xcode variables depend on it, including variables such as |
2054 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2062 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2055 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2063 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2056 # files to appear (when present) in the UI as actual files and not red | 2064 # files to appear (when present) in the UI as actual files and not red |
2057 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2065 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2058 # and therefore SYMROOT, needs to be set at the project level. | 2066 # and therefore SYMROOT, needs to be set at the project level. |
2059 'SYMROOT': '<(DEPTH)/xcodebuild', | 2067 'SYMROOT': '<(DEPTH)/xcodebuild', |
2060 }, | 2068 }, |
2061 } | 2069 } |
OLD | NEW |