| OLD | NEW |
| 1 # Copyright 2013 the V8 project authors. All rights reserved. | 1 # Copyright 2013 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 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 }], | 261 }], |
| 262 ], | 262 ], |
| 263 'defines': [ | 263 'defines': [ |
| 264 'ARM_TEST', | 264 'ARM_TEST', |
| 265 ], | 265 ], |
| 266 }], | 266 }], |
| 267 ], | 267 ], |
| 268 }], # _toolset=="target" | 268 }], # _toolset=="target" |
| 269 ], | 269 ], |
| 270 }], # v8_target_arch=="arm" | 270 }], # v8_target_arch=="arm" |
| 271 ['v8_target_arch=="a64" or v8_target_arch=="arm64"', { | 271 ['v8_target_arch=="arm64"', { |
| 272 'defines': [ | 272 'defines': [ |
| 273 'V8_TARGET_ARCH_A64', | 273 'V8_TARGET_ARCH_ARM64', |
| 274 ], | 274 ], |
| 275 }], | 275 }], |
| 276 ['v8_target_arch=="ia32"', { | 276 ['v8_target_arch=="ia32"', { |
| 277 'defines': [ | 277 'defines': [ |
| 278 'V8_TARGET_ARCH_IA32', | 278 'V8_TARGET_ARCH_IA32', |
| 279 ], | 279 ], |
| 280 }], # v8_target_arch=="ia32" | 280 }], # v8_target_arch=="ia32" |
| 281 ['v8_target_arch=="mipsel"', { | 281 ['v8_target_arch=="mipsel"', { |
| 282 'defines': [ | 282 'defines': [ |
| 283 'V8_TARGET_ARCH_MIPS', | 283 'V8_TARGET_ARCH_MIPS', |
| (...skipping 122 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 406 'ldflags': [ '<(m32flag)' ], | 406 'ldflags': [ '<(m32flag)' ], |
| 407 }], | 407 }], |
| 408 ], | 408 ], |
| 409 'xcode_settings': { | 409 'xcode_settings': { |
| 410 'ARCHS': [ 'i386' ], | 410 'ARCHS': [ 'i386' ], |
| 411 }, | 411 }, |
| 412 }], | 412 }], |
| 413 ], | 413 ], |
| 414 }], | 414 }], |
| 415 ['(OS=="linux" or OS=="android") and \ | 415 ['(OS=="linux" or OS=="android") and \ |
| 416 (v8_target_arch=="x64" or v8_target_arch=="a64" or \ | 416 (v8_target_arch=="x64" or v8_target_arch=="arm64")', { |
| 417 v8_target_arch=="arm64")', { | |
| 418 # Check whether the host compiler and target compiler support the | 417 # Check whether the host compiler and target compiler support the |
| 419 # '-m64' option and set it if so. | 418 # '-m64' option and set it if so. |
| 420 'target_conditions': [ | 419 'target_conditions': [ |
| 421 ['_toolset=="host"', { | 420 ['_toolset=="host"', { |
| 422 'variables': { | 421 'variables': { |
| 423 'm64flag': '<!(($(echo ${CXX_host:-$(which g++)}) -m64 -E - > /dev
/null 2>&1 < /dev/null) && echo "-m64" || true)', | 422 'm64flag': '<!(($(echo ${CXX_host:-$(which g++)}) -m64 -E - > /dev
/null 2>&1 < /dev/null) && echo "-m64" || true)', |
| 424 }, | 423 }, |
| 425 'cflags': [ '<(m64flag)' ], | 424 'cflags': [ '<(m64flag)' ], |
| 426 'ldflags': [ '<(m64flag)' ], | 425 'ldflags': [ '<(m64flag)' ], |
| 427 }], | 426 }], |
| (...skipping 268 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 696 'OptimizeReferences': '2', | 695 'OptimizeReferences': '2', |
| 697 'EnableCOMDATFolding': '2', | 696 'EnableCOMDATFolding': '2', |
| 698 }, | 697 }, |
| 699 }, | 698 }, |
| 700 }], # OS=="win" | 699 }], # OS=="win" |
| 701 ], # conditions | 700 ], # conditions |
| 702 }, # Release | 701 }, # Release |
| 703 }, # configurations | 702 }, # configurations |
| 704 }, # target_defaults | 703 }, # target_defaults |
| 705 } | 704 } |
| OLD | NEW |