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 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
361 }, | 361 }, |
362 }, | 362 }, |
363 'conditions': [ | 363 'conditions': [ |
364 ['v8_enable_extra_checks==1', { | 364 ['v8_enable_extra_checks==1', { |
365 'defines': ['ENABLE_EXTRA_CHECKS',], | 365 'defines': ['ENABLE_EXTRA_CHECKS',], |
366 }], | 366 }], |
367 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', { | 367 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', { |
368 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', | 368 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', |
369 '-Wnon-virtual-dtor', '-Woverloaded-virtual' ], | 369 '-Wnon-virtual-dtor', '-Woverloaded-virtual' ], |
370 }], | 370 }], |
371 ['OS=="linux"', { | |
372 # Support for backtrace_symbols. | |
ulan_google
2012/12/14 12:40:31
Maybe add a gyp flag to opt in for backtrace?
rossberg
2012/12/14 13:53:20
Done.
| |
373 'cflags': [ '-fvisibility=default' ], | |
374 'ldflags': [ '-rdynamic' ], | |
375 }], | |
371 ['OS=="android"', { | 376 ['OS=="android"', { |
372 'variables': { | 377 'variables': { |
373 'android_full_debug%': 1, | 378 'android_full_debug%': 1, |
374 }, | 379 }, |
375 'conditions': [ | 380 'conditions': [ |
376 ['android_full_debug==0', { | 381 ['android_full_debug==0', { |
377 # Disable full debug if we want a faster v8 in a debug build. | 382 # Disable full debug if we want a faster v8 in a debug build. |
378 # TODO(2304): pass DISABLE_DEBUG_ASSERT instead of hiding DEBUG. | 383 # TODO(2304): pass DISABLE_DEBUG_ASSERT instead of hiding DEBUG. |
379 'defines!': [ | 384 'defines!': [ |
380 'DEBUG', | 385 'DEBUG', |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
453 'OptimizeReferences': '2', | 458 'OptimizeReferences': '2', |
454 'EnableCOMDATFolding': '2', | 459 'EnableCOMDATFolding': '2', |
455 }, | 460 }, |
456 }, | 461 }, |
457 }], # OS=="win" | 462 }], # OS=="win" |
458 ], # conditions | 463 ], # conditions |
459 }, # Release | 464 }, # Release |
460 }, # configurations | 465 }, # configurations |
461 }, # target_defaults | 466 }, # target_defaults |
462 } | 467 } |
OLD | NEW |