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 1263 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1274 # Whether or not to use "icu*.dat" file for ICU data. | 1274 # Whether or not to use "icu*.dat" file for ICU data. |
1275 # Do not use it by default. | 1275 # Do not use it by default. |
1276 'icu_use_data_file_flag%': 0, | 1276 'icu_use_data_file_flag%': 0, |
1277 | 1277 |
1278 # Force disable libstdc++ debug mode. | 1278 # Force disable libstdc++ debug mode. |
1279 'disable_glibcxx_debug%': 0, | 1279 'disable_glibcxx_debug%': 0, |
1280 | 1280 |
1281 # Set to 1 to compile with the hole punching for the protected video. | 1281 # Set to 1 to compile with the hole punching for the protected video. |
1282 'video_hole%': 0, | 1282 'video_hole%': 0, |
1283 | 1283 |
| 1284 # Enable a new Gamepad interface. This is temporary and should go |
| 1285 # away once the chrome and blink interfaces are in sync |
| 1286 'enable_new_gamepad_api%': 1, |
| 1287 |
1284 'conditions': [ | 1288 'conditions': [ |
1285 # The version of GCC in use, set later in platforms that use GCC and have | 1289 # The version of GCC in use, set later in platforms that use GCC and have |
1286 # not explicitly chosen to build with clang. Currently, this means all | 1290 # not explicitly chosen to build with clang. Currently, this means all |
1287 # platforms except Windows, Mac and iOS. | 1291 # platforms except Windows, Mac and iOS. |
1288 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that | 1292 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that |
1289 # it takes effect here. | 1293 # it takes effect here. |
1290 ['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', { | 1294 ['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', { |
1291 'conditions': [ | 1295 'conditions': [ |
1292 ['OS=="android"', { | 1296 ['OS=="android"', { |
1293 # We directly set the gcc_version since we know what we use. | 1297 # We directly set the gcc_version since we know what we use. |
(...skipping 956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2250 }], | 2254 }], |
2251 ['input_speech==1', { | 2255 ['input_speech==1', { |
2252 'defines': ['ENABLE_INPUT_SPEECH'], | 2256 'defines': ['ENABLE_INPUT_SPEECH'], |
2253 }], | 2257 }], |
2254 ['notifications==1', { | 2258 ['notifications==1', { |
2255 'defines': ['ENABLE_NOTIFICATIONS'], | 2259 'defines': ['ENABLE_NOTIFICATIONS'], |
2256 }], | 2260 }], |
2257 ['enable_hidpi==1', { | 2261 ['enable_hidpi==1', { |
2258 'defines': ['ENABLE_HIDPI=1'], | 2262 'defines': ['ENABLE_HIDPI=1'], |
2259 }], | 2263 }], |
| 2264 ['enable_new_gamepad_api==1', { |
| 2265 'defines': ['ENABLE_NEW_GAMEPAD_API=1'], |
| 2266 }], |
2260 ['native_discardable_memory==1', { | 2267 ['native_discardable_memory==1', { |
2261 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], | 2268 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], |
2262 }], | 2269 }], |
2263 ['native_memory_pressure_signals==1', { | 2270 ['native_memory_pressure_signals==1', { |
2264 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], | 2271 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], |
2265 }], | 2272 }], |
2266 ['use_udev==1', { | 2273 ['use_udev==1', { |
2267 'defines': ['USE_UDEV'], | 2274 'defines': ['USE_UDEV'], |
2268 }], | 2275 }], |
2269 ['fastbuild!=0', { | 2276 ['fastbuild!=0', { |
(...skipping 2764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5034 # settings in target dicts. SYMROOT is a special case, because many other | 5041 # settings in target dicts. SYMROOT is a special case, because many other |
5035 # Xcode variables depend on it, including variables such as | 5042 # Xcode variables depend on it, including variables such as |
5036 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5043 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5037 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5044 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5038 # files to appear (when present) in the UI as actual files and not red | 5045 # files to appear (when present) in the UI as actual files and not red |
5039 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5046 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5040 # and therefore SYMROOT, needs to be set at the project level. | 5047 # and therefore SYMROOT, needs to be set at the project level. |
5041 'SYMROOT': '<(DEPTH)/xcodebuild', | 5048 'SYMROOT': '<(DEPTH)/xcodebuild', |
5042 }, | 5049 }, |
5043 } | 5050 } |
OLD | NEW |