| 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 515 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 526 '-Os', | 526 '-Os', |
| 527 ], | 527 ], |
| 528 'cflags': [ | 528 'cflags': [ |
| 529 '-fdata-sections', | 529 '-fdata-sections', |
| 530 '-ffunction-sections', | 530 '-ffunction-sections', |
| 531 ], | 531 ], |
| 532 }], | 532 }], |
| 533 ['v8_optimized_debug==1', { | 533 ['v8_optimized_debug==1', { |
| 534 'cflags!': [ | 534 'cflags!': [ |
| 535 '-O0', | 535 '-O0', |
| 536 '-O3', # TODO(2807) should be -O1. | 536 '-O1', |
| 537 '-O2', | 537 '-O2', |
| 538 '-Os', | 538 '-Os', |
| 539 ], | 539 ], |
| 540 'cflags': [ | 540 'cflags': [ |
| 541 '-fdata-sections', | 541 '-fdata-sections', |
| 542 '-ffunction-sections', | 542 '-ffunction-sections', |
| 543 '-O1', # TODO(2807) should be -O3. | 543 '-O3' |
| 544 ], | 544 ], |
| 545 'defines': [ |
| 546 'OPTIMIZED_DEBUG' |
| 547 ] |
| 545 }], | 548 }], |
| 546 ['v8_optimized_debug==2', { | 549 ['v8_optimized_debug==2', { |
| 547 'cflags!': [ | 550 'cflags!': [ |
| 548 '-O0', | 551 '-O0', |
| 549 '-O1', | 552 '-O1', |
| 550 '-Os', | 553 '-Os', |
| 551 ], | 554 ], |
| 552 'cflags': [ | 555 'cflags': [ |
| 553 '-fdata-sections', | 556 '-fdata-sections', |
| 554 '-ffunction-sections', | 557 '-ffunction-sections', |
| (...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 687 'OptimizeReferences': '2', | 690 'OptimizeReferences': '2', |
| 688 'EnableCOMDATFolding': '2', | 691 'EnableCOMDATFolding': '2', |
| 689 }, | 692 }, |
| 690 }, | 693 }, |
| 691 }], # OS=="win" | 694 }], # OS=="win" |
| 692 ], # conditions | 695 ], # conditions |
| 693 }, # Release | 696 }, # Release |
| 694 }, # configurations | 697 }, # configurations |
| 695 }, # target_defaults | 698 }, # target_defaults |
| 696 } | 699 } |
| OLD | NEW |