OLD | NEW |
1 # Copyright (c) 2009 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2009 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': { | 9 'variables': { |
10 # .gyp files should set chromium_code to 1 if they build Chromium-specific | 10 # .gyp files should set chromium_code to 1 if they build Chromium-specific |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
186 | 186 |
187 # Set this to true to enable SELinux support. | 187 # Set this to true to enable SELinux support. |
188 'selinux%': 0, | 188 'selinux%': 0, |
189 | 189 |
190 # Strip the binary after dumping symbols. | 190 # Strip the binary after dumping symbols. |
191 'linux_strip_binary%': 0, | 191 'linux_strip_binary%': 0, |
192 | 192 |
193 # Enable TCMalloc. | 193 # Enable TCMalloc. |
194 'linux_use_tcmalloc%': 0, | 194 'linux_use_tcmalloc%': 0, |
195 | 195 |
| 196 'linux_fpic%': 0, |
| 197 |
196 # Set to select the Title Case versions of strings in GRD files. | 198 # Set to select the Title Case versions of strings in GRD files. |
197 'use_titlecase_in_grd_files%': 0, | 199 'use_titlecase_in_grd_files%': 0, |
198 | 200 |
199 # Used to disable Native Client at compile time, for platforms where it | 201 # Used to disable Native Client at compile time, for platforms where it |
200 # isn't supported | 202 # isn't supported |
201 'disable_nacl%': 0, | 203 'disable_nacl%': 0, |
202 | 204 |
203 # Set ARM-v7 compilation flags | 205 # Set ARM-v7 compilation flags |
204 'armv7%': 0, | 206 'armv7%': 0, |
205 | 207 |
(...skipping 603 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
809 '-march=armv7-a', | 811 '-march=armv7-a', |
810 '-mtune=cortex-a8', | 812 '-mtune=cortex-a8', |
811 '-mfpu=neon', | 813 '-mfpu=neon', |
812 '-mfloat-abi=softfp', | 814 '-mfloat-abi=softfp', |
813 ], | 815 ], |
814 }], | 816 }], |
815 ], | 817 ], |
816 }], | 818 }], |
817 ], | 819 ], |
818 }], | 820 }], |
| 821 ['linux_fpic==1', { |
| 822 'cflags': [ |
| 823 '-fPIC', |
| 824 ], |
| 825 }], |
819 ['sysroot!=""', { | 826 ['sysroot!=""', { |
820 'target_conditions': [ | 827 'target_conditions': [ |
821 ['_toolset=="target"', { | 828 ['_toolset=="target"', { |
822 'cflags': [ | 829 'cflags': [ |
823 '--sysroot=<(sysroot)', | 830 '--sysroot=<(sysroot)', |
824 ], | 831 ], |
825 'ldflags': [ | 832 'ldflags': [ |
826 '--sysroot=<(sysroot)', | 833 '--sysroot=<(sysroot)', |
827 ], | 834 ], |
828 }]] | 835 }]] |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1163 # and therefore SYMROOT, needs to be set at the project level. | 1170 # and therefore SYMROOT, needs to be set at the project level. |
1164 'SYMROOT': '<(DEPTH)/xcodebuild', | 1171 'SYMROOT': '<(DEPTH)/xcodebuild', |
1165 }, | 1172 }, |
1166 } | 1173 } |
1167 | 1174 |
1168 # Local Variables: | 1175 # Local Variables: |
1169 # tab-width:2 | 1176 # tab-width:2 |
1170 # indent-tabs-mode:nil | 1177 # indent-tabs-mode:nil |
1171 # End: | 1178 # End: |
1172 # vim: set expandtab tabstop=2 shiftwidth=2: | 1179 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |