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

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: Add bug number 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.
2280 # TODO(cdumez): This is temporary and should go away once the chromium
2281 # and blink interfaces are in sync, http://crbug.com/344556.
2282 'enable_new_gamepad_api%': 1,
2283
2279 'pnacl_compile_flags': [ 2284 'pnacl_compile_flags': [
2280 # pnacl uses the clang compiler so we need to suppress all the 2285 # pnacl uses the clang compiler so we need to suppress all the
2281 # same warnings as we do for clang. 2286 # same warnings as we do for clang.
2282 # TODO(sbc): Remove these if/when they are removed from the clang 2287 # TODO(sbc): Remove these if/when they are removed from the clang
2283 # build. 2288 # build.
2284 '-Wno-unused-function', 2289 '-Wno-unused-function',
2285 '-Wno-char-subscripts', 2290 '-Wno-char-subscripts',
2286 '-Wno-c++11-extensions', 2291 '-Wno-c++11-extensions',
2287 '-Wno-unnamed-type-template-args', 2292 '-Wno-unnamed-type-template-args',
2288 ], 2293 ],
(...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after
2438 }], 2443 }],
2439 ['configuration_policy==1', { 2444 ['configuration_policy==1', {
2440 'defines': ['ENABLE_CONFIGURATION_POLICY'], 2445 'defines': ['ENABLE_CONFIGURATION_POLICY'],
2441 }], 2446 }],
2442 ['notifications==1', { 2447 ['notifications==1', {
2443 'defines': ['ENABLE_NOTIFICATIONS'], 2448 'defines': ['ENABLE_NOTIFICATIONS'],
2444 }], 2449 }],
2445 ['enable_hidpi==1', { 2450 ['enable_hidpi==1', {
2446 'defines': ['ENABLE_HIDPI=1'], 2451 'defines': ['ENABLE_HIDPI=1'],
2447 }], 2452 }],
2453 ['enable_new_gamepad_api==1', {
2454 'defines': ['ENABLE_NEW_GAMEPAD_API=1'],
2455 }],
2448 ['native_discardable_memory==1', { 2456 ['native_discardable_memory==1', {
2449 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], 2457 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'],
2450 }], 2458 }],
2451 ['native_memory_pressure_signals==1', { 2459 ['native_memory_pressure_signals==1', {
2452 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], 2460 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'],
2453 }], 2461 }],
2454 ['use_udev==1', { 2462 ['use_udev==1', {
2455 'defines': ['USE_UDEV'], 2463 'defines': ['USE_UDEV'],
2456 }], 2464 }],
2457 ['fastbuild!=0', { 2465 ['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 5355 # settings in target dicts. SYMROOT is a special case, because many other
5348 # Xcode variables depend on it, including variables such as 5356 # Xcode variables depend on it, including variables such as
5349 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something 5357 # 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 5358 # 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 5359 # 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, 5360 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR,
5353 # and therefore SYMROOT, needs to be set at the project level. 5361 # and therefore SYMROOT, needs to be set at the project level.
5354 'SYMROOT': '<(DEPTH)/xcodebuild', 5362 'SYMROOT': '<(DEPTH)/xcodebuild',
5355 }, 5363 },
5356 } 5364 }
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