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 358 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
369 'cflags': ['-EL'], | 369 'cflags': ['-EL'], |
370 'ldflags': ['-EL'], | 370 'ldflags': ['-EL'], |
371 'conditions': [ | 371 'conditions': [ |
372 [ 'v8_use_mips_abi_hardfloat=="true"', { | 372 [ 'v8_use_mips_abi_hardfloat=="true"', { |
373 'cflags': ['-mhard-float'], | 373 'cflags': ['-mhard-float'], |
374 'ldflags': ['-mhard-float'], | 374 'ldflags': ['-mhard-float'], |
375 }, { | 375 }, { |
376 'cflags': ['-msoft-float'], | 376 'cflags': ['-msoft-float'], |
377 'ldflags': ['-msoft-float'], | 377 'ldflags': ['-msoft-float'], |
378 }], | 378 }], |
| 379 ['mips_arch_variant=="r6"', { |
| 380 'cflags': ['-mips64r6', '-mabi=64', '-Wa,-mips64r6'], |
| 381 'ldflags': [ |
| 382 '-mips64r6', '-mabi=64', |
| 383 '-Wl,--dynamic-linker=$(LDSO_PATH)', |
| 384 '-Wl,--rpath=$(LD_R_PATH)', |
| 385 ], |
| 386 }], |
379 ['mips_arch_variant=="r2"', { | 387 ['mips_arch_variant=="r2"', { |
380 'cflags': ['-mips64r2', '-mabi=64', '-Wa,-mips64r2'], | 388 'cflags': ['-mips64r2', '-mabi=64', '-Wa,-mips64r2'], |
381 'ldflags': [ | 389 'ldflags': [ |
382 '-mips64r2', '-mabi=64', | 390 '-mips64r2', '-mabi=64', |
383 '-Wl,--dynamic-linker=$(LDSO_PATH)', | 391 '-Wl,--dynamic-linker=$(LDSO_PATH)', |
384 '-Wl,--rpath=$(LD_R_PATH)', | 392 '-Wl,--rpath=$(LD_R_PATH)', |
385 ], | 393 ], |
386 }], | 394 }], |
387 ['mips_arch_variant=="loongson"', { | 395 ['mips_arch_variant=="loongson"', { |
388 'cflags': ['-mips3', '-Wa,-mips3'], | 396 'cflags': ['-mips3', '-Wa,-mips3'], |
(...skipping 10 matching lines...) Expand all Loading... |
399 [ 'v8_use_mips_abi_hardfloat=="true"', { | 407 [ 'v8_use_mips_abi_hardfloat=="true"', { |
400 'defines': [ | 408 'defines': [ |
401 '__mips_hard_float=1', | 409 '__mips_hard_float=1', |
402 'CAN_USE_FPU_INSTRUCTIONS', | 410 'CAN_USE_FPU_INSTRUCTIONS', |
403 ], | 411 ], |
404 }, { | 412 }, { |
405 'defines': [ | 413 'defines': [ |
406 '__mips_soft_float=1' | 414 '__mips_soft_float=1' |
407 ], | 415 ], |
408 }], | 416 }], |
| 417 ['mips_arch_variant=="r6"', { |
| 418 'defines': ['_MIPS_ARCH_MIPS64R6',], |
| 419 }], |
409 ['mips_arch_variant=="r2"', { | 420 ['mips_arch_variant=="r2"', { |
410 'defines': ['_MIPS_ARCH_MIPS64R2',], | 421 'defines': ['_MIPS_ARCH_MIPS64R2',], |
411 }], | 422 }], |
412 ['mips_arch_variant=="loongson"', { | 423 ['mips_arch_variant=="loongson"', { |
413 'defines': ['_MIPS_ARCH_LOONGSON',], | 424 'defines': ['_MIPS_ARCH_LOONGSON',], |
414 }], | 425 }], |
415 ], | 426 ], |
416 }], # v8_target_arch=="mips64el" | 427 }], # v8_target_arch=="mips64el" |
417 ['v8_target_arch=="x64"', { | 428 ['v8_target_arch=="x64"', { |
418 'defines': [ | 429 'defines': [ |
(...skipping 406 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
825 'OptimizeReferences': '2', | 836 'OptimizeReferences': '2', |
826 'EnableCOMDATFolding': '2', | 837 'EnableCOMDATFolding': '2', |
827 }, | 838 }, |
828 }, | 839 }, |
829 }], # OS=="win" | 840 }], # OS=="win" |
830 ], # conditions | 841 ], # conditions |
831 }, # Release | 842 }, # Release |
832 }, # configurations | 843 }, # configurations |
833 }, # target_defaults | 844 }, # target_defaults |
834 } | 845 } |
OLD | NEW |