OLD | NEW |
1 # Copyright 2012 the V8 project authors. All rights reserved. | 1 # Copyright 2012 the V8 project authors. All rights reserved. |
2 # Redistribution and use in source and binary forms, with or without | 2 # Redistribution and use in source and binary forms, with or without |
3 # modification, are permitted provided that the following conditions are | 3 # modification, are permitted provided that the following conditions are |
4 # met: | 4 # met: |
5 # | 5 # |
6 # * Redistributions of source code must retain the above copyright | 6 # * Redistributions of source code must retain the above copyright |
7 # notice, this list of conditions and the following disclaimer. | 7 # notice, this list of conditions and the following disclaimer. |
8 # * Redistributions in binary form must reproduce the above | 8 # * Redistributions in binary form must reproduce the above |
9 # copyright notice, this list of conditions and the following | 9 # copyright notice, this list of conditions and the following |
10 # disclaimer in the documentation and/or other materials provided | 10 # disclaimer in the documentation and/or other materials provided |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
177 ['target_arch=="mipsel"', { | 177 ['target_arch=="mipsel"', { |
178 'ldflags': [ | 178 'ldflags': [ |
179 '-L<(android_stlport_libs)/mips', | 179 '-L<(android_stlport_libs)/mips', |
180 ], | 180 ], |
181 }], | 181 }], |
182 ['target_arch=="ia32"', { | 182 ['target_arch=="ia32"', { |
183 'ldflags': [ | 183 'ldflags': [ |
184 '-L<(android_stlport_libs)/x86', | 184 '-L<(android_stlport_libs)/x86', |
185 ], | 185 ], |
186 }], | 186 }], |
187 ['target_arch=="a64"', { | 187 ['target_arch=="arm64"', { |
188 'ldflags': [ | 188 'ldflags': [ |
189 '-L<(android_stlport_libs)/arm64', | 189 '-L<(android_stlport_libs)/arm64', |
190 ], | 190 ], |
191 }], | 191 }], |
192 ], | 192 ], |
193 }], | 193 }], |
194 ['target_arch=="ia32"', { | 194 ['target_arch=="ia32"', { |
195 # The x86 toolchain currently has problems with stack-protector. | 195 # The x86 toolchain currently has problems with stack-protector. |
196 'cflags!': [ | 196 'cflags!': [ |
197 '-fstack-protector', | 197 '-fstack-protector', |
198 ], | 198 ], |
199 'cflags': [ | 199 'cflags': [ |
200 '-fno-stack-protector', | 200 '-fno-stack-protector', |
201 ], | 201 ], |
202 }], | 202 }], |
203 ['target_arch=="mipsel"', { | 203 ['target_arch=="mipsel"', { |
204 # The mips toolchain currently has problems with stack-protector. | 204 # The mips toolchain currently has problems with stack-protector. |
205 'cflags!': [ | 205 'cflags!': [ |
206 '-fstack-protector', | 206 '-fstack-protector', |
207 '-U__linux__' | 207 '-U__linux__' |
208 ], | 208 ], |
209 'cflags': [ | 209 'cflags': [ |
210 '-fno-stack-protector', | 210 '-fno-stack-protector', |
211 ], | 211 ], |
212 }], | 212 }], |
213 ], | 213 ], |
214 'target_conditions': [ | 214 'target_conditions': [ |
215 ['_type=="executable"', { | 215 ['_type=="executable"', { |
216 'conditions': [ | 216 'conditions': [ |
217 ['target_arch=="a64"', { | 217 ['target_arch=="arm64"', { |
218 'ldflags': [ | 218 'ldflags': [ |
219 '-Wl,-dynamic-linker,/system/bin/linker64', | 219 '-Wl,-dynamic-linker,/system/bin/linker64', |
220 ], | 220 ], |
221 }, { | 221 }, { |
222 'ldflags': [ | 222 'ldflags': [ |
223 '-Wl,-dynamic-linker,/system/bin/linker', | 223 '-Wl,-dynamic-linker,/system/bin/linker', |
224 ], | 224 ], |
225 }] | 225 }] |
226 ], | 226 ], |
227 'ldflags': [ | 227 'ldflags': [ |
(...skipping 29 matching lines...) Expand all Loading... |
257 'ldflags!': [ | 257 'ldflags!': [ |
258 '-Wl,-z,noexecstack', | 258 '-Wl,-z,noexecstack', |
259 '-Wl,--gc-sections', | 259 '-Wl,--gc-sections', |
260 '-Wl,-O1', | 260 '-Wl,-O1', |
261 '-Wl,--as-needed', | 261 '-Wl,--as-needed', |
262 ], | 262 ], |
263 }], | 263 }], |
264 ], # target_conditions | 264 ], # target_conditions |
265 }, # target_defaults | 265 }, # target_defaults |
266 } | 266 } |
OLD | NEW |