| OLD | NEW |
| 1 # Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2012 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 227 # See https://sites.google.com/a/chromium.org/dev/developers/testing/addre
sssanitizer | 227 # See https://sites.google.com/a/chromium.org/dev/developers/testing/addre
sssanitizer |
| 228 'asan%': 0, | 228 'asan%': 0, |
| 229 | 229 |
| 230 # Set to 1 compile with -fPIC cflag on linux. This is a must for shared | 230 # Set to 1 compile with -fPIC cflag on linux. This is a must for shared |
| 231 # libraries on linux x86-64 and arm, plus ASLR. | 231 # libraries on linux x86-64 and arm, plus ASLR. |
| 232 'linux_fpic%': 1, | 232 'linux_fpic%': 1, |
| 233 | 233 |
| 234 # Enable navigator.registerProtocolHandler and supporting UI. | 234 # Enable navigator.registerProtocolHandler and supporting UI. |
| 235 'enable_register_protocol_handler%': 1, | 235 'enable_register_protocol_handler%': 1, |
| 236 | 236 |
| 237 # Enable <input type=color> and supporting UI. |
| 238 'enable_input_color%': 0, |
| 239 |
| 237 # Enable Web Intents and supporting UI. | 240 # Enable Web Intents and supporting UI. |
| 238 'enable_web_intents%': 0, | 241 'enable_web_intents%': 0, |
| 239 | 242 |
| 240 # Webrtc compilation is enabled by default. Set to 0 to disable. | 243 # Webrtc compilation is enabled by default. Set to 0 to disable. |
| 241 'enable_webrtc%': 1, | 244 'enable_webrtc%': 1, |
| 242 | 245 |
| 243 # PPAPI by default does not support plugins making calls off the main | 246 # PPAPI by default does not support plugins making calls off the main |
| 244 # thread. Set to 1 to turn on experimental support for out-of-process | 247 # thread. Set to 1 to turn on experimental support for out-of-process |
| 245 # plugins to make call of the main thread. | 248 # plugins to make call of the main thread. |
| 246 'enable_pepper_threading%': 0, | 249 'enable_pepper_threading%': 0, |
| (...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 'enable_webrtc%': '<(enable_webrtc)', | 419 'enable_webrtc%': '<(enable_webrtc)', |
| 417 'chromium_win_pch%': '<(chromium_win_pch)', | 420 'chromium_win_pch%': '<(chromium_win_pch)', |
| 418 'p2p_apis%': '<(p2p_apis)', | 421 'p2p_apis%': '<(p2p_apis)', |
| 419 'configuration_policy%': '<(configuration_policy)', | 422 'configuration_policy%': '<(configuration_policy)', |
| 420 'safe_browsing%': '<(safe_browsing)', | 423 'safe_browsing%': '<(safe_browsing)', |
| 421 'input_speech%': '<(input_speech)', | 424 'input_speech%': '<(input_speech)', |
| 422 'notifications%': '<(notifications)', | 425 'notifications%': '<(notifications)', |
| 423 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', | 426 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', |
| 424 'asan%': '<(asan)', | 427 'asan%': '<(asan)', |
| 425 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', | 428 'enable_register_protocol_handler%': '<(enable_register_protocol_handler)', |
| 429 'enable_input_color%': '<(enable_input_color)', |
| 426 'enable_web_intents%': '<(enable_web_intents)', | 430 'enable_web_intents%': '<(enable_web_intents)', |
| 427 # Whether to build for Wayland display server | 431 # Whether to build for Wayland display server |
| 428 'use_wayland%': 0, | 432 'use_wayland%': 0, |
| 429 | 433 |
| 430 # Use system yasm instead of bundled one. | 434 # Use system yasm instead of bundled one. |
| 431 'use_system_yasm%': 0, | 435 'use_system_yasm%': 0, |
| 432 | 436 |
| 433 # Default to enabled PIE; this is important for ASLR but we need to be | 437 # Default to enabled PIE; this is important for ASLR but we need to be |
| 434 # able to turn it off for remote debugging on Chromium OS | 438 # able to turn it off for remote debugging on Chromium OS |
| 435 'linux_disable_pie%': 0, | 439 'linux_disable_pie%': 0, |
| (...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 906 ['use_virtual_keyboard==1 and chromeos==1', { | 910 ['use_virtual_keyboard==1 and chromeos==1', { |
| 907 'use_ibus%': 1, | 911 'use_ibus%': 1, |
| 908 }, { | 912 }, { |
| 909 'use_ibus%': 0, | 913 'use_ibus%': 0, |
| 910 }], | 914 }], |
| 911 | 915 |
| 912 ['enable_register_protocol_handler==1', { | 916 ['enable_register_protocol_handler==1', { |
| 913 'grit_defines': ['-D', 'enable_register_protocol_handler'], | 917 'grit_defines': ['-D', 'enable_register_protocol_handler'], |
| 914 }], | 918 }], |
| 915 | 919 |
| 920 ['enable_input_color==1', { |
| 921 'grit_defines': ['-D', 'enable_input_color'], |
| 922 }], |
| 923 |
| 916 ['enable_web_intents==1', { | 924 ['enable_web_intents==1', { |
| 917 'grit_defines': ['-D', 'enable_web_intents'], | 925 'grit_defines': ['-D', 'enable_web_intents'], |
| 918 }], | 926 }], |
| 919 | 927 |
| 920 ['asan==1', { | 928 ['asan==1', { |
| 921 'clang%': 1, | 929 'clang%': 1, |
| 922 # Do not use Chrome plugins for Clang. The Clang version in | 930 # Do not use Chrome plugins for Clang. The Clang version in |
| 923 # third_party/asan may be different from the default one. | 931 # third_party/asan may be different from the default one. |
| 924 'clang_use_chrome_plugins%': 0, | 932 'clang_use_chrome_plugins%': 0, |
| 925 }], | 933 }], |
| (...skipping 295 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1221 ], | 1229 ], |
| 1222 'include_dirs': [ | 1230 'include_dirs': [ |
| 1223 '<(DEPTH)/third_party/wtl/include', | 1231 '<(DEPTH)/third_party/wtl/include', |
| 1224 ], | 1232 ], |
| 1225 }], # OS==win | 1233 }], # OS==win |
| 1226 ['enable_register_protocol_handler==1', { | 1234 ['enable_register_protocol_handler==1', { |
| 1227 'defines': [ | 1235 'defines': [ |
| 1228 'ENABLE_REGISTER_PROTOCOL_HANDLER=1', | 1236 'ENABLE_REGISTER_PROTOCOL_HANDLER=1', |
| 1229 ], | 1237 ], |
| 1230 }], | 1238 }], |
| 1239 ['enable_input_color==1', { |
| 1240 'defines': [ |
| 1241 'ENABLE_INPUT_COLOR=1', |
| 1242 ], |
| 1243 }], |
| 1231 ['enable_web_intents==1', { | 1244 ['enable_web_intents==1', { |
| 1232 'defines': [ | 1245 'defines': [ |
| 1233 'ENABLE_WEB_INTENTS=1', | 1246 'ENABLE_WEB_INTENTS=1', |
| 1234 ], | 1247 ], |
| 1235 }], | 1248 }], |
| 1236 ['OS=="win" and branding=="Chrome"', { | 1249 ['OS=="win" and branding=="Chrome"', { |
| 1237 'defines': ['ENABLE_SWIFTSHADER'], | 1250 'defines': ['ENABLE_SWIFTSHADER'], |
| 1238 }], | 1251 }], |
| 1239 ['enable_dart==1', { | 1252 ['enable_dart==1', { |
| 1240 'defines': ['WEBKIT_USING_DART=1'], | 1253 'defines': ['WEBKIT_USING_DART=1'], |
| (...skipping 1560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 2801 # settings in target dicts. SYMROOT is a special case, because many other | 2814 # settings in target dicts. SYMROOT is a special case, because many other |
| 2802 # Xcode variables depend on it, including variables such as | 2815 # Xcode variables depend on it, including variables such as |
| 2803 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something | 2816 # PROJECT_DERIVED_FILE_DIR. When a source group corresponding to something |
| 2804 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the | 2817 # like PROJECT_DERIVED_FILE_DIR is added to a project, in order for the |
| 2805 # files to appear (when present) in the UI as actual files and not red | 2818 # files to appear (when present) in the UI as actual files and not red |
| 2806 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, | 2819 # red "missing file" proxies, the correct path to PROJECT_DERIVED_FILE_DIR, |
| 2807 # and therefore SYMROOT, needs to be set at the project level. | 2820 # and therefore SYMROOT, needs to be set at the project level. |
| 2808 'SYMROOT': '<(DEPTH)/xcodebuild', | 2821 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 2809 }, | 2822 }, |
| 2810 } | 2823 } |
| OLD | NEW |