| OLD | NEW |
| 1 # Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2011 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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 211 # Set to 1 compile with -fPIC cflag on linux. This is a must for shared | 211 # Set to 1 compile with -fPIC cflag on linux. This is a must for shared |
| 212 # libraries on linux x86-64 and arm, plus ASLR. | 212 # libraries on linux x86-64 and arm, plus ASLR. |
| 213 'linux_fpic%': 1, | 213 'linux_fpic%': 1, |
| 214 | 214 |
| 215 # Enable navigator.registerProtocolHandler and supporting UI. | 215 # Enable navigator.registerProtocolHandler and supporting UI. |
| 216 'enable_register_protocol_handler%': 1, | 216 'enable_register_protocol_handler%': 1, |
| 217 | 217 |
| 218 # Enable Web Intents and supporting UI. | 218 # Enable Web Intents and supporting UI. |
| 219 'enable_web_intents%': 0, | 219 'enable_web_intents%': 0, |
| 220 | 220 |
| 221 # Smooth scrolling is disabled by default. | |
| 222 'enable_smooth_scrolling%': 0, | |
| 223 | |
| 224 # Webrtc compilation is enabled by default. Set to 0 to disable. | 221 # Webrtc compilation is enabled by default. Set to 0 to disable. |
| 225 'enable_webrtc%': 1, | 222 'enable_webrtc%': 1, |
| 226 | 223 |
| 227 # XInput2 multitouch support is disabled by default (use_xi2_mt=0). | 224 # XInput2 multitouch support is disabled by default (use_xi2_mt=0). |
| 228 # Setting to non-zero value enables XI2 MT. When XI2 MT is enabled, | 225 # Setting to non-zero value enables XI2 MT. When XI2 MT is enabled, |
| 229 # the input value also defines the required XI2 minor minimum version. | 226 # the input value also defines the required XI2 minor minimum version. |
| 230 # For example, use_xi2_mt=2 means XI2.2 or above version is required. | 227 # For example, use_xi2_mt=2 means XI2.2 or above version is required. |
| 231 'use_xi2_mt%': 0, | 228 'use_xi2_mt%': 0, |
| 232 | 229 |
| 233 # Use of precompiled headers on Windows is off by default | 230 # Use of precompiled headers on Windows is off by default |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 318 ['chromeos==1 or touchui==1 or use_only_pure_views==1 or use_aura==1', { | 315 ['chromeos==1 or touchui==1 or use_only_pure_views==1 or use_aura==1', { |
| 319 'webui_task_manager%': 1, | 316 'webui_task_manager%': 1, |
| 320 }, { | 317 }, { |
| 321 'webui_task_manager%': 0, | 318 'webui_task_manager%': 0, |
| 322 }], | 319 }], |
| 323 | 320 |
| 324 ['OS=="android"', { | 321 ['OS=="android"', { |
| 325 'proprietary_codecs%': 1, | 322 'proprietary_codecs%': 1, |
| 326 'enable_webrtc%': 0, | 323 'enable_webrtc%': 0, |
| 327 }], | 324 }], |
| 328 | |
| 329 # Enable smooth scrolling for Mac, Win, Linux and ChromeOS | |
| 330 ['OS=="linux" or OS=="mac" or OS=="win"', { | |
| 331 'enable_smooth_scrolling%': 1, | |
| 332 }, { | |
| 333 'enable_smooth_scrolling%': 0, | |
| 334 }], | |
| 335 ], | 325 ], |
| 336 }, | 326 }, |
| 337 | 327 |
| 338 # Copy conditionally-set variables out one scope. | 328 # Copy conditionally-set variables out one scope. |
| 339 'branding%': '<(branding)', | 329 'branding%': '<(branding)', |
| 340 'buildtype%': '<(buildtype)', | 330 'buildtype%': '<(buildtype)', |
| 341 'target_arch%': '<(target_arch)', | 331 'target_arch%': '<(target_arch)', |
| 342 'host_arch%': '<(host_arch)', | 332 'host_arch%': '<(host_arch)', |
| 343 'library%': 'static_library', | 333 'library%': 'static_library', |
| 344 'toolkit_views%': '<(toolkit_views)', | 334 'toolkit_views%': '<(toolkit_views)', |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 376 'remoting%': '<(remoting)', | 366 'remoting%': '<(remoting)', |
| 377 'use_threaded_compositing%': '<(use_threaded_compositing)', | 367 'use_threaded_compositing%': '<(use_threaded_compositing)', |
| 378 'enable_webrtc%': '<(enable_webrtc)', | 368 'enable_webrtc%': '<(enable_webrtc)', |
| 379 'chromium_win_pch%': '<(chromium_win_pch)', | 369 'chromium_win_pch%': '<(chromium_win_pch)', |
| 380 'p2p_apis%': '<(p2p_apis)', | 370 'p2p_apis%': '<(p2p_apis)', |
| 381 'configuration_policy%': '<(configuration_policy)', | 371 'configuration_policy%': '<(configuration_policy)', |
| 382 'safe_browsing%': '<(safe_browsing)', | 372 'safe_browsing%': '<(safe_browsing)', |
| 383 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', | 373 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', |
| 384 'asan%': '<(asan)', | 374 'asan%': '<(asan)', |
| 385 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', | 375 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', |
| 386 'enable_smooth_scrolling%': '<(enable_smooth_scrolling)', | |
| 387 'enable_web_intents%': '<(enable_web_intents)', | 376 'enable_web_intents%': '<(enable_web_intents)', |
| 388 # Whether to build for Wayland display server | 377 # Whether to build for Wayland display server |
| 389 'use_wayland%': 0, | 378 'use_wayland%': 0, |
| 390 | 379 |
| 391 # Default to enabled PIE; this is important for ASLR but we need to be | 380 # Default to enabled PIE; this is important for ASLR but we need to be |
| 392 # able to turn it off for remote debugging on Chromium OS | 381 # able to turn it off for remote debugging on Chromium OS |
| 393 'linux_disable_pie%': 0, | 382 'linux_disable_pie%': 0, |
| 394 | 383 |
| 395 # The release channel that this build targets. This is used to restrict | 384 # The release channel that this build targets. This is used to restrict |
| 396 # channel-specific build options, like which installer packages to create. | 385 # channel-specific build options, like which installer packages to create. |
| (...skipping 2123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2520 # settings in target dicts. SYMROOT is a special case, because many other | 2509 # settings in target dicts. SYMROOT is a special case, because many other |
| 2521 # Xcode variables depend on it, including variables such as | 2510 # Xcode variables depend on it, including variables such as |
| 2522 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2511 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 2523 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2512 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 2524 # files to appear (when present) in the UI as actual files and not red | 2513 # files to appear (when present) in the UI as actual files and not red |
| 2525 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2514 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 2526 # and therefore SYMROOT, needs to be set at the project level. | 2515 # and therefore SYMROOT, needs to be set at the project level. |
| 2527 'SYMROOT': '<(DEPTH)/xcodebuild', | 2516 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 2528 }, | 2517 }, |
| 2529 } | 2518 } |
| OLD | NEW |