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 488 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
499 'armv7': 0, | 499 'armv7': 0, |
500 }], | 500 }], |
501 | 501 |
502 # NSS usage. | 502 # NSS usage. |
503 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and u
se_openssl==0', { | 503 ['(OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="solaris") and u
se_openssl==0', { |
504 'use_nss%': 1, | 504 'use_nss%': 1, |
505 }, { | 505 }, { |
506 'use_nss%': 0, | 506 'use_nss%': 0, |
507 }], | 507 }], |
508 | 508 |
| 509 # libudev usage. This currently only affects the content layer. |
| 510 ['OS=="linux"', { |
| 511 'use_udev%': 1, |
| 512 }, { |
| 513 'use_udev%': 0, |
| 514 }], |
| 515 |
509 # Flags to use X11 on non-Mac POSIX platforms. | 516 # Flags to use X11 on non-Mac POSIX platforms. |
510 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android" or use_ozone==1',
{ | 517 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android" or use_ozone==1',
{ |
511 'use_x11%': 0, | 518 'use_x11%': 0, |
512 }, { | 519 }, { |
513 'use_x11%': 1, | 520 'use_x11%': 1, |
514 }], | 521 }], |
515 | 522 |
516 # Flags to use glib. | 523 # Flags to use glib. |
517 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android"', { | 524 ['OS=="win" or OS=="mac" or OS=="ios" or OS=="android"', { |
518 'use_glib%': 0, | 525 'use_glib%': 0, |
(...skipping 322 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
841 'buildtype%': '<(buildtype)', | 848 'buildtype%': '<(buildtype)', |
842 'target_arch%': '<(target_arch)', | 849 'target_arch%': '<(target_arch)', |
843 'host_arch%': '<(host_arch)', | 850 'host_arch%': '<(host_arch)', |
844 'toolkit_views%': '<(toolkit_views)', | 851 'toolkit_views%': '<(toolkit_views)', |
845 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', | 852 'ui_compositor_image_transport%': '<(ui_compositor_image_transport)', |
846 'use_aura%': '<(use_aura)', | 853 'use_aura%': '<(use_aura)', |
847 'use_ash%': '<(use_ash)', | 854 'use_ash%': '<(use_ash)', |
848 'use_cras%': '<(use_cras)', | 855 'use_cras%': '<(use_cras)', |
849 'use_openssl%': '<(use_openssl)', | 856 'use_openssl%': '<(use_openssl)', |
850 'use_nss%': '<(use_nss)', | 857 'use_nss%': '<(use_nss)', |
| 858 'use_udev%': '<(use_udev)', |
851 'os_bsd%': '<(os_bsd)', | 859 'os_bsd%': '<(os_bsd)', |
852 'os_posix%': '<(os_posix)', | 860 'os_posix%': '<(os_posix)', |
853 'use_dbus%': '<(use_dbus)', | 861 'use_dbus%': '<(use_dbus)', |
854 'use_glib%': '<(use_glib)', | 862 'use_glib%': '<(use_glib)', |
855 'use_pango%': '<(use_pango)', | 863 'use_pango%': '<(use_pango)', |
856 'use_ozone%': '<(use_ozone)', | 864 'use_ozone%': '<(use_ozone)', |
857 'use_ozone_evdev%': '<(use_ozone_evdev)', | 865 'use_ozone_evdev%': '<(use_ozone_evdev)', |
858 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', | 866 'toolkit_uses_gtk%': '<(toolkit_uses_gtk)', |
859 'desktop_linux%': '<(desktop_linux)', | 867 'desktop_linux%': '<(desktop_linux)', |
860 'use_x11%': '<(use_x11)', | 868 'use_x11%': '<(use_x11)', |
(...skipping 1266 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2127 }], | 2135 }], |
2128 ['enable_hidpi==1', { | 2136 ['enable_hidpi==1', { |
2129 'defines': ['ENABLE_HIDPI=1'], | 2137 'defines': ['ENABLE_HIDPI=1'], |
2130 }], | 2138 }], |
2131 ['native_discardable_memory==1', { | 2139 ['native_discardable_memory==1', { |
2132 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], | 2140 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], |
2133 }], | 2141 }], |
2134 ['native_memory_pressure_signals==1', { | 2142 ['native_memory_pressure_signals==1', { |
2135 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], | 2143 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], |
2136 }], | 2144 }], |
| 2145 ['use_udev==1', { |
| 2146 'defines': ['USE_UDEV'], |
| 2147 }], |
2137 ['fastbuild!=0', { | 2148 ['fastbuild!=0', { |
2138 'xcode_settings': { | 2149 'xcode_settings': { |
2139 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', | 2150 'GCC_GENERATE_DEBUGGING_SYMBOLS': 'NO', |
2140 }, | 2151 }, |
2141 'conditions': [ | 2152 'conditions': [ |
2142 ['clang==1', { | 2153 ['clang==1', { |
2143 # Clang creates chubby debug information, which makes linking very | 2154 # Clang creates chubby debug information, which makes linking very |
2144 # slow. For now, don't create debug information with clang. See | 2155 # slow. For now, don't create debug information with clang. See |
2145 # http://crbug.com/70000 | 2156 # http://crbug.com/70000 |
2146 'conditions': [ | 2157 'conditions': [ |
(...skipping 2575 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4722 # settings in target dicts. SYMROOT is a special case, because many other | 4733 # settings in target dicts. SYMROOT is a special case, because many other |
4723 # Xcode variables depend on it, including variables such as | 4734 # Xcode variables depend on it, including variables such as |
4724 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 4735 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4725 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 4736 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4726 # files to appear (when present) in the UI as actual files and not red | 4737 # files to appear (when present) in the UI as actual files and not red |
4727 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 4738 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
4728 # and therefore SYMROOT, needs to be set at the project level. | 4739 # and therefore SYMROOT, needs to be set at the project level. |
4729 'SYMROOT': '<(DEPTH)/xcodebuild', | 4740 'SYMROOT': '<(DEPTH)/xcodebuild', |
4730 }, | 4741 }, |
4731 } | 4742 } |
OLD | NEW |