| 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 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 235 'enable_web_intents_tag%': 0, | 235 'enable_web_intents_tag%': 0, |
| 236 | 236 |
| 237 # Webrtc compilation is enabled by default. Set to 0 to disable. | 237 # Webrtc compilation is enabled by default. Set to 0 to disable. |
| 238 'enable_webrtc%': 1, | 238 'enable_webrtc%': 1, |
| 239 | 239 |
| 240 # PPAPI by default does not support plugins making calls off the main | 240 # PPAPI by default does not support plugins making calls off the main |
| 241 # thread. Set to 1 to turn on experimental support for out-of-process | 241 # thread. Set to 1 to turn on experimental support for out-of-process |
| 242 # plugins to make call of the main thread. | 242 # plugins to make call of the main thread. |
| 243 'enable_pepper_threading%': 0, | 243 'enable_pepper_threading%': 0, |
| 244 | 244 |
| 245 # Enables theme support, which is enabled by default. Support for |
| 246 # disabling depends on the platform. |
| 247 'enable_themes%': 1, |
| 248 |
| 245 # XInput2 multitouch support is disabled by default (use_xi2_mt=0). | 249 # XInput2 multitouch support is disabled by default (use_xi2_mt=0). |
| 246 # Setting to non-zero value enables XI2 MT. When XI2 MT is enabled, | 250 # Setting to non-zero value enables XI2 MT. When XI2 MT is enabled, |
| 247 # the input value also defines the required XI2 minor minimum version. | 251 # the input value also defines the required XI2 minor minimum version. |
| 248 # For example, use_xi2_mt=2 means XI2.2 or above version is required. | 252 # For example, use_xi2_mt=2 means XI2.2 or above version is required. |
| 249 'use_xi2_mt%': 0, | 253 'use_xi2_mt%': 0, |
| 250 | 254 |
| 251 # Use of precompiled headers on Windows. | 255 # Use of precompiled headers on Windows. |
| 252 # | 256 # |
| 253 # This is on by default in VS 2010, but off by default for VS | 257 # This is on by default in VS 2010, but off by default for VS |
| 254 # 2008 because of complications that it can cause with our | 258 # 2008 because of complications that it can cause with our |
| (...skipping 224 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 479 'input_speech%': '<(input_speech)', | 483 'input_speech%': '<(input_speech)', |
| 480 'notifications%': '<(notifications)', | 484 'notifications%': '<(notifications)', |
| 481 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', | 485 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', |
| 482 'asan%': '<(asan)', | 486 'asan%': '<(asan)', |
| 483 'asan_blacklist%': '<(asan_blacklist)', | 487 'asan_blacklist%': '<(asan_blacklist)', |
| 484 'order_text_section%': '<(order_text_section)', | 488 'order_text_section%': '<(order_text_section)', |
| 485 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', | 489 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', |
| 486 'enable_web_intents%': '<(enable_web_intents)', | 490 'enable_web_intents%': '<(enable_web_intents)', |
| 487 'enable_web_intents_tag%': '<(enable_web_intents_tag)', | 491 'enable_web_intents_tag%': '<(enable_web_intents_tag)', |
| 488 'enable_plugin_installation%': '<(enable_plugin_installation)', | 492 'enable_plugin_installation%': '<(enable_plugin_installation)', |
| 493 'enable_themes%': '<(enable_themes)', |
| 489 'linux_use_gold_binary%': '<(linux_use_gold_binary)', | 494 'linux_use_gold_binary%': '<(linux_use_gold_binary)', |
| 490 'linux_use_gold_flags%': '<(linux_use_gold_flags)', | 495 'linux_use_gold_flags%': '<(linux_use_gold_flags)', |
| 491 'use_canvas_skia_skia%': '<(use_canvas_skia_skia)', | 496 'use_canvas_skia_skia%': '<(use_canvas_skia_skia)', |
| 492 'tests_run%': '<(tests_run)', | 497 'tests_run%': '<(tests_run)', |
| 493 | 498 |
| 494 # Whether to build for Wayland display server | 499 # Whether to build for Wayland display server |
| 495 'use_wayland%': 0, | 500 'use_wayland%': 0, |
| 496 | 501 |
| 497 # Use system yasm instead of bundled one. | 502 # Use system yasm instead of bundled one. |
| 498 'use_system_yasm%': 0, | 503 'use_system_yasm%': 0, |
| (...skipping 265 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 764 | 769 |
| 765 # Always uses openssl. | 770 # Always uses openssl. |
| 766 'use_openssl%': 1, | 771 'use_openssl%': 1, |
| 767 | 772 |
| 768 'proprietary_codecs%': '<(proprietary_codecs)', | 773 'proprietary_codecs%': '<(proprietary_codecs)', |
| 769 'safe_browsing%': 0, | 774 'safe_browsing%': 0, |
| 770 'configuration_policy%': 0, | 775 'configuration_policy%': 0, |
| 771 'input_speech%': 0, | 776 'input_speech%': 0, |
| 772 'enable_web_intents%': 0, | 777 'enable_web_intents%': 0, |
| 773 'java_bridge%': 1, | 778 'java_bridge%': 1, |
| 779 # Android does not support themes. |
| 780 'enable_themes%': 0, |
| 774 | 781 |
| 775 # Set to 1 once we have a notification system for Android. | 782 # Set to 1 once we have a notification system for Android. |
| 776 # http://crbug.com/115320 | 783 # http://crbug.com/115320 |
| 777 'notifications%': 0, | 784 'notifications%': 0, |
| 778 | 785 |
| 779 # Builds the gtest targets as a shared_library. | 786 # Builds the gtest targets as a shared_library. |
| 780 # TODO(michaelbai): Use the fixed value 'shared_library' once it | 787 # TODO(michaelbai): Use the fixed value 'shared_library' once it |
| 781 # is fully supported. | 788 # is fully supported. |
| 782 'gtest_target_type%': '<(gtest_target_type)', | 789 'gtest_target_type%': '<(gtest_target_type)', |
| 783 | 790 |
| (...skipping 558 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1342 }], | 1349 }], |
| 1343 ['OS=="win" and branding=="Chrome"', { | 1350 ['OS=="win" and branding=="Chrome"', { |
| 1344 'defines': ['ENABLE_SWIFTSHADER'], | 1351 'defines': ['ENABLE_SWIFTSHADER'], |
| 1345 }], | 1352 }], |
| 1346 ['enable_dart==1', { | 1353 ['enable_dart==1', { |
| 1347 'defines': ['WEBKIT_USING_DART=1'], | 1354 'defines': ['WEBKIT_USING_DART=1'], |
| 1348 }], | 1355 }], |
| 1349 ['enable_plugin_installation==1', { | 1356 ['enable_plugin_installation==1', { |
| 1350 'defines': ['ENABLE_PLUGIN_INSTALLATION=1'], | 1357 'defines': ['ENABLE_PLUGIN_INSTALLATION=1'], |
| 1351 }], | 1358 }], |
| 1359 ['enable_themes==1', { |
| 1360 'defines': ['ENABLE_THEMES=1'], |
| 1361 }], |
| 1352 ], # conditions for 'target_defaults' | 1362 ], # conditions for 'target_defaults' |
| 1353 'target_conditions': [ | 1363 'target_conditions': [ |
| 1354 ['enable_wexit_time_destructors==1', { | 1364 ['enable_wexit_time_destructors==1', { |
| 1355 'conditions': [ | 1365 'conditions': [ |
| 1356 [ 'clang==1', { | 1366 [ 'clang==1', { |
| 1357 'cflags': [ | 1367 'cflags': [ |
| 1358 '-Wexit-time-destructors', | 1368 '-Wexit-time-destructors', |
| 1359 ], | 1369 ], |
| 1360 'xcode_settings': { | 1370 'xcode_settings': { |
| 1361 'WARNING_CFLAGS': [ | 1371 'WARNING_CFLAGS': [ |
| (...skipping 1532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2894 # settings in target dicts. SYMROOT is a special case, because many other | 2904 # settings in target dicts. SYMROOT is a special case, because many other |
| 2895 # Xcode variables depend on it, including variables such as | 2905 # Xcode variables depend on it, including variables such as |
| 2896 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2906 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 2897 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2907 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 2898 # files to appear (when present) in the UI as actual files and not red | 2908 # files to appear (when present) in the UI as actual files and not red |
| 2899 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2909 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 2900 # and therefore SYMROOT, needs to be set at the project level. | 2910 # and therefore SYMROOT, needs to be set at the project level. |
| 2901 'SYMROOT': '<(DEPTH)/xcodebuild', | 2911 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 2902 }, | 2912 }, |
| 2903 } | 2913 } |
| OLD | NEW |