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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
197 | 197 |
198 # Configuration policy is enabled by default. Set to 0 to disable. | 198 # Configuration policy is enabled by default. Set to 0 to disable. |
199 'configuration_policy%': 1, | 199 'configuration_policy%': 1, |
200 | 200 |
201 # Safe browsing is compiled in by default. Set to 0 to disable. | 201 # Safe browsing is compiled in by default. Set to 0 to disable. |
202 'safe_browsing%': 1, | 202 'safe_browsing%': 1, |
203 | 203 |
204 # Speech input is compiled in by default. Set to 0 to disable. | 204 # Speech input is compiled in by default. Set to 0 to disable. |
205 'input_speech%': 1, | 205 'input_speech%': 1, |
206 | 206 |
| 207 # Notifications are compiled in by default. Set to 0 to disable. |
| 208 'notifications%' : 1, |
| 209 |
207 # If this is set, the clang plugins used on the buildbot will be used. | 210 # If this is set, the clang plugins used on the buildbot will be used. |
208 # Run tools/clang/scripts/update.sh to make sure they are compiled. | 211 # Run tools/clang/scripts/update.sh to make sure they are compiled. |
209 # This causes 'clang_chrome_plugins_flags' to be set. | 212 # This causes 'clang_chrome_plugins_flags' to be set. |
210 # Has no effect if 'clang' is not set as well. | 213 # Has no effect if 'clang' is not set as well. |
211 'clang_use_chrome_plugins%': 0, | 214 'clang_use_chrome_plugins%': 0, |
212 | 215 |
213 # Enable building with ASAN (Clang's -fasan option). | 216 # Enable building with ASAN (Clang's -fasan option). |
214 # -fasan only works with clang, but asan=1 implies clang=1 | 217 # -fasan only works with clang, but asan=1 implies clang=1 |
215 # See https://sites.google.com/a/chromium.org/dev/developers/testing/addre
sssanitizer | 218 # See https://sites.google.com/a/chromium.org/dev/developers/testing/addre
sssanitizer |
216 'asan%': 0, | 219 'asan%': 0, |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
385 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', | 388 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', |
386 'use_third_party_translations%': '<(use_third_party_translations)', | 389 'use_third_party_translations%': '<(use_third_party_translations)', |
387 'remoting%': '<(remoting)', | 390 'remoting%': '<(remoting)', |
388 'use_threaded_compositing%': '<(use_threaded_compositing)', | 391 'use_threaded_compositing%': '<(use_threaded_compositing)', |
389 'enable_webrtc%': '<(enable_webrtc)', | 392 'enable_webrtc%': '<(enable_webrtc)', |
390 'chromium_win_pch%': '<(chromium_win_pch)', | 393 'chromium_win_pch%': '<(chromium_win_pch)', |
391 'p2p_apis%': '<(p2p_apis)', | 394 'p2p_apis%': '<(p2p_apis)', |
392 'configuration_policy%': '<(configuration_policy)', | 395 'configuration_policy%': '<(configuration_policy)', |
393 'safe_browsing%': '<(safe_browsing)', | 396 'safe_browsing%': '<(safe_browsing)', |
394 'input_speech%': '<(input_speech)', | 397 'input_speech%': '<(input_speech)', |
| 398 'notifications%': '<(notifications)', |
395 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', | 399 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', |
396 'asan%': '<(asan)', | 400 'asan%': '<(asan)', |
397 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', | 401 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', |
398 'enable_web_intents%': '<(enable_web_intents)', | 402 'enable_web_intents%': '<(enable_web_intents)', |
399 # Whether to build for Wayland display server | 403 # Whether to build for Wayland display server |
400 'use_wayland%': 0, | 404 'use_wayland%': 0, |
401 | 405 |
402 # Use system yasm instead of bundled one. | 406 # Use system yasm instead of bundled one. |
403 'use_system_yasm%': 0, | 407 'use_system_yasm%': 0, |
404 | 408 |
(...skipping 254 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
659 'linux_breakpad%': 0, | 663 'linux_breakpad%': 0, |
660 | 664 |
661 # Always uses openssl. | 665 # Always uses openssl. |
662 'use_openssl%': 1, | 666 'use_openssl%': 1, |
663 | 667 |
664 'proprietary_codecs%': '<(proprietary_codecs)', | 668 'proprietary_codecs%': '<(proprietary_codecs)', |
665 'safe_browsing%': 0, | 669 'safe_browsing%': 0, |
666 'configuration_policy%': 0, | 670 'configuration_policy%': 0, |
667 'input_speech%': 0, | 671 'input_speech%': 0, |
668 'java_bridge%': 1, | 672 'java_bridge%': 1, |
| 673 'notifications%': 0, |
669 | 674 |
670 # Builds the gtest targets as a shared_library. | 675 # Builds the gtest targets as a shared_library. |
671 # TODO(michaelbai): Use the fixed value 'shared_library' once it | 676 # TODO(michaelbai): Use the fixed value 'shared_library' once it |
672 # is fully supported. | 677 # is fully supported. |
673 'gtest_target_type%': '<(gtest_target_type)', | 678 'gtest_target_type%': '<(gtest_target_type)', |
674 | 679 |
675 # Uses system APIs for decoding audio and video. | 680 # Uses system APIs for decoding audio and video. |
676 'use_libffmpeg%': '0', | 681 'use_libffmpeg%': '0', |
677 | 682 |
678 # Always use the chromium skia. The use_system_harfbuzz needs to | 683 # Always use the chromium skia. The use_system_harfbuzz needs to |
(...skipping 343 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1022 }], | 1027 }], |
1023 ['enable_pepper_threading==1', { | 1028 ['enable_pepper_threading==1', { |
1024 'defines': ['ENABLE_PEPPER_THREADING'], | 1029 'defines': ['ENABLE_PEPPER_THREADING'], |
1025 }], | 1030 }], |
1026 ['configuration_policy==1', { | 1031 ['configuration_policy==1', { |
1027 'defines': ['ENABLE_CONFIGURATION_POLICY'], | 1032 'defines': ['ENABLE_CONFIGURATION_POLICY'], |
1028 }], | 1033 }], |
1029 ['input_speech==1', { | 1034 ['input_speech==1', { |
1030 'defines': ['ENABLE_INPUT_SPEECH'], | 1035 'defines': ['ENABLE_INPUT_SPEECH'], |
1031 }], | 1036 }], |
| 1037 ['notifications==1', { |
| 1038 'defines': ['ENABLE_NOTIFICATIONS'], |
| 1039 }], |
1032 ['fastbuild!=0', { | 1040 ['fastbuild!=0', { |
1033 | 1041 |
1034 'conditions': [ | 1042 'conditions': [ |
1035 # For Windows and Mac, we don't genererate debug information. | 1043 # For Windows and Mac, we don't genererate debug information. |
1036 ['OS=="win" or OS=="mac"', { | 1044 ['OS=="win" or OS=="mac"', { |
1037 'msvs_settings': { | 1045 'msvs_settings': { |
1038 'VCLinkerTool': { | 1046 'VCLinkerTool': { |
1039 'GenerateDebugInformation': 'false', | 1047 'GenerateDebugInformation': 'false', |
1040 }, | 1048 }, |
1041 'VCCLCompilerTool': { | 1049 'VCCLCompilerTool': { |
(...skipping 1546 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2588 # settings in target dicts. SYMROOT is a special case, because many other | 2596 # settings in target dicts. SYMROOT is a special case, because many other |
2589 # Xcode variables depend on it, including variables such as | 2597 # Xcode variables depend on it, including variables such as |
2590 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2598 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
2591 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2599 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
2592 # files to appear (when present) in the UI as actual files and not red | 2600 # files to appear (when present) in the UI as actual files and not red |
2593 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2601 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
2594 # and therefore SYMROOT, needs to be set at the project level. | 2602 # and therefore SYMROOT, needs to be set at the project level. |
2595 'SYMROOT': '<(DEPTH)/xcodebuild', | 2603 'SYMROOT': '<(DEPTH)/xcodebuild', |
2596 }, | 2604 }, |
2597 } | 2605 } |
OLD | NEW |