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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 | 227 |
228 # A flag for POSIX platforms | 228 # A flag for POSIX platforms |
229 ['OS=="win"', { | 229 ['OS=="win"', { |
230 'os_posix%': 0, | 230 'os_posix%': 0, |
231 }, { | 231 }, { |
232 'os_posix%': 1, | 232 'os_posix%': 1, |
233 }], | 233 }], |
234 | 234 |
235 # Flags to use Gtk and X11 on non-Mac POSIX platforms | 235 # Flags to use Gtk and X11 on non-Mac POSIX platforms |
236 ['OS=="win" or OS=="mac" or OS=="android"', { | 236 ['OS=="win" or OS=="mac" or OS=="android"', { |
237 'use_glib%': 0, | |
238 'toolkit_uses_gtk%': 0, | 237 'toolkit_uses_gtk%': 0, |
239 'use_x11%': 0, | 238 'use_x11%': 0, |
240 }, { | 239 }, { |
241 # TODO(dnicoara) Wayland build should have these disabled, but | 240 # TODO(dnicoara) Wayland build should have these disabled, but |
242 # currently GTK and X is too spread and it's hard to completely | 241 # currently GTK and X is too spread and it's hard to completely |
243 # remove every dependency. | 242 # remove every dependency. |
244 'use_glib%': 1, | |
245 'toolkit_uses_gtk%': 1, | 243 'toolkit_uses_gtk%': 1, |
246 'use_x11%': 1, | 244 'use_x11%': 1, |
247 }], | 245 }], |
248 ['use_aura==1', { | |
249 'use_glib%': 1, | |
250 'toolkit_uses_gtk%': 0, | |
251 'use_x11%': 1, | |
252 }], | |
253 | 246 |
254 # A flag to enable or disable our compile-time dependency | 247 # A flag to enable or disable our compile-time dependency |
255 # on gnome-keyring. If that dependency is disabled, no gnome-keyring | 248 # on gnome-keyring. If that dependency is disabled, no gnome-keyring |
256 # support will be available. This option is useful | 249 # support will be available. This option is useful |
257 # for Linux distributions. | 250 # for Linux distributions. |
258 ['chromeos==1', { | 251 ['chromeos==1', { |
259 'use_gnome_keyring%': 0, | 252 'use_gnome_keyring%': 0, |
260 }, { | 253 }, { |
261 'use_gnome_keyring%': 1, | 254 'use_gnome_keyring%': 1, |
262 }], | 255 }], |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
305 'branding%': '<(branding)', | 298 'branding%': '<(branding)', |
306 'buildtype%': '<(buildtype)', | 299 'buildtype%': '<(buildtype)', |
307 'target_arch%': '<(target_arch)', | 300 'target_arch%': '<(target_arch)', |
308 'host_arch%': '<(host_arch)', | 301 'host_arch%': '<(host_arch)', |
309 'library%': 'static_library', | 302 'library%': 'static_library', |
310 'toolkit_views%': '<(toolkit_views)', | 303 'toolkit_views%': '<(toolkit_views)', |
311 'use_only_pure_views%': '<(use_only_pure_views)', | 304 'use_only_pure_views%': '<(use_only_pure_views)', |
312 'views_compositor%': '<(views_compositor)', | 305 'views_compositor%': '<(views_compositor)', |
313 'use_aura%': '<(use_aura)', | 306 'use_aura%': '<(use_aura)', |
314 'os_posix%': '<(os_posix)', | 307 'os_posix%': '<(os_posix)', |
315 'use_glib%': '<(use_glib)', | |
316 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 308 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
317 'use_skia%': '<(use_skia)', | 309 'use_skia%': '<(use_skia)', |
318 'use_x11%': '<(use_x11)', | 310 'use_x11%': '<(use_x11)', |
319 'use_gnome_keyring%': '<(use_gnome_keyring)', | 311 'use_gnome_keyring%': '<(use_gnome_keyring)', |
320 'linux_fpic%': '<(linux_fpic)', | 312 'linux_fpic%': '<(linux_fpic)', |
321 'enable_flapper_hacks%': '<(enable_flapper_hacks)', | 313 'enable_flapper_hacks%': '<(enable_flapper_hacks)', |
322 'chromeos%': '<(chromeos)', | 314 'chromeos%': '<(chromeos)', |
323 'touchui%': '<(touchui)', | 315 'touchui%': '<(touchui)', |
324 'webui_dialogs%': '<(webui_dialogs)', | 316 'webui_dialogs%': '<(webui_dialogs)', |
325 'file_manager_extension%': '<(file_manager_extension)', | 317 'file_manager_extension%': '<(file_manager_extension)', |
(...skipping 2075 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2401 # settings in target dicts. SYMROOT is a special case, because many other | 2393 # settings in target dicts. SYMROOT is a special case, because many other |
2402 # Xcode variables depend on it, including variables such as | 2394 # Xcode variables depend on it, including variables such as |
2403 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2395 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2404 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2396 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2405 # files to appear (when present) in the UI as actual files and not red | 2397 # files to appear (when present) in the UI as actual files and not red |
2406 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2398 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2407 # and therefore SYMROOT, needs to be set at the project level. | 2399 # and therefore SYMROOT, needs to be set at the project level. |
2408 'SYMROOT': '<(DEPTH)/xcodebuild', | 2400 'SYMROOT': '<(DEPTH)/xcodebuild', |
2409 }, | 2401 }, |
2410 } | 2402 } |
OLD | NEW |