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 1256 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1267 # IPC fuzzer is disabled by default. | 1267 # IPC fuzzer is disabled by default. |
1268 'enable_ipc_fuzzer%': 0, | 1268 'enable_ipc_fuzzer%': 0, |
1269 | 1269 |
1270 # Whether or not to use "icu*.dat" file for ICU data. | 1270 # Whether or not to use "icu*.dat" file for ICU data. |
1271 # Do not use it by default. | 1271 # Do not use it by default. |
1272 'icu_use_data_file_flag%': 0, | 1272 'icu_use_data_file_flag%': 0, |
1273 | 1273 |
1274 # Force disable libstdc++ debug mode. | 1274 # Force disable libstdc++ debug mode. |
1275 'disable_glibcxx_debug%': 0, | 1275 'disable_glibcxx_debug%': 0, |
1276 | 1276 |
| 1277 # Enable a new Gamepad interface. This is temporary and should go |
| 1278 # away once the chrome and blink interfaces are in sync |
| 1279 'enable_new_gamepad_api%': 1, |
| 1280 |
1277 'conditions': [ | 1281 'conditions': [ |
1278 # The version of GCC in use, set later in platforms that use GCC and have | 1282 # The version of GCC in use, set later in platforms that use GCC and have |
1279 # not explicitly chosen to build with clang. Currently, this means all | 1283 # not explicitly chosen to build with clang. Currently, this means all |
1280 # platforms except Windows, Mac and iOS. | 1284 # platforms except Windows, Mac and iOS. |
1281 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that | 1285 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that |
1282 # it takes effect here. | 1286 # it takes effect here. |
1283 ['os_posix==1 and OS!="mac" and OS!="ios" and clang==0 and asan==0 and lsa
n==0 and tsan==0 and msan==0', { | 1287 ['os_posix==1 and OS!="mac" and OS!="ios" and clang==0 and asan==0 and lsa
n==0 and tsan==0 and msan==0', { |
1284 'conditions': [ | 1288 'conditions': [ |
1285 ['OS=="android"', { | 1289 ['OS=="android"', { |
1286 # We directly set the gcc_version since we know what we use. | 1290 # We directly set the gcc_version since we know what we use. |
(...skipping 958 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2245 }], | 2249 }], |
2246 ['input_speech==1', { | 2250 ['input_speech==1', { |
2247 'defines': ['ENABLE_INPUT_SPEECH'], | 2251 'defines': ['ENABLE_INPUT_SPEECH'], |
2248 }], | 2252 }], |
2249 ['notifications==1', { | 2253 ['notifications==1', { |
2250 'defines': ['ENABLE_NOTIFICATIONS'], | 2254 'defines': ['ENABLE_NOTIFICATIONS'], |
2251 }], | 2255 }], |
2252 ['enable_hidpi==1', { | 2256 ['enable_hidpi==1', { |
2253 'defines': ['ENABLE_HIDPI=1'], | 2257 'defines': ['ENABLE_HIDPI=1'], |
2254 }], | 2258 }], |
| 2259 ['enable_new_gamepad_api==1', { |
| 2260 'defines': ['ENABLE_NEW_GAMEPAD_API=1'], |
| 2261 }], |
2255 ['native_discardable_memory==1', { | 2262 ['native_discardable_memory==1', { |
2256 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], | 2263 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], |
2257 }], | 2264 }], |
2258 ['native_memory_pressure_signals==1', { | 2265 ['native_memory_pressure_signals==1', { |
2259 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], | 2266 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], |
2260 }], | 2267 }], |
2261 ['use_udev==1', { | 2268 ['use_udev==1', { |
2262 'defines': ['USE_UDEV'], | 2269 'defines': ['USE_UDEV'], |
2263 }], | 2270 }], |
2264 ['fastbuild!=0', { | 2271 ['fastbuild!=0', { |
(...skipping 2730 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4995 # settings in target dicts. SYMROOT is a special case, because many other | 5002 # settings in target dicts. SYMROOT is a special case, because many other |
4996 # Xcode variables depend on it, including variables such as | 5003 # Xcode variables depend on it, including variables such as |
4997 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5004 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
4998 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5005 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
4999 # files to appear (when present) in the UI as actual files and not red | 5006 # files to appear (when present) in the UI as actual files and not red |
5000 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5007 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5001 # and therefore SYMROOT, needs to be set at the project level. | 5008 # and therefore SYMROOT, needs to be set at the project level. |
5002 'SYMROOT': '<(DEPTH)/xcodebuild', | 5009 'SYMROOT': '<(DEPTH)/xcodebuild', |
5003 }, | 5010 }, |
5004 } | 5011 } |
OLD | NEW |