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 1275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1286 # IPC fuzzer is disabled by default. | 1286 # IPC fuzzer is disabled by default. |
1287 'enable_ipc_fuzzer%': 0, | 1287 'enable_ipc_fuzzer%': 0, |
1288 | 1288 |
1289 | 1289 |
1290 # Force disable libstdc++ debug mode. | 1290 # Force disable libstdc++ debug mode. |
1291 'disable_glibcxx_debug%': 0, | 1291 'disable_glibcxx_debug%': 0, |
1292 | 1292 |
1293 # Set to 1 to compile with the hole punching for the protected video. | 1293 # Set to 1 to compile with the hole punching for the protected video. |
1294 'video_hole%': 0, | 1294 'video_hole%': 0, |
1295 | 1295 |
| 1296 # Enable a new Gamepad interface. This is temporary and should go |
| 1297 # away once the chrome and blink interfaces are in sync |
| 1298 'enable_new_gamepad_api%': 1, |
| 1299 |
1296 'conditions': [ | 1300 'conditions': [ |
1297 # The version of GCC in use, set later in platforms that use GCC and have | 1301 # The version of GCC in use, set later in platforms that use GCC and have |
1298 # not explicitly chosen to build with clang. Currently, this means all | 1302 # not explicitly chosen to build with clang. Currently, this means all |
1299 # platforms except Windows, Mac and iOS. | 1303 # platforms except Windows, Mac and iOS. |
1300 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that | 1304 # TODO(glider): set clang to 1 earlier for ASan and TSan builds so that |
1301 # it takes effect here. | 1305 # it takes effect here. |
1302 ['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', { | 1306 ['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', { |
1303 'conditions': [ | 1307 'conditions': [ |
1304 ['OS=="android"', { | 1308 ['OS=="android"', { |
1305 # We directly set the gcc_version since we know what we use. | 1309 # We directly set the gcc_version since we know what we use. |
(...skipping 948 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2254 }], | 2258 }], |
2255 ['input_speech==1', { | 2259 ['input_speech==1', { |
2256 'defines': ['ENABLE_INPUT_SPEECH'], | 2260 'defines': ['ENABLE_INPUT_SPEECH'], |
2257 }], | 2261 }], |
2258 ['notifications==1', { | 2262 ['notifications==1', { |
2259 'defines': ['ENABLE_NOTIFICATIONS'], | 2263 'defines': ['ENABLE_NOTIFICATIONS'], |
2260 }], | 2264 }], |
2261 ['enable_hidpi==1', { | 2265 ['enable_hidpi==1', { |
2262 'defines': ['ENABLE_HIDPI=1'], | 2266 'defines': ['ENABLE_HIDPI=1'], |
2263 }], | 2267 }], |
| 2268 ['enable_new_gamepad_api==1', { |
| 2269 'defines': ['ENABLE_NEW_GAMEPAD_API=1'], |
| 2270 }], |
2264 ['native_discardable_memory==1', { | 2271 ['native_discardable_memory==1', { |
2265 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], | 2272 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], |
2266 }], | 2273 }], |
2267 ['native_memory_pressure_signals==1', { | 2274 ['native_memory_pressure_signals==1', { |
2268 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], | 2275 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], |
2269 }], | 2276 }], |
2270 ['use_udev==1', { | 2277 ['use_udev==1', { |
2271 'defines': ['USE_UDEV'], | 2278 'defines': ['USE_UDEV'], |
2272 }], | 2279 }], |
2273 ['fastbuild!=0', { | 2280 ['fastbuild!=0', { |
(...skipping 2777 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5051 # settings in target dicts. SYMROOT is a special case, because many other | 5058 # settings in target dicts. SYMROOT is a special case, because many other |
5052 # Xcode variables depend on it, including variables such as | 5059 # Xcode variables depend on it, including variables such as |
5053 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5060 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5054 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5061 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5055 # files to appear (when present) in the UI as actual files and not red | 5062 # files to appear (when present) in the UI as actual files and not red |
5056 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5063 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5057 # and therefore SYMROOT, needs to be set at the project level. | 5064 # and therefore SYMROOT, needs to be set at the project level. |
5058 'SYMROOT': '<(DEPTH)/xcodebuild', | 5065 'SYMROOT': '<(DEPTH)/xcodebuild', |
5059 }, | 5066 }, |
5060 } | 5067 } |
OLD | NEW |