| 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 2270 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2281 'enable_wexit_time_destructors%': '<(enable_wexit_time_destructors)', | 2281 'enable_wexit_time_destructors%': '<(enable_wexit_time_destructors)', |
| 2282 | 2282 |
| 2283 # Only used by Windows build for now. Can be used to build into a | 2283 # Only used by Windows build for now. Can be used to build into a |
| 2284 # differet output directory, e.g., a build_dir_prefix of VS2010_ would | 2284 # differet output directory, e.g., a build_dir_prefix of VS2010_ would |
| 2285 # output files in src/build/VS2010_{Debug,Release}. | 2285 # output files in src/build/VS2010_{Debug,Release}. |
| 2286 'build_dir_prefix%': '', | 2286 'build_dir_prefix%': '', |
| 2287 | 2287 |
| 2288 # Targets are by default not nacl untrusted code. | 2288 # Targets are by default not nacl untrusted code. |
| 2289 'nacl_untrusted_build%': 0, | 2289 'nacl_untrusted_build%': 0, |
| 2290 | 2290 |
| 2291 # Enable a new Gamepad interface. | |
| 2292 # TODO(cdumez): This is temporary and should go away once the chromium | |
| 2293 # and blink interfaces are in sync, http://crbug.com/344556. | |
| 2294 'enable_new_gamepad_api%': 1, | |
| 2295 | |
| 2296 'pnacl_compile_flags': [ | 2291 'pnacl_compile_flags': [ |
| 2297 # pnacl uses the clang compiler so we need to suppress all the | 2292 # pnacl uses the clang compiler so we need to suppress all the |
| 2298 # same warnings as we do for clang. | 2293 # same warnings as we do for clang. |
| 2299 # TODO(sbc): Remove these if/when they are removed from the clang | 2294 # TODO(sbc): Remove these if/when they are removed from the clang |
| 2300 # build. | 2295 # build. |
| 2301 '-Wno-unused-function', | 2296 '-Wno-unused-function', |
| 2302 '-Wno-char-subscripts', | 2297 '-Wno-char-subscripts', |
| 2303 '-Wno-c++11-extensions', | 2298 '-Wno-c++11-extensions', |
| 2304 '-Wno-unnamed-type-template-args', | 2299 '-Wno-unnamed-type-template-args', |
| 2305 ], | 2300 ], |
| (...skipping 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2455 }], | 2450 }], |
| 2456 ['configuration_policy==1', { | 2451 ['configuration_policy==1', { |
| 2457 'defines': ['ENABLE_CONFIGURATION_POLICY'], | 2452 'defines': ['ENABLE_CONFIGURATION_POLICY'], |
| 2458 }], | 2453 }], |
| 2459 ['notifications==1', { | 2454 ['notifications==1', { |
| 2460 'defines': ['ENABLE_NOTIFICATIONS'], | 2455 'defines': ['ENABLE_NOTIFICATIONS'], |
| 2461 }], | 2456 }], |
| 2462 ['enable_hidpi==1', { | 2457 ['enable_hidpi==1', { |
| 2463 'defines': ['ENABLE_HIDPI=1'], | 2458 'defines': ['ENABLE_HIDPI=1'], |
| 2464 }], | 2459 }], |
| 2465 ['enable_new_gamepad_api==1', { | |
| 2466 'defines': ['ENABLE_NEW_GAMEPAD_API=1'], | |
| 2467 }], | |
| 2468 ['native_discardable_memory==1', { | 2460 ['native_discardable_memory==1', { |
| 2469 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], | 2461 'defines': ['DISCARDABLE_MEMORY_ALWAYS_SUPPORTED_NATIVELY'], |
| 2470 }], | 2462 }], |
| 2471 ['native_memory_pressure_signals==1', { | 2463 ['native_memory_pressure_signals==1', { |
| 2472 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], | 2464 'defines': ['SYSTEM_NATIVELY_SIGNALS_MEMORY_PRESSURE'], |
| 2473 }], | 2465 }], |
| 2474 ['use_udev==1', { | 2466 ['use_udev==1', { |
| 2475 'defines': ['USE_UDEV'], | 2467 'defines': ['USE_UDEV'], |
| 2476 }], | 2468 }], |
| 2477 ['fastbuild!=0', { | 2469 ['fastbuild!=0', { |
| (...skipping 2901 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5379 # settings in target dicts. SYMROOT is a special case, because many other | 5371 # settings in target dicts. SYMROOT is a special case, because many other |
| 5380 # Xcode variables depend on it, including variables such as | 5372 # Xcode variables depend on it, including variables such as |
| 5381 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 5373 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 5382 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 5374 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 5383 # files to appear (when present) in the UI as actual files and not red | 5375 # files to appear (when present) in the UI as actual files and not red |
| 5384 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 5376 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 5385 # and therefore SYMROOT, needs to be set at the project level. | 5377 # and therefore SYMROOT, needs to be set at the project level. |
| 5386 'SYMROOT': '<(DEPTH)/xcodebuild', | 5378 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 5387 }, | 5379 }, |
| 5388 } | 5380 } |
| OLD | NEW |