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 169 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 | 180 |
181 # Set this to true to enable SELinux support. | 181 # Set this to true to enable SELinux support. |
182 'selinux%': 0, | 182 'selinux%': 0, |
183 | 183 |
184 # Strip the binary after dumping symbols. | 184 # Strip the binary after dumping symbols. |
185 'linux_strip_binary%': 0, | 185 'linux_strip_binary%': 0, |
186 | 186 |
187 # Enable TCMalloc. | 187 # Enable TCMalloc. |
188 'linux_use_tcmalloc%': 0, | 188 'linux_use_tcmalloc%': 0, |
189 | 189 |
| 190 'linux_fpic%': 0, |
| 191 |
190 # Set to select the Title Case versions of strings in GRD files. | 192 # Set to select the Title Case versions of strings in GRD files. |
191 'use_titlecase_in_grd_files%': 0, | 193 'use_titlecase_in_grd_files%': 0, |
192 | 194 |
193 # Used to disable Native Client at compile time, for platforms where it | 195 # Used to disable Native Client at compile time, for platforms where it |
194 # isn't supported | 196 # isn't supported |
195 'disable_nacl%': 0, | 197 'disable_nacl%': 0, |
196 | 198 |
197 # Set ARM-v7 compilation flags | 199 # Set ARM-v7 compilation flags |
198 'armv7%': 0, | 200 'armv7%': 0, |
199 | 201 |
(...skipping 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
799 '-march=armv7-a', | 801 '-march=armv7-a', |
800 '-mtune=cortex-a8', | 802 '-mtune=cortex-a8', |
801 '-mfpu=neon', | 803 '-mfpu=neon', |
802 '-mfloat-abi=softfp', | 804 '-mfloat-abi=softfp', |
803 ], | 805 ], |
804 }], | 806 }], |
805 ], | 807 ], |
806 }], | 808 }], |
807 ], | 809 ], |
808 }], | 810 }], |
| 811 ['linux_fpic==1', { |
| 812 'cflags': [ |
| 813 '-fPIC', |
| 814 ], |
| 815 }], |
809 ['sysroot!=""', { | 816 ['sysroot!=""', { |
810 'target_conditions': [ | 817 'target_conditions': [ |
811 ['_toolset=="target"', { | 818 ['_toolset=="target"', { |
812 'cflags': [ | 819 'cflags': [ |
813 '--sysroot=<(sysroot)', | 820 '--sysroot=<(sysroot)', |
814 ], | 821 ], |
815 'ldflags': [ | 822 'ldflags': [ |
816 '--sysroot=<(sysroot)', | 823 '--sysroot=<(sysroot)', |
817 ], | 824 ], |
818 }]] | 825 }]] |
(...skipping 334 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1153 # and therefore SYMROOT, needs to be set at the project level. | 1160 # and therefore SYMROOT, needs to be set at the project level. |
1154 'SYMROOT': '<(DEPTH)/xcodebuild', | 1161 'SYMROOT': '<(DEPTH)/xcodebuild', |
1155 }, | 1162 }, |
1156 } | 1163 } |
1157 | 1164 |
1158 # Local Variables: | 1165 # Local Variables: |
1159 # tab-width:2 | 1166 # tab-width:2 |
1160 # indent-tabs-mode:nil | 1167 # indent-tabs-mode:nil |
1161 # End: | 1168 # End: |
1162 # vim: set expandtab tabstop=2 shiftwidth=2: | 1169 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |