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 298 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
309 'use_third_party_translations%': '<(use_third_party_translations)', | 309 'use_third_party_translations%': '<(use_third_party_translations)', |
310 'remoting%': '<(remoting)', | 310 'remoting%': '<(remoting)', |
311 'enable_webrtc%': '<(enable_webrtc)', | 311 'enable_webrtc%': '<(enable_webrtc)', |
312 'p2p_apis%': '<(p2p_apis)', | 312 'p2p_apis%': '<(p2p_apis)', |
313 'configuration_policy%': '<(configuration_policy)', | 313 'configuration_policy%': '<(configuration_policy)', |
314 'safe_browsing%': '<(safe_browsing)', | 314 'safe_browsing%': '<(safe_browsing)', |
315 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', | 315 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', |
316 'asan%': '<(asan)', | 316 'asan%': '<(asan)', |
317 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', | 317 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', |
318 'enable_smooth_scrolling%': '<(enable_smooth_scrolling)', | 318 'enable_smooth_scrolling%': '<(enable_smooth_scrolling)', |
| 319 'enable_web_intents%': '<(enable_web_intents)', |
319 # Whether to build for Wayland display server | 320 # Whether to build for Wayland display server |
320 'use_wayland%': 0, | 321 'use_wayland%': 0, |
321 | 322 |
322 # The release channel that this build targets. This is used to restrict | 323 # The release channel that this build targets. This is used to restrict |
323 # channel-specific build options, like which installer packages to create. | 324 # channel-specific build options, like which installer packages to create. |
324 # The default is 'all', which does no channel-specific filtering. | 325 # The default is 'all', which does no channel-specific filtering. |
325 'channel%': 'all', | 326 'channel%': 'all', |
326 | 327 |
327 # Override chromium_mac_pch and set it to 0 to suppress the use of | 328 # Override chromium_mac_pch and set it to 0 to suppress the use of |
328 # precompiled headers on the Mac. Prefix header injection may still be | 329 # precompiled headers on the Mac. Prefix header injection may still be |
(...skipping 370 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
699 ['touchui==1 and chromeos==1', { | 700 ['touchui==1 and chromeos==1', { |
700 'use_ibus%': 1, | 701 'use_ibus%': 1, |
701 }, { | 702 }, { |
702 'use_ibus%': 0, | 703 'use_ibus%': 0, |
703 }], | 704 }], |
704 | 705 |
705 ['enable_register_protocol_handler==1', { | 706 ['enable_register_protocol_handler==1', { |
706 'grit_defines': ['-D', 'enable_register_protocol_handler'], | 707 'grit_defines': ['-D', 'enable_register_protocol_handler'], |
707 }], | 708 }], |
708 | 709 |
| 710 ['enable_web_intents==1', { |
| 711 'grit_defines': ['-D', 'enable_web_intents'], |
| 712 }], |
| 713 |
709 ['asan==1', { | 714 ['asan==1', { |
710 'clang%': 1, | 715 'clang%': 1, |
711 }], | 716 }], |
712 ], | 717 ], |
713 }, | 718 }, |
714 'target_defaults': { | 719 'target_defaults': { |
715 'variables': { | 720 'variables': { |
716 # The condition that operates on chromium_code is in a target_conditions | 721 # The condition that operates on chromium_code is in a target_conditions |
717 # section, and will not have access to the default fallback value of | 722 # section, and will not have access to the default fallback value of |
718 # chromium_code at the top of this file, or to the chromium_code | 723 # chromium_code at the top of this file, or to the chromium_code |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
915 ], | 920 ], |
916 'include_dirs': [ | 921 'include_dirs': [ |
917 '<(DEPTH)/third_party/wtl/include', | 922 '<(DEPTH)/third_party/wtl/include', |
918 ], | 923 ], |
919 }], # OS==win | 924 }], # OS==win |
920 ['enable_register_protocol_handler==1', { | 925 ['enable_register_protocol_handler==1', { |
921 'defines': [ | 926 'defines': [ |
922 'ENABLE_REGISTER_PROTOCOL_HANDLER=1', | 927 'ENABLE_REGISTER_PROTOCOL_HANDLER=1', |
923 ], | 928 ], |
924 }], | 929 }], |
| 930 ['enable_web_intents==1', { |
| 931 'defines': [ |
| 932 'ENABLE_INTENTS=1', |
| 933 ], |
| 934 }], |
925 ], # conditions for 'target_defaults' | 935 ], # conditions for 'target_defaults' |
926 'target_conditions': [ | 936 'target_conditions': [ |
927 ['chromium_code==0', { | 937 ['chromium_code==0', { |
928 'conditions': [ | 938 'conditions': [ |
929 [ 'os_posix==1 and OS!="mac"', { | 939 [ 'os_posix==1 and OS!="mac"', { |
930 # We don't want to get warnings from third-party code, | 940 # We don't want to get warnings from third-party code, |
931 # so remove any existing warning-enabling flags like -Wall. | 941 # so remove any existing warning-enabling flags like -Wall. |
932 'cflags!': [ | 942 'cflags!': [ |
933 '-Wall', | 943 '-Wall', |
934 '-Wextra', | 944 '-Wextra', |
(...skipping 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1968 # settings in target dicts. SYMROOT is a special case, because many other | 1978 # settings in target dicts. SYMROOT is a special case, because many other |
1969 # Xcode variables depend on it, including variables such as | 1979 # Xcode variables depend on it, including variables such as |
1970 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 1980 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
1971 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 1981 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
1972 # files to appear (when present) in the UI as actual files and not red | 1982 # files to appear (when present) in the UI as actual files and not red |
1973 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 1983 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
1974 # and therefore SYMROOT, needs to be set at the project level. | 1984 # and therefore SYMROOT, needs to be set at the project level. |
1975 'SYMROOT': '<(DEPTH)/xcodebuild', | 1985 'SYMROOT': '<(DEPTH)/xcodebuild', |
1976 }, | 1986 }, |
1977 } | 1987 } |
OLD | NEW |