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 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
190 # P2P APIs are compiled in by default. Set to 0 to disable. | 190 # P2P APIs are compiled in by default. Set to 0 to disable. |
191 # Also note that this should be enabled for remoting to compile. | 191 # Also note that this should be enabled for remoting to compile. |
192 'p2p_apis%': 1, | 192 'p2p_apis%': 1, |
193 | 193 |
194 # Configuration policy is enabled by default. Set to 0 to disable. | 194 # Configuration policy is enabled by default. Set to 0 to disable. |
195 'configuration_policy%': 1, | 195 'configuration_policy%': 1, |
196 | 196 |
197 # Safe browsing is compiled in by default. Set to 0 to disable. | 197 # Safe browsing is compiled in by default. Set to 0 to disable. |
198 'safe_browsing%': 1, | 198 'safe_browsing%': 1, |
199 | 199 |
| 200 # Speech input is compiled in by default. Set to 0 to disable. |
| 201 'input_speech%': 1, |
| 202 |
200 # If this is set, the clang plugins used on the buildbot will be used. | 203 # If this is set, the clang plugins used on the buildbot will be used. |
201 # Run tools/clang/scripts/update.sh to make sure they are compiled. | 204 # Run tools/clang/scripts/update.sh to make sure they are compiled. |
202 # This causes 'clang_chrome_plugins_flags' to be set. | 205 # This causes 'clang_chrome_plugins_flags' to be set. |
203 # Has no effect if 'clang' is not set as well. | 206 # Has no effect if 'clang' is not set as well. |
204 'clang_use_chrome_plugins%': 0, | 207 'clang_use_chrome_plugins%': 0, |
205 | 208 |
206 # Enable building with ASAN (Clang's -fasan option). | 209 # Enable building with ASAN (Clang's -fasan option). |
207 # -fasan only works with clang, but asan=1 implies clang=1 | 210 # -fasan only works with clang, but asan=1 implies clang=1 |
208 # See https://sites.google.com/a/chromium.org/dev/developers/testing/addre
sssanitizer | 211 # See https://sites.google.com/a/chromium.org/dev/developers/testing/addre
sssanitizer |
209 'asan%': 0, | 212 'asan%': 0, |
(...skipping 153 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
363 'component%': '<(component)', | 366 'component%': '<(component)', |
364 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', | 367 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', |
365 'use_third_party_translations%': '<(use_third_party_translations)', | 368 'use_third_party_translations%': '<(use_third_party_translations)', |
366 'remoting%': '<(remoting)', | 369 'remoting%': '<(remoting)', |
367 'use_threaded_compositing%': '<(use_threaded_compositing)', | 370 'use_threaded_compositing%': '<(use_threaded_compositing)', |
368 'enable_webrtc%': '<(enable_webrtc)', | 371 'enable_webrtc%': '<(enable_webrtc)', |
369 'chromium_win_pch%': '<(chromium_win_pch)', | 372 'chromium_win_pch%': '<(chromium_win_pch)', |
370 'p2p_apis%': '<(p2p_apis)', | 373 'p2p_apis%': '<(p2p_apis)', |
371 'configuration_policy%': '<(configuration_policy)', | 374 'configuration_policy%': '<(configuration_policy)', |
372 'safe_browsing%': '<(safe_browsing)', | 375 'safe_browsing%': '<(safe_browsing)', |
| 376 'input_speech%': '<(input_speech)', |
373 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', | 377 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', |
374 'asan%': '<(asan)', | 378 'asan%': '<(asan)', |
375 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', | 379 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', |
376 'enable_web_intents%': '<(enable_web_intents)', | 380 'enable_web_intents%': '<(enable_web_intents)', |
377 # Whether to build for Wayland display server | 381 # Whether to build for Wayland display server |
378 'use_wayland%': 0, | 382 'use_wayland%': 0, |
379 | 383 |
380 # Default to enabled PIE; this is important for ASLR but we need to be | 384 # Default to enabled PIE; this is important for ASLR but we need to be |
381 # able to turn it off for remote debugging on Chromium OS | 385 # able to turn it off for remote debugging on Chromium OS |
382 'linux_disable_pie%': 0, | 386 'linux_disable_pie%': 0, |
(...skipping 244 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
627 | 631 |
628 # Uses Android's crash report system | 632 # Uses Android's crash report system |
629 'linux_breakpad%': 0, | 633 'linux_breakpad%': 0, |
630 | 634 |
631 # Always uses openssl. | 635 # Always uses openssl. |
632 'use_openssl%': 1, | 636 'use_openssl%': 1, |
633 | 637 |
634 'proprietary_codecs%': '<(proprietary_codecs)', | 638 'proprietary_codecs%': '<(proprietary_codecs)', |
635 'safe_browsing%': 0, | 639 'safe_browsing%': 0, |
636 'configuration_policy%': 0, | 640 'configuration_policy%': 0, |
| 641 'input_speech%': 0, |
637 | 642 |
638 # Builds the gtest targets as a shared_library. | 643 # Builds the gtest targets as a shared_library. |
639 # TODO(michaelbai): Use the fixed value 'shared_library' once it | 644 # TODO(michaelbai): Use the fixed value 'shared_library' once it |
640 # is fully supported. | 645 # is fully supported. |
641 'gtest_target_type%': '<(gtest_target_type)', | 646 'gtest_target_type%': '<(gtest_target_type)', |
642 | 647 |
643 # Uses system APIs for decoding audio and video. | 648 # Uses system APIs for decoding audio and video. |
644 'use_libffmpeg%': '0', | 649 'use_libffmpeg%': '0', |
645 | 650 |
646 # Always use the chromium skia. The use_system_harfbuzz needs to | 651 # Always use the chromium skia. The use_system_harfbuzz needs to |
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
971 }], | 976 }], |
972 ['proprietary_codecs==1', { | 977 ['proprietary_codecs==1', { |
973 'defines': ['USE_PROPRIETARY_CODECS'], | 978 'defines': ['USE_PROPRIETARY_CODECS'], |
974 }], | 979 }], |
975 ['enable_flapper_hacks==1', { | 980 ['enable_flapper_hacks==1', { |
976 'defines': ['ENABLE_FLAPPER_HACKS=1'], | 981 'defines': ['ENABLE_FLAPPER_HACKS=1'], |
977 }], | 982 }], |
978 ['configuration_policy==1', { | 983 ['configuration_policy==1', { |
979 'defines': ['ENABLE_CONFIGURATION_POLICY'], | 984 'defines': ['ENABLE_CONFIGURATION_POLICY'], |
980 }], | 985 }], |
| 986 ['input_speech==1', { |
| 987 'defines': ['ENABLE_INPUT_SPEECH'], |
| 988 }], |
981 ['fastbuild!=0', { | 989 ['fastbuild!=0', { |
982 | 990 |
983 'conditions': [ | 991 'conditions': [ |
984 # For Windows and Mac, we don't genererate debug information. | 992 # For Windows and Mac, we don't genererate debug information. |
985 ['OS=="win" or OS=="mac"', { | 993 ['OS=="win" or OS=="mac"', { |
986 'msvs_settings': { | 994 'msvs_settings': { |
987 'VCLinkerTool': { | 995 'VCLinkerTool': { |
988 'GenerateDebugInformation': 'false', | 996 'GenerateDebugInformation': 'false', |
989 }, | 997 }, |
990 'VCCLCompilerTool': { | 998 'VCCLCompilerTool': { |
(...skipping 1532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2523 # settings in target dicts. SYMROOT is a special case, because many other | 2531 # settings in target dicts. SYMROOT is a special case, because many other |
2524 # Xcode variables depend on it, including variables such as | 2532 # Xcode variables depend on it, including variables such as |
2525 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2533 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2526 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2534 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2527 # files to appear (when present) in the UI as actual files and not red | 2535 # files to appear (when present) in the UI as actual files and not red |
2528 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2536 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2529 # and therefore SYMROOT, needs to be set at the project level. | 2537 # and therefore SYMROOT, needs to be set at the project level. |
2530 'SYMROOT': '<(DEPTH)/xcodebuild', | 2538 'SYMROOT': '<(DEPTH)/xcodebuild', |
2531 }, | 2539 }, |
2532 } | 2540 } |
OLD | NEW |