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 # Whether or not to use "icu*.dat" file for ICU data. | 1267 # Whether or not to use "icu*.dat" file for ICU data. |
1268 # Do not use it by default. | 1268 # Do not use it by default. |
1269 'icu_use_data_file_flag%': 0, | 1269 'icu_use_data_file_flag%': 0, |
1270 | 1270 |
1271 # Force disable libstdc++ debug mode. | 1271 # Force disable libstdc++ debug mode. |
1272 'disable_glibcxx_debug%': 0, | 1272 'disable_glibcxx_debug%': 0, |
1273 | 1273 |
1274 # Set to 1 to compile with the hole punching for the protected video. | 1274 # Set to 1 to compile with the hole punching for the protected video. |
1275 'video_hole%': 0, | 1275 'video_hole%': 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 956 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2243 }], | 2247 }], |
2244 ['input_speech==1', { | 2248 ['input_speech==1', { |
2245 'defines': ['ENABLE_INPUT_SPEECH'], | 2249 'defines': ['ENABLE_INPUT_SPEECH'], |
2246 }], | 2250 }], |
2247 ['notifications==1', { | 2251 ['notifications==1', { |
2248 'defines': ['ENABLE_NOTIFICATIONS'], | 2252 'defines': ['ENABLE_NOTIFICATIONS'], |
2249 }], | 2253 }], |
2250 ['enable_hidpi==1', { | 2254 ['enable_hidpi==1', { |
2251 'defines': ['ENABLE_HIDPI=1'], | 2255 'defines': ['ENABLE_HIDPI=1'], |
2252 }], | 2256 }], |
| 2257 ['enable_new_gamepad_api==1', { |
| 2258 'defines': ['ENABLE_NEW_GAMEPAD_API=1'], |
| 2259 }], |
2253 ['native_discardable_memory==1', { | 2260 ['native_discardable_memory==1', { |
2254 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], | 2261 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], |
2255 }], | 2262 }], |
2256 ['native_memory_pressure_signals==1', { | 2263 ['native_memory_pressure_signals==1', { |
2257 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], | 2264 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], |
2258 }], | 2265 }], |
2259 ['use_udev==1', { | 2266 ['use_udev==1', { |
2260 'defines': ['USE_UDEV'], | 2267 'defines': ['USE_UDEV'], |
2261 }], | 2268 }], |
2262 ['fastbuild!=0', { | 2269 ['fastbuild!=0', { |
(...skipping 2764 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5027 # settings in target dicts. SYMROOT is a special case, because many other | 5034 # settings in target dicts. SYMROOT is a special case, because many other |
5028 # Xcode variables depend on it, including variables such as | 5035 # Xcode variables depend on it, including variables such as |
5029 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5036 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
5030 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5037 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
5031 # files to appear (when present) in the UI as actual files and not red | 5038 # files to appear (when present) in the UI as actual files and not red |
5032 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5039 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
5033 # and therefore SYMROOT, needs to be set at the project level. | 5040 # and therefore SYMROOT, needs to be set at the project level. |
5034 'SYMROOT': '<(DEPTH)/xcodebuild', | 5041 'SYMROOT': '<(DEPTH)/xcodebuild', |
5035 }, | 5042 }, |
5036 } | 5043 } |
OLD | NEW |