| 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 418 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 429 'cflags': [ '-I/usr/pkg/include' ], | 429 'cflags': [ '-I/usr/pkg/include' ], |
| 430 }], | 430 }], |
| 431 ], # conditions | 431 ], # conditions |
| 432 'configurations': { | 432 'configurations': { |
| 433 'Debug': { | 433 'Debug': { |
| 434 'defines': [ | 434 'defines': [ |
| 435 'ENABLE_DISASSEMBLER', | 435 'ENABLE_DISASSEMBLER', |
| 436 'V8_ENABLE_CHECKS', | 436 'V8_ENABLE_CHECKS', |
| 437 'OBJECT_PRINT', | 437 'OBJECT_PRINT', |
| 438 'VERIFY_HEAP', | 438 'VERIFY_HEAP', |
| 439 'DEBUG' |
| 439 ], | 440 ], |
| 440 'msvs_settings': { | 441 'msvs_settings': { |
| 441 'VCCLCompilerTool': { | 442 'VCCLCompilerTool': { |
| 442 'conditions': [ | 443 'conditions': [ |
| 443 ['v8_optimized_debug==0', { | 444 ['v8_optimized_debug==0', { |
| 444 'Optimization': '0', | 445 'Optimization': '0', |
| 445 'conditions': [ | 446 'conditions': [ |
| 446 ['component=="shared_library"', { | 447 ['component=="shared_library"', { |
| 447 'RuntimeLibrary': '3', # /MDd | 448 'RuntimeLibrary': '3', # /MDd |
| 448 }, { | 449 }, { |
| (...skipping 47 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 496 }], | 497 }], |
| 497 ['v8_optimized_debug==2', { | 498 ['v8_optimized_debug==2', { |
| 498 'LinkIncremental': '1', | 499 'LinkIncremental': '1', |
| 499 'OptimizeReferences': '2', | 500 'OptimizeReferences': '2', |
| 500 'EnableCOMDATFolding': '2', | 501 'EnableCOMDATFolding': '2', |
| 501 }], | 502 }], |
| 502 ], | 503 ], |
| 503 }, | 504 }, |
| 504 }, | 505 }, |
| 505 'conditions': [ | 506 'conditions': [ |
| 506 ['v8_optimized_debug==2', { | |
| 507 'defines': [ | |
| 508 'NDEBUG', | |
| 509 ], | |
| 510 }, { | |
| 511 'defines': [ | |
| 512 'DEBUG', | |
| 513 ], | |
| 514 }], | |
| 515 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', { | 507 ['OS=="linux" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', { |
| 516 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', | 508 'cflags': [ '-Wall', '<(werror)', '-W', '-Wno-unused-parameter', |
| 517 '-Wnon-virtual-dtor', '-Woverloaded-virtual', | 509 '-Wnon-virtual-dtor', '-Woverloaded-virtual', |
| 518 '<(wno_array_bounds)' ], | 510 '<(wno_array_bounds)' ], |
| 519 'conditions': [ | 511 'conditions': [ |
| 520 ['v8_optimized_debug==0', { | 512 ['v8_optimized_debug==0', { |
| 521 'cflags!': [ | 513 'cflags!': [ |
| 522 '-O0', | 514 '-O0', |
| 523 '-O3', | 515 '-O3', |
| 524 '-O2', | 516 '-O2', |
| (...skipping 21 matching lines...) Expand all Loading... |
| 546 ['v8_optimized_debug==2', { | 538 ['v8_optimized_debug==2', { |
| 547 'cflags!': [ | 539 'cflags!': [ |
| 548 '-O0', | 540 '-O0', |
| 549 '-O1', | 541 '-O1', |
| 550 '-Os', | 542 '-Os', |
| 551 ], | 543 ], |
| 552 'cflags': [ | 544 'cflags': [ |
| 553 '-fdata-sections', | 545 '-fdata-sections', |
| 554 '-ffunction-sections', | 546 '-ffunction-sections', |
| 555 ], | 547 ], |
| 548 'defines': [ |
| 549 'OPTIMIZED_DEBUG' |
| 550 ], |
| 556 'conditions': [ | 551 'conditions': [ |
| 557 # TODO(crbug.com/272548): Avoid -O3 in NaCl | 552 # TODO(crbug.com/272548): Avoid -O3 in NaCl |
| 558 ['nacl_target_arch=="none"', { | 553 ['nacl_target_arch=="none"', { |
| 559 'cflags': ['-O3'], | 554 'cflags': ['-O3'], |
| 560 'cflags!': ['-O2'], | 555 'cflags!': ['-O2'], |
| 561 }, { | 556 }, { |
| 562 'cflags': ['-O2'], | 557 'cflags': ['-O2'], |
| 563 'cflags!': ['-O3'], | 558 'cflags!': ['-O3'], |
| 564 }], | 559 }], |
| 565 ], | 560 ], |
| (...skipping 121 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 687 'OptimizeReferences': '2', | 682 'OptimizeReferences': '2', |
| 688 'EnableCOMDATFolding': '2', | 683 'EnableCOMDATFolding': '2', |
| 689 }, | 684 }, |
| 690 }, | 685 }, |
| 691 }], # OS=="win" | 686 }], # OS=="win" |
| 692 ], # conditions | 687 ], # conditions |
| 693 }, # Release | 688 }, # Release |
| 694 }, # configurations | 689 }, # configurations |
| 695 }, # target_defaults | 690 }, # target_defaults |
| 696 } | 691 } |
| OLD | NEW |