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 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
132 # P2P APIs are compiled in by default. Set to 0 to disable. | 132 # P2P APIs are compiled in by default. Set to 0 to disable. |
133 # Also note that this should be enabled for remoting to compile. | 133 # Also note that this should be enabled for remoting to compile. |
134 'p2p_apis%': 1, | 134 'p2p_apis%': 1, |
135 | 135 |
136 # If this is set, the clang plugins used on the buildbot will be used. | 136 # If this is set, the clang plugins used on the buildbot will be used. |
137 # Run tools/clang/scripts/update.sh to make sure they are compiled. | 137 # Run tools/clang/scripts/update.sh to make sure they are compiled. |
138 # This causes 'clang_chrome_plugins_flags' to be set. | 138 # This causes 'clang_chrome_plugins_flags' to be set. |
139 # Has no effect if 'clang' is not set as well. | 139 # Has no effect if 'clang' is not set as well. |
140 'clang_use_chrome_plugins%': 0, | 140 'clang_use_chrome_plugins%': 0, |
141 | 141 |
| 142 # Allow a user to link Chromium as a non-position independent executable. |
| 143 'disable_pie%': 0, |
| 144 |
142 'conditions': [ | 145 'conditions': [ |
143 # A flag to enable or disable our compile-time dependency | 146 # A flag to enable or disable our compile-time dependency |
144 # on gnome-keyring. If that dependency is disabled, no gnome-keyring | 147 # on gnome-keyring. If that dependency is disabled, no gnome-keyring |
145 # support will be available. This option is useful | 148 # support will be available. This option is useful |
146 # for Linux distributions. | 149 # for Linux distributions. |
147 ['chromeos==1', { | 150 ['chromeos==1', { |
148 'use_gnome_keyring%': 0, | 151 'use_gnome_keyring%': 0, |
149 }, { | 152 }, { |
150 'use_gnome_keyring%': 1, | 153 'use_gnome_keyring%': 1, |
151 }], | 154 }], |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 'arm_neon%': '<(arm_neon)', | 201 'arm_neon%': '<(arm_neon)', |
199 'sysroot%': '<(sysroot)', | 202 'sysroot%': '<(sysroot)', |
200 'disable_sse2%': '<(disable_sse2)', | 203 'disable_sse2%': '<(disable_sse2)', |
201 'library%': '<(library)', | 204 'library%': '<(library)', |
202 'component%': '<(component)', | 205 'component%': '<(component)', |
203 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', | 206 'use_titlecase_in_grd_files%': '<(use_titlecase_in_grd_files)', |
204 'use_third_party_translations%': '<(use_third_party_translations)', | 207 'use_third_party_translations%': '<(use_third_party_translations)', |
205 'remoting%': '<(remoting)', | 208 'remoting%': '<(remoting)', |
206 'p2p_apis%': '<(p2p_apis)', | 209 'p2p_apis%': '<(p2p_apis)', |
207 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', | 210 'clang_use_chrome_plugins%': '<(clang_use_chrome_plugins)', |
| 211 'disable_pie%': '<(disable_pie)', |
208 | 212 |
209 # The release channel that this build targets. This is used to restrict | 213 # The release channel that this build targets. This is used to restrict |
210 # channel-specific build options, like which installer packages to create. | 214 # channel-specific build options, like which installer packages to create. |
211 # The default is 'all', which does no channel-specific filtering. | 215 # The default is 'all', which does no channel-specific filtering. |
212 'channel%': 'all', | 216 'channel%': 'all', |
213 | 217 |
214 # Override chromium_mac_pch and set it to 0 to suppress the use of | 218 # Override chromium_mac_pch and set it to 0 to suppress the use of |
215 # precompiled headers on the Mac. Prefix header injection may still be | 219 # precompiled headers on the Mac. Prefix header injection may still be |
216 # used, but prefix headers will not be precompiled. This is useful when | 220 # used, but prefix headers will not be precompiled. This is useful when |
217 # using distcc to distribute a build to compile slaves that don't | 221 # using distcc to distribute a build to compile slaves that don't |
(...skipping 1489 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1707 # and therefore SYMROOT, needs to be set at the project level. | 1711 # and therefore SYMROOT, needs to be set at the project level. |
1708 'SYMROOT': '<(DEPTH)/xcodebuild', | 1712 'SYMROOT': '<(DEPTH)/xcodebuild', |
1709 }, | 1713 }, |
1710 } | 1714 } |
1711 | 1715 |
1712 # Local Variables: | 1716 # Local Variables: |
1713 # tab-width:2 | 1717 # tab-width:2 |
1714 # indent-tabs-mode:nil | 1718 # indent-tabs-mode:nil |
1715 # End: | 1719 # End: |
1716 # vim: set expandtab tabstop=2 shiftwidth=2: | 1720 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |