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 234 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
245 'use_skia%': 1, | 245 'use_skia%': 1, |
246 }], | 246 }], |
247 | 247 |
248 # A flag for POSIX platforms | 248 # A flag for POSIX platforms |
249 ['OS=="win"', { | 249 ['OS=="win"', { |
250 'os_posix%': 0, | 250 'os_posix%': 0, |
251 }, { | 251 }, { |
252 'os_posix%': 1, | 252 'os_posix%': 1, |
253 }], | 253 }], |
254 | 254 |
| 255 # A flag for BSD platforms |
| 256 ['OS=="freebsd" or OS=="openbsd"', { |
| 257 'os_bsd%': 1, |
| 258 }, { |
| 259 'os_bsd%': 0, |
| 260 }], |
| 261 |
255 # NSS usage. | 262 # NSS usage. |
256 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and u
se_openssl==0', { | 263 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and u
se_openssl==0', { |
257 'use_nss%': 1, | 264 'use_nss%': 1, |
258 }, { | 265 }, { |
259 'use_nss%': 0, | 266 'use_nss%': 0, |
260 }], | 267 }], |
261 | 268 |
262 # Flags to use X11 on non-Mac POSIX platforms | 269 # Flags to use X11 on non-Mac POSIX platforms |
263 ['OS=="win" or OS=="mac" or OS=="android"', { | 270 ['OS=="win" or OS=="mac" or OS=="android"', { |
264 'use_glib%': 0, | 271 'use_glib%': 0, |
(...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
342 'target_arch%': '<(target_arch)', | 349 'target_arch%': '<(target_arch)', |
343 'host_arch%': '<(host_arch)', | 350 'host_arch%': '<(host_arch)', |
344 'library%': 'static_library', | 351 'library%': 'static_library', |
345 'toolkit_views%': '<(toolkit_views)', | 352 'toolkit_views%': '<(toolkit_views)', |
346 'views_compositor%': '<(views_compositor)', | 353 'views_compositor%': '<(views_compositor)', |
347 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', | 354 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', |
348 'use_webkit_compositor%': '<(use_webkit_compositor)', | 355 'use_webkit_compositor%': '<(use_webkit_compositor)', |
349 'use_aura%': '<(use_aura)', | 356 'use_aura%': '<(use_aura)', |
350 'use_openssl%': '<(use_openssl)', | 357 'use_openssl%': '<(use_openssl)', |
351 'use_nss%': '<(use_nss)', | 358 'use_nss%': '<(use_nss)', |
| 359 'os_bsd%': '<(os_bsd)', |
352 'os_posix%': '<(os_posix)', | 360 'os_posix%': '<(os_posix)', |
353 'use_glib%': '<(use_glib)', | 361 'use_glib%': '<(use_glib)', |
354 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 362 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
355 'use_skia%': '<(use_skia)', | 363 'use_skia%': '<(use_skia)', |
356 'use_x11%': '<(use_x11)', | 364 'use_x11%': '<(use_x11)', |
357 'use_gnome_keyring%': '<(use_gnome_keyring)', | 365 'use_gnome_keyring%': '<(use_gnome_keyring)', |
358 'linux_fpic%': '<(linux_fpic)', | 366 'linux_fpic%': '<(linux_fpic)', |
359 'enable_flapper_hacks%': '<(enable_flapper_hacks)', | 367 'enable_flapper_hacks%': '<(enable_flapper_hacks)', |
360 'enable_pepper_threading%': '<(enable_pepper_threading)', | 368 'enable_pepper_threading%': '<(enable_pepper_threading)', |
361 'chromeos%': '<(chromeos)', | 369 'chromeos%': '<(chromeos)', |
(...skipping 2244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2606 # settings in target dicts. SYMROOT is a special case, because many other | 2614 # settings in target dicts. SYMROOT is a special case, because many other |
2607 # Xcode variables depend on it, including variables such as | 2615 # Xcode variables depend on it, including variables such as |
2608 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2616 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2609 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2617 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2610 # files to appear (when present) in the UI as actual files and not red | 2618 # files to appear (when present) in the UI as actual files and not red |
2611 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2619 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2612 # and therefore SYMROOT, needs to be set at the project level. | 2620 # and therefore SYMROOT, needs to be set at the project level. |
2613 'SYMROOT': '<(DEPTH)/xcodebuild', | 2621 'SYMROOT': '<(DEPTH)/xcodebuild', |
2614 }, | 2622 }, |
2615 } | 2623 } |
OLD | NEW |