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 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
307 'use_third_party_translations%': '<(use_third_party_translations)', | 307 'use_third_party_translations%': '<(use_third_party_translations)', |
308 'remoting%': '<(remoting)', | 308 'remoting%': '<(remoting)', |
309 'enable_webrtc%': '<(enable_webrtc)', | 309 'enable_webrtc%': '<(enable_webrtc)', |
310 'p2p_apis%': '<(p2p_apis)', | 310 'p2p_apis%': '<(p2p_apis)', |
311 'configuration_policy%': '<(configuration_policy)', | 311 'configuration_policy%': '<(configuration_policy)', |
312 'safe_browsing%': '<(safe_browsing)', | 312 'safe_browsing%': '<(safe_browsing)', |
313 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', | 313 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', |
314 'asan%': '<(asan)', | 314 'asan%': '<(asan)', |
315 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', | 315 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', |
316 'enable_smooth_scrolling%': '<(enable_smooth_scrolling)', | 316 'enable_smooth_scrolling%': '<(enable_smooth_scrolling)', |
317 'enable_web_intents%': '<(enable_web_intents)', | |
317 # Whether to build for Wayland display server | 318 # Whether to build for Wayland display server |
318 'use_wayland%': 0, | 319 'use_wayland%': 0, |
319 | 320 |
320 # The release channel that this build targets. This is used to restrict | 321 # The release channel that this build targets. This is used to restrict |
321 # channel-specific build options, like which installer packages to create. | 322 # channel-specific build options, like which installer packages to create. |
322 # The default is 'all', which does no channel-specific filtering. | 323 # The default is 'all', which does no channel-specific filtering. |
323 'channel%': 'all', | 324 'channel%': 'all', |
324 | 325 |
325 # Override chromium_mac_pch and set it to 0 to suppress the use of | 326 # Override chromium_mac_pch and set it to 0 to suppress the use of |
326 # precompiled headers on the Mac. Prefix header injection may still be | 327 # precompiled headers on the Mac. Prefix header injection may still be |
(...skipping 363 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
690 ['touchui==1 and chromeos==1', { | 691 ['touchui==1 and chromeos==1', { |
691 'use_ibus%': 1, | 692 'use_ibus%': 1, |
692 }, { | 693 }, { |
693 'use_ibus%': 0, | 694 'use_ibus%': 0, |
694 }], | 695 }], |
695 | 696 |
696 ['enable_register_protocol_handler==1', { | 697 ['enable_register_protocol_handler==1', { |
697 'grit_defines': ['-D', 'enable_register_protocol_handler'], | 698 'grit_defines': ['-D', 'enable_register_protocol_handler'], |
698 }], | 699 }], |
699 | 700 |
701 ['enable_web_intents==1', { | |
702 'grit_defines': ['-D', 'enable_web_intents'], | |
703 }], | |
704 | |
700 ['asan==1', { | 705 ['asan==1', { |
701 'clang%': 1, | 706 'clang%': 1, |
702 }], | 707 }], |
703 ], | 708 ], |
704 }, | 709 }, |
705 'target_defaults': { | 710 'target_defaults': { |
706 'variables': { | 711 'variables': { |
707 # The condition that operates on chromium_code is in a target_conditions | 712 # The condition that operates on chromium_code is in a target_conditions |
708 # section, and will not have access to the default fallback value of | 713 # section, and will not have access to the default fallback value of |
709 # chromium_code at the top of this file, or to the chromium_code | 714 # chromium_code at the top of this file, or to the chromium_code |
(...skipping 191 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
901 ], | 906 ], |
902 'include_dirs': [ | 907 'include_dirs': [ |
903 '<(DEPTH)/third_party/wtl/include', | 908 '<(DEPTH)/third_party/wtl/include', |
904 ], | 909 ], |
905 }], # OS==win | 910 }], # OS==win |
906 ['enable_register_protocol_handler==1', { | 911 ['enable_register_protocol_handler==1', { |
907 'defines': [ | 912 'defines': [ |
908 'ENABLE_REGISTER_PROTOCOL_HANDLER=1', | 913 'ENABLE_REGISTER_PROTOCOL_HANDLER=1', |
909 ], | 914 ], |
910 }], | 915 }], |
916 ['enable_web_intents==1', { | |
917 'defines': [ | |
918 'ENABLE_INTENTS=1', | |
James Hawkins
2011/08/17 21:34:15
ENABLE_WEB_INTENTS, though we already have that de
Greg Billock
2011/08/17 22:44:02
I don't think so. And you're right. That's better
| |
919 ], | |
920 }], | |
911 ], # conditions for 'target_defaults' | 921 ], # conditions for 'target_defaults' |
912 'target_conditions': [ | 922 'target_conditions': [ |
913 ['chromium_code==0', { | 923 ['chromium_code==0', { |
914 'conditions': [ | 924 'conditions': [ |
915 [ 'os_posix==1 and OS!="mac"', { | 925 [ 'os_posix==1 and OS!="mac"', { |
916 # We don't want to get warnings from third-party code, | 926 # We don't want to get warnings from third-party code, |
917 # so remove any existing warning-enabling flags like -Wall. | 927 # so remove any existing warning-enabling flags like -Wall. |
918 'cflags!': [ | 928 'cflags!': [ |
919 '-Wall', | 929 '-Wall', |
920 '-Wextra', | 930 '-Wextra', |
(...skipping 1057 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1978 # settings in target dicts. SYMROOT is a special case, because many other | 1988 # settings in target dicts. SYMROOT is a special case, because many other |
1979 # Xcode variables depend on it, including variables such as | 1989 # Xcode variables depend on it, including variables such as |
1980 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 1990 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
1981 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 1991 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
1982 # files to appear (when present) in the UI as actual files and not red | 1992 # files to appear (when present) in the UI as actual files and not red |
1983 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 1993 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
1984 # and therefore SYMROOT, needs to be set at the project level. | 1994 # and therefore SYMROOT, needs to be set at the project level. |
1985 'SYMROOT': '<(DEPTH)/xcodebuild', | 1995 'SYMROOT': '<(DEPTH)/xcodebuild', |
1986 }, | 1996 }, |
1987 } | 1997 } |
OLD | NEW |