| 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 # If this is set, the clang plugins used on the buildbot will be used. | 142 # If this is set, the clang plugins used on the buildbot will be used. |
| 143 # Run tools/clang/scripts/update.sh to make sure they are compiled. | 143 # Run tools/clang/scripts/update.sh to make sure they are compiled. |
| 144 # This causes 'clang_chrome_plugins_flags' to be set. | 144 # This causes 'clang_chrome_plugins_flags' to be set. |
| 145 # Has no effect if 'clang' is not set as well. | 145 # Has no effect if 'clang' is not set as well. |
| 146 'clang_use_chrome_plugins%': 0, | 146 'clang_use_chrome_plugins%': 0, |
| 147 | 147 |
| 148 # Set to 1 compile with -fPIC cflag on linux. This is a must for shared | 148 # Set to 1 compile with -fPIC cflag on linux. This is a must for shared |
| 149 # libraries on linux x86-64 and arm, plus ASLR. | 149 # libraries on linux x86-64 and arm, plus ASLR. |
| 150 'linux_fpic%': 1, | 150 'linux_fpic%': 1, |
| 151 | 151 |
| 152 # Enable navigator.registerProtocolHandler and supporting UI. |
| 153 'enable_register_protocol_handler%': 1, |
| 154 |
| 152 'conditions': [ | 155 'conditions': [ |
| 153 # Use Skia as WebKit renderer on Mac | 156 # Use Skia as WebKit renderer on Mac |
| 154 ['OS=="mac"', { | 157 ['OS=="mac"', { |
| 155 'use_skia%': 0, | 158 'use_skia%': 0, |
| 156 }, { | 159 }, { |
| 157 'use_skia%': 1, | 160 'use_skia%': 1, |
| 158 }], | 161 }], |
| 159 | 162 |
| 160 # A flag for POSIX platforms | 163 # A flag for POSIX platforms |
| 161 ['OS=="win"', { | 164 ['OS=="win"', { |
| (...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 }, { | 197 }, { |
| 195 'enable_flapper_hacks%': 0, | 198 'enable_flapper_hacks%': 0, |
| 196 }], | 199 }], |
| 197 | 200 |
| 198 # Enable file manager extension by default on Chrome OS. | 201 # Enable file manager extension by default on Chrome OS. |
| 199 ['chromeos==1', { | 202 ['chromeos==1', { |
| 200 'file_manager_extension%': 1, | 203 'file_manager_extension%': 1, |
| 201 }, { | 204 }, { |
| 202 'file_manager_extension%': 0, | 205 'file_manager_extension%': 0, |
| 203 }], | 206 }], |
| 204 | |
| 205 # Enable navigator.registerProtocolHandler and supporting UI. | |
| 206 # We disable on Linux because the OS-level component of RPH isn't | |
| 207 # implemented. | |
| 208 ['OS=="linux"', { | |
| 209 'enable_register_protocol_handler%': 0, | |
| 210 }, { | |
| 211 'enable_register_protocol_handler%': 1, | |
| 212 }], | |
| 213 ], | 207 ], |
| 214 }, | 208 }, |
| 215 | 209 |
| 216 # Copy conditionally-set variables out one scope. | 210 # Copy conditionally-set variables out one scope. |
| 217 'branding%': '<(branding)', | 211 'branding%': '<(branding)', |
| 218 'buildtype%': '<(buildtype)', | 212 'buildtype%': '<(buildtype)', |
| 219 'target_arch%': '<(target_arch)', | 213 'target_arch%': '<(target_arch)', |
| 220 'host_arch%': '<(host_arch)', | 214 'host_arch%': '<(host_arch)', |
| 221 'library%': 'static_library', | 215 'library%': 'static_library', |
| 222 'toolkit_views%': '<(toolkit_views)', | 216 'toolkit_views%': '<(toolkit_views)', |
| (...skipping 1555 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1778 # and therefore SYMROOT, needs to be set at the project level. | 1772 # and therefore SYMROOT, needs to be set at the project level. |
| 1779 'SYMROOT': '<(DEPTH)/xcodebuild', | 1773 'SYMROOT': '<(DEPTH)/xcodebuild', |
| 1780 }, | 1774 }, |
| 1781 } | 1775 } |
| 1782 | 1776 |
| 1783 # Local Variables: | 1777 # Local Variables: |
| 1784 # tab-width:2 | 1778 # tab-width:2 |
| 1785 # indent-tabs-mode:nil | 1779 # indent-tabs-mode:nil |
| 1786 # End: | 1780 # End: |
| 1787 # vim: set expandtab tabstop=2 shiftwidth=2: | 1781 # vim: set expandtab tabstop=2 shiftwidth=2: |
| OLD | NEW |