| 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 366 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 695 ['touchui==1 and chromeos==1', { | 696 ['touchui==1 and chromeos==1', { |
| 696 'use_ibus%': 1, | 697 'use_ibus%': 1, |
| 697 }, { | 698 }, { |
| 698 'use_ibus%': 0, | 699 'use_ibus%': 0, |
| 699 }], | 700 }], |
| 700 | 701 |
| 701 ['enable_register_protocol_handler==1', { | 702 ['enable_register_protocol_handler==1', { |
| 702 'grit_defines': ['-D', 'enable_register_protocol_handler'], | 703 'grit_defines': ['-D', 'enable_register_protocol_handler'], |
| 703 }], | 704 }], |
| 704 | 705 |
| 706 ['enable_web_intents==1', { |
| 707 'grit_defines': ['-D', 'enable_web_intents'], |
| 708 }], |
| 709 |
| 705 ['asan==1', { | 710 ['asan==1', { |
| 706 'clang%': 1, | 711 'clang%': 1, |
| 707 }], | 712 }], |
| 708 ], | 713 ], |
| 709 }, | 714 }, |
| 710 'target_defaults': { | 715 'target_defaults': { |
| 711 'variables': { | 716 'variables': { |
| 712 # The condition that operates on chromium_code is in a target_conditions | 717 # The condition that operates on chromium_code is in a target_conditions |
| 713 # section, and will not have access to the default fallback value of | 718 # section, and will not have access to the default fallback value of |
| 714 # chromium_code at the top of this file, or to the chromium_code | 719 # 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... |
| 911 ], | 916 ], |
| 912 'include_dirs': [ | 917 'include_dirs': [ |
| 913 '<(DEPTH)/third_party/wtl/include', | 918 '<(DEPTH)/third_party/wtl/include', |
| 914 ], | 919 ], |
| 915 }], # OS==win | 920 }], # OS==win |
| 916 ['enable_register_protocol_handler==1', { | 921 ['enable_register_protocol_handler==1', { |
| 917 'defines': [ | 922 'defines': [ |
| 918 'ENABLE_REGISTER_PROTOCOL_HANDLER=1', | 923 'ENABLE_REGISTER_PROTOCOL_HANDLER=1', |
| 919 ], | 924 ], |
| 920 }], | 925 }], |
| 926 ['enable_web_intents==1', { |
| 927 'defines': [ |
| 928 'ENABLE_INTENTS=1', |
| 929 ], |
| 930 }], |
| 921 ], # conditions for 'target_defaults' | 931 ], # conditions for 'target_defaults' |
| 922 'target_conditions': [ | 932 'target_conditions': [ |
| 923 ['chromium_code==0', { | 933 ['chromium_code==0', { |
| 924 'conditions': [ | 934 'conditions': [ |
| 925 [ 'os_posix==1 and OS!="mac"', { | 935 [ 'os_posix==1 and OS!="mac"', { |
| 926 # We don't want to get warnings from third-party code, | 936 # We don't want to get warnings from third-party code, |
| 927 # so remove any existing warning-enabling flags like -Wall. | 937 # so remove any existing warning-enabling flags like -Wall. |
| 928 'cflags!': [ | 938 'cflags!': [ |
| 929 '-Wall', | 939 '-Wall', |
| 930 '-Wextra', | 940 '-Wextra', |
| (...skipping 1033 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1964 # settings in target dicts. SYMROOT is a special case, because many other | 1974 # settings in target dicts. SYMROOT is a special case, because many other |
| 1965 # Xcode variables depend on it, including variables such as | 1975 # Xcode variables depend on it, including variables such as |
| 1966 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 1976 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 1967 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 1977 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 1968 # files to appear (when present) in the UI as actual files and not red | 1978 # files to appear (when present) in the UI as actual files and not red |
| 1969 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 1979 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 1970 # and therefore SYMROOT, needs to be set at the project level. | 1980 # and therefore SYMROOT, needs to be set at the project level. |
| 1971 'SYMROOT': '<(DEPTH)/xcodebuild', | 1981 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 1972 }, | 1982 }, |
| 1973 } | 1983 } |
| OLD | NEW |