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