| OLD | NEW |
| 1 # Copyright 2008 the V8 project authors. All rights reserved. | 1 # Copyright 2008 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 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 99 } | 99 } |
| 100 }, | 100 }, |
| 101 'msvc': { | 101 'msvc': { |
| 102 'all': { | 102 'all': { |
| 103 'WARNINGFLAGS': ['/W3', '/WX', '/wd4355', '/wd4800'] | 103 'WARNINGFLAGS': ['/W3', '/WX', '/wd4355', '/wd4800'] |
| 104 }, | 104 }, |
| 105 'library:shared': { | 105 'library:shared': { |
| 106 'CPPDEFINES': ['BUILDING_V8_SHARED'] | 106 'CPPDEFINES': ['BUILDING_V8_SHARED'] |
| 107 }, | 107 }, |
| 108 'arch:arm': { | 108 'arch:arm': { |
| 109 'CPPDEFINES': ['ARM'] | 109 'CPPDEFINES': ['ARM'], |
| 110 # /wd4996 is to silence the warning about sscanf |
| 111 # used by the arm simulator. |
| 112 'WARNINGFLAGS': ['/wd4996'] |
| 110 }, | 113 }, |
| 111 'disassembler:on': { | 114 'disassembler:on': { |
| 112 'CPPDEFINES': ['ENABLE_DISASSEMBLER'] | 115 'CPPDEFINES': ['ENABLE_DISASSEMBLER'] |
| 113 } | 116 } |
| 114 } | 117 } |
| 115 } | 118 } |
| 116 | 119 |
| 117 | 120 |
| 118 JSCRE_EXTRA_FLAGS = { | 121 JSCRE_EXTRA_FLAGS = { |
| 119 'gcc': { | 122 'gcc': { |
| (...skipping 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 550 # version of scons. Also, there's a bug in some revisions that | 553 # version of scons. Also, there's a bug in some revisions that |
| 551 # doesn't allow this flag to be set, so we swallow any exceptions. | 554 # doesn't allow this flag to be set, so we swallow any exceptions. |
| 552 # Lovely. | 555 # Lovely. |
| 553 try: | 556 try: |
| 554 SetOption('warn', 'no-deprecated') | 557 SetOption('warn', 'no-deprecated') |
| 555 except: | 558 except: |
| 556 pass | 559 pass |
| 557 | 560 |
| 558 | 561 |
| 559 Build() | 562 Build() |
| OLD | NEW |