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 284 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
295 }, | 295 }, |
296 'cflags': [ '<(m32flag)' ], | 296 'cflags': [ '<(m32flag)' ], |
297 'ldflags': [ '<(m32flag)' ], | 297 'ldflags': [ '<(m32flag)' ], |
298 'xcode_settings': { | 298 'xcode_settings': { |
299 'ARCHS': [ 'i386' ], | 299 'ARCHS': [ 'i386' ], |
300 }, | 300 }, |
301 }], | 301 }], |
302 ['_toolset=="target"', { | 302 ['_toolset=="target"', { |
303 'variables': { | 303 'variables': { |
304 'm32flag': '<!((echo | $(echo ${CXX_target:-${CXX:-$(which g++)}})
-m32 -E - > /dev/null 2>&1) && echo "-m32" || true)', | 304 'm32flag': '<!((echo | $(echo ${CXX_target:-${CXX:-$(which g++)}})
-m32 -E - > /dev/null 2>&1) && echo "-m32" || true)', |
305 'clang%': 0, | |
306 }, | 305 }, |
307 'conditions': [ | 306 'cflags': [ '<(m32flag)' ], |
308 ['OS!="android" or clang==1', { | 307 'ldflags': [ '<(m32flag)' ], |
309 'cflags': [ '<(m32flag)' ], | |
310 'ldflags': [ '<(m32flag)' ], | |
311 }], | |
312 ], | |
313 'xcode_settings': { | 308 'xcode_settings': { |
314 'ARCHS': [ 'i386' ], | 309 'ARCHS': [ 'i386' ], |
315 }, | 310 }, |
316 }], | 311 }], |
317 ], | 312 ], |
318 }], | 313 }], |
319 ['OS=="freebsd" or OS=="openbsd"', { | 314 ['OS=="freebsd" or OS=="openbsd"', { |
320 'cflags': [ '-I/usr/local/include' ], | 315 'cflags': [ '-I/usr/local/include' ], |
321 }], | 316 }], |
322 ['OS=="netbsd"', { | 317 ['OS=="netbsd"', { |
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
426 'OptimizeReferences': '2', | 421 'OptimizeReferences': '2', |
427 'EnableCOMDATFolding': '2', | 422 'EnableCOMDATFolding': '2', |
428 }, | 423 }, |
429 }, | 424 }, |
430 }], # OS=="win" | 425 }], # OS=="win" |
431 ], # conditions | 426 ], # conditions |
432 }, # Release | 427 }, # Release |
433 }, # configurations | 428 }, # configurations |
434 }, # target_defaults | 429 }, # target_defaults |
435 } | 430 } |
OLD | NEW |