Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(267)

Side by Side Diff: build/common.gypi

Issue 289423004: Turn on ENABLE_NEW_GAMEPAD_API flag so that the new gamepad code is used (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | ppapi/shared_impl/ppb_gamepad_shared.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 2258 matching lines...) Expand 10 before | Expand all | Expand 10 after
2269 'enable_wexit_time_destructors%': '<(enable_wexit_time_destructors)', 2269 'enable_wexit_time_destructors%': '<(enable_wexit_time_destructors)',
2270 2270
2271 # Only used by Windows build for now. Can be used to build into a 2271 # Only used by Windows build for now. Can be used to build into a
2272 # differet output directory, e.g., a build_dir_prefix of VS2010_ would 2272 # differet output directory, e.g., a build_dir_prefix of VS2010_ would
2273 # output files in src/build/VS2010_{Debug,Release}. 2273 # output files in src/build/VS2010_{Debug,Release}.
2274 'build_dir_prefix%': '', 2274 'build_dir_prefix%': '',
2275 2275
2276 # Targets are by default not nacl untrusted code. 2276 # Targets are by default not nacl untrusted code.
2277 'nacl_untrusted_build%': 0, 2277 'nacl_untrusted_build%': 0,
2278 2278
2279 # Enable a new Gamepad interface. This is temporary and should go
2280 # away once the chrome and blink interfaces are in sync.
dmichael (off chromium) 2014/05/23 21:02:55 Please reference the bug number here.
Inactive 2014/05/23 21:14:39 Done.
2281 'enable_new_gamepad_api%': 1,
2282
2279 'pnacl_compile_flags': [ 2283 'pnacl_compile_flags': [
2280 # pnacl uses the clang compiler so we need to suppress all the 2284 # pnacl uses the clang compiler so we need to suppress all the
2281 # same warnings as we do for clang. 2285 # same warnings as we do for clang.
2282 # TODO(sbc): Remove these if/when they are removed from the clang 2286 # TODO(sbc): Remove these if/when they are removed from the clang
2283 # build. 2287 # build.
2284 '-Wno-unused-function', 2288 '-Wno-unused-function',
2285 '-Wno-char-subscripts', 2289 '-Wno-char-subscripts',
2286 '-Wno-c++11-extensions', 2290 '-Wno-c++11-extensions',
2287 '-Wno-unnamed-type-template-args', 2291 '-Wno-unnamed-type-template-args',
2288 ], 2292 ],
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
2438 }], 2442 }],
2439 ['configuration_policy==1', { 2443 ['configuration_policy==1', {
2440 'defines': ['ENABLE_CONFIGURATION_POLICY'], 2444 'defines': ['ENABLE_CONFIGURATION_POLICY'],
2441 }], 2445 }],
2442 ['notifications==1', { 2446 ['notifications==1', {
2443 'defines': ['ENABLE_NOTIFICATIONS'], 2447 'defines': ['ENABLE_NOTIFICATIONS'],
2444 }], 2448 }],
2445 ['enable_hidpi==1', { 2449 ['enable_hidpi==1', {
2446 'defines': ['ENABLE_HIDPI=1'], 2450 'defines': ['ENABLE_HIDPI=1'],
2447 }], 2451 }],
2452 ['enable_new_gamepad_api==1', {
2453 'defines': ['ENABLE_NEW_GAMEPAD_API=1'],
2454 }],
2448 ['native_discardable_memory==1', { 2455 ['native_discardable_memory==1', {
2449 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], 2456 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'],
2450 }], 2457 }],
2451 ['native_memory_pressure_signals==1', { 2458 ['native_memory_pressure_signals==1', {
2452 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], 2459 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'],
2453 }], 2460 }],
2454 ['use_udev==1', { 2461 ['use_udev==1', {
2455 'defines': ['USE_UDEV'], 2462 'defines': ['USE_UDEV'],
2456 }], 2463 }],
2457 ['fastbuild!=0', { 2464 ['fastbuild!=0', {
(...skipping 2889 matching lines...) Expand 10 before | Expand all | Expand 10 after
5347 # settings in target dicts. SYMROOT is a special case, because many other 5354 # settings in target dicts. SYMROOT is a special case, because many other
5348 # Xcode variables depend on it, including variables such as 5355 # Xcode variables depend on it, including variables such as
5349 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5356 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something
5350 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the 5357 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the
5351 # files to appear (when present) in the UI as actual files and not red 5358 # files to appear (when present) in the UI as actual files and not red
5352 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, 5359 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5353 # and therefore SYMROOT, needs to be set at the project level. 5360 # and therefore SYMROOT, needs to be set at the project level.
5354 'SYMROOT': '<(DEPTH)/xcodebuild', 5361 'SYMROOT': '<(DEPTH)/xcodebuild',
5355 }, 5362 },
5356 } 5363 }
OLDNEW
« no previous file with comments | « no previous file | ppapi/shared_impl/ppb_gamepad_shared.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698