| 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 207 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 218 # 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 |
| 219 'asan%': 0, | 219 'asan%': 0, |
| 220 | 220 |
| 221 # Set to 1 compile with -fPIC cflag on linux. This is a must for shared | 221 # Set to 1 compile with -fPIC cflag on linux. This is a must for shared |
| 222 # libraries on linux x86-64 and arm, plus ASLR. | 222 # libraries on linux x86-64 and arm, plus ASLR. |
| 223 'linux_fpic%': 1, | 223 'linux_fpic%': 1, |
| 224 | 224 |
| 225 # Enable navigator.registerProtocolHandler and supporting UI. | 225 # Enable navigator.registerProtocolHandler and supporting UI. |
| 226 'enable_register_protocol_handler%': 1, | 226 'enable_register_protocol_handler%': 1, |
| 227 | 227 |
| 228 # Enable <input type=color> and supporting UI. |
| 229 'enable_input_color%': 0, |
| 230 |
| 228 # Enable Web Intents and supporting UI. | 231 # Enable Web Intents and supporting UI. |
| 229 'enable_web_intents%': 0, | 232 'enable_web_intents%': 0, |
| 230 | 233 |
| 231 # Webrtc compilation is enabled by default. Set to 0 to disable. | 234 # Webrtc compilation is enabled by default. Set to 0 to disable. |
| 232 'enable_webrtc%': 1, | 235 'enable_webrtc%': 1, |
| 233 | 236 |
| 234 # PPAPI by default does not support plugins making calls off the main | 237 # PPAPI by default does not support plugins making calls off the main |
| 235 # thread. Set to 1 to turn on experimental support for out-of-process | 238 # thread. Set to 1 to turn on experimental support for out-of-process |
| 236 # plugins to make call of the main thread. | 239 # plugins to make call of the main thread. |
| 237 'enable_pepper_threading%': 0, | 240 'enable_pepper_threading%': 0, |
| (...skipping 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 398 'enable_webrtc%': '<(enable_webrtc)', | 401 'enable_webrtc%': '<(enable_webrtc)', |
| 399 'chromium_win_pch%': '<(chromium_win_pch)', | 402 'chromium_win_pch%': '<(chromium_win_pch)', |
| 400 'p2p_apis%': '<(p2p_apis)', | 403 'p2p_apis%': '<(p2p_apis)', |
| 401 'configuration_policy%': '<(configuration_policy)', | 404 'configuration_policy%': '<(configuration_policy)', |
| 402 'safe_browsing%': '<(safe_browsing)', | 405 'safe_browsing%': '<(safe_browsing)', |
| 403 'input_speech%': '<(input_speech)', | 406 'input_speech%': '<(input_speech)', |
| 404 'notifications%': '<(notifications)', | 407 'notifications%': '<(notifications)', |
| 405 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', | 408 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', |
| 406 'asan%': '<(asan)', | 409 'asan%': '<(asan)', |
| 407 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', | 410 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', |
| 411 'enable_input_color%': '<(enable_input_color)', |
| 408 'enable_web_intents%': '<(enable_web_intents)', | 412 'enable_web_intents%': '<(enable_web_intents)', |
| 409 # Whether to build for Wayland display server | 413 # Whether to build for Wayland display server |
| 410 'use_wayland%': 0, | 414 'use_wayland%': 0, |
| 411 | 415 |
| 412 # Use system yasm instead of bundled one. | 416 # Use system yasm instead of bundled one. |
| 413 'use_system_yasm%': 0, | 417 'use_system_yasm%': 0, |
| 414 | 418 |
| 415 # Default to enabled PIE; this is important for ASLR but we need to be | 419 # Default to enabled PIE; this is important for ASLR but we need to be |
| 416 # able to turn it off for remote debugging on Chromium OS | 420 # able to turn it off for remote debugging on Chromium OS |
| 417 'linux_disable_pie%': 0, | 421 'linux_disable_pie%': 0, |
| (...skipping 444 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 862 ['touchui==1 and chromeos==1', { | 866 ['touchui==1 and chromeos==1', { |
| 863 'use_ibus%': 1, | 867 'use_ibus%': 1, |
| 864 }, { | 868 }, { |
| 865 'use_ibus%': 0, | 869 'use_ibus%': 0, |
| 866 }], | 870 }], |
| 867 | 871 |
| 868 ['enable_register_protocol_handler==1', { | 872 ['enable_register_protocol_handler==1', { |
| 869 'grit_defines': ['-D', 'enable_register_protocol_handler'], | 873 'grit_defines': ['-D', 'enable_register_protocol_handler'], |
| 870 }], | 874 }], |
| 871 | 875 |
| 876 ['enable_input_color==1', { |
| 877 'grit_defines': ['-D', 'enable_input_color'], |
| 878 }], |
| 879 |
| 872 ['enable_web_intents==1', { | 880 ['enable_web_intents==1', { |
| 873 'grit_defines': ['-D', 'enable_web_intents'], | 881 'grit_defines': ['-D', 'enable_web_intents'], |
| 874 }], | 882 }], |
| 875 | 883 |
| 876 ['asan==1', { | 884 ['asan==1', { |
| 877 'clang%': 1, | 885 'clang%': 1, |
| 878 # Do not use Chrome plugins for Clang. The Clang version in | 886 # Do not use Chrome plugins for Clang. The Clang version in |
| 879 # third_party/asan may be different from the default one. | 887 # third_party/asan may be different from the default one. |
| 880 'clang_use_chrome_plugins%': 0, | 888 'clang_use_chrome_plugins%': 0, |
| 881 }], | 889 }], |
| (...skipping 269 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1151 ], | 1159 ], |
| 1152 'include_dirs': [ | 1160 'include_dirs': [ |
| 1153 '<(DEPTH)/third_party/wtl/include', | 1161 '<(DEPTH)/third_party/wtl/include', |
| 1154 ], | 1162 ], |
| 1155 }], # OS==win | 1163 }], # OS==win |
| 1156 ['enable_register_protocol_handler==1', { | 1164 ['enable_register_protocol_handler==1', { |
| 1157 'defines': [ | 1165 'defines': [ |
| 1158 'ENABLE_REGISTER_PROTOCOL_HANDLER=1', | 1166 'ENABLE_REGISTER_PROTOCOL_HANDLER=1', |
| 1159 ], | 1167 ], |
| 1160 }], | 1168 }], |
| 1169 ['enable_input_color==1', { |
| 1170 'defines': [ |
| 1171 'ENABLE_INPUT_COLOR=1', |
| 1172 ], |
| 1173 }], |
| 1161 ['enable_web_intents==1', { | 1174 ['enable_web_intents==1', { |
| 1162 'defines': [ | 1175 'defines': [ |
| 1163 'ENABLE_WEB_INTENTS=1', | 1176 'ENABLE_WEB_INTENTS=1', |
| 1164 ], | 1177 ], |
| 1165 }], | 1178 }], |
| 1166 ], # conditions for 'target_defaults' | 1179 ], # conditions for 'target_defaults' |
| 1167 'target_conditions': [ | 1180 'target_conditions': [ |
| 1168 ['chromium_code==0', { | 1181 ['chromium_code==0', { |
| 1169 'conditions': [ | 1182 'conditions': [ |
| 1170 [ 'os_posix==1 and OS!="mac"', { | 1183 [ 'os_posix==1 and OS!="mac"', { |
| (...skipping 1430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2601 # settings in target dicts. SYMROOT is a special case, because many other | 2614 # settings in target dicts. SYMROOT is a special case, because many other |
| 2602 # Xcode variables depend on it, including variables such as | 2615 # Xcode variables depend on it, including variables such as |
| 2603 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2616 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 2604 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2617 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 2605 # files to appear (when present) in the UI as actual files and not red | 2618 # files to appear (when present) in the UI as actual files and not red |
| 2606 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2619 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 2607 # and therefore SYMROOT, needs to be set at the project level. | 2620 # and therefore SYMROOT, needs to be set at the project level. |
| 2608 'SYMROOT': '<(DEPTH)/xcodebuild', | 2621 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 2609 }, | 2622 }, |
| 2610 } | 2623 } |
| OLD | NEW |