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 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 'v8_use_arm_eabi_hardfloat%': 'false', | 61 'v8_use_arm_eabi_hardfloat%': 'false', |
62 | 62 |
63 # Similar to the ARM hard float ABI but on MIPS. | 63 # Similar to the ARM hard float ABI but on MIPS. |
64 'v8_use_mips_abi_hardfloat%': 'true', | 64 'v8_use_mips_abi_hardfloat%': 'true', |
65 | 65 |
66 # Default arch variant for MIPS. | 66 # Default arch variant for MIPS. |
67 'mips_arch_variant%': 'mips32r2', | 67 'mips_arch_variant%': 'mips32r2', |
68 | 68 |
69 'v8_enable_debugger_support%': 1, | 69 'v8_enable_debugger_support%': 1, |
70 | 70 |
| 71 'v8_enable_backtrace%': 0, |
| 72 |
71 'v8_enable_disassembler%': 0, | 73 'v8_enable_disassembler%': 0, |
72 | 74 |
73 'v8_enable_gdbjit%': 0, | 75 'v8_enable_gdbjit%': 0, |
74 | 76 |
75 'v8_object_print%': 0, | 77 'v8_object_print%': 0, |
76 | 78 |
77 # Enable profiling support. Only required on Windows. | 79 # Enable profiling support. Only required on Windows. |
78 'v8_enable_prof%': 0, | 80 'v8_enable_prof%': 0, |
79 | 81 |
80 'v8_enable_verify_heap%': 0, | 82 'v8_enable_verify_heap%': 0, |
(...skipping 280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
361 }, | 363 }, |
362 }, | 364 }, |
363 'conditions': [ | 365 'conditions': [ |
364 ['v8_enable_extra_checks==1', { | 366 ['v8_enable_extra_checks==1', { |
365 'defines': ['ENABLE_EXTRA_CHECKS',], | 367 'defines': ['ENABLE_EXTRA_CHECKS',], |
366 }], | 368 }], |
367 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', { | 369 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', { |
368 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', | 370 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', |
369 '-Wnon-virtual-dtor', '-Woverloaded-virtual' ], | 371 '-Wnon-virtual-dtor', '-Woverloaded-virtual' ], |
370 }], | 372 }], |
| 373 ['OS=="linux" and v8_enable_backtrace==1', { |
| 374 # Support for backtrace_symbols. |
| 375 'ldflags': [ '-rdynamic' ], |
| 376 }], |
371 ['OS=="android"', { | 377 ['OS=="android"', { |
372 'variables': { | 378 'variables': { |
373 'android_full_debug%': 1, | 379 'android_full_debug%': 1, |
374 }, | 380 }, |
375 'conditions': [ | 381 'conditions': [ |
376 ['android_full_debug==0', { | 382 ['android_full_debug==0', { |
377 # Disable full debug if we want a faster v8 in a debug build. | 383 # Disable full debug if we want a faster v8 in a debug build. |
378 # TODO(2304): pass DISABLE_DEBUG_ASSERT instead of hiding DEBUG. | 384 # TODO(2304): pass DISABLE_DEBUG_ASSERT instead of hiding DEBUG. |
379 'defines!': [ | 385 'defines!': [ |
380 'DEBUG', | 386 'DEBUG', |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
453 'OptimizeReferences': '2', | 459 'OptimizeReferences': '2', |
454 'EnableCOMDATFolding': '2', | 460 'EnableCOMDATFolding': '2', |
455 }, | 461 }, |
456 }, | 462 }, |
457 }], # OS=="win" | 463 }], # OS=="win" |
458 ], # conditions | 464 ], # conditions |
459 }, # Release | 465 }, # Release |
460 }, # configurations | 466 }, # configurations |
461 }, # target_defaults | 467 }, # target_defaults |
462 } | 468 } |
OLD | NEW |