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