| 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 76 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 87   }, | 87   }, | 
| 88   'gcc': { | 88   'gcc': { | 
| 89     'all': { | 89     'all': { | 
| 90       'CCFLAGS':      ['$DIALECTFLAGS', '$WARNINGFLAGS'], | 90       'CCFLAGS':      ['$DIALECTFLAGS', '$WARNINGFLAGS'], | 
| 91       'CXXFLAGS':     ['$CCFLAGS', '-fno-rtti', '-fno-exceptions'], | 91       'CXXFLAGS':     ['$CCFLAGS', '-fno-rtti', '-fno-exceptions'], | 
| 92     }, | 92     }, | 
| 93     'mode:debug': { | 93     'mode:debug': { | 
| 94       'CCFLAGS':      ['-g', '-O0'], | 94       'CCFLAGS':      ['-g', '-O0'], | 
| 95       'CPPDEFINES':   ['ENABLE_DISASSEMBLER', 'DEBUG'], | 95       'CPPDEFINES':   ['ENABLE_DISASSEMBLER', 'DEBUG'], | 
| 96       'os:android': { | 96       'os:android': { | 
|  | 97         'CPPDEFINES': ['ENABLE_DEBUGGER_SUPPORT'], | 
| 97         'CCFLAGS':    ['-mthumb'] | 98         'CCFLAGS':    ['-mthumb'] | 
| 98       } | 99       } | 
| 99     }, | 100     }, | 
| 100     'mode:release': { | 101     'mode:release': { | 
| 101       'CCFLAGS':      ['-O3', '-fomit-frame-pointer', '-fdata-sections', | 102       'CCFLAGS':      ['-O3', '-fomit-frame-pointer', '-fdata-sections', | 
| 102                        '-ffunction-sections'], | 103                        '-ffunction-sections'], | 
| 103       'os:android': { | 104       'os:android': { | 
| 104         'CCFLAGS':    ['-mthumb', '-Os'], | 105         'CCFLAGS':    ['-mthumb', '-Os'], | 
| 105         'CPPDEFINES': ['SK_RELEASE', 'NDEBUG'] | 106         'CPPDEFINES': ['SK_RELEASE', 'NDEBUG', 'ENABLE_DEBUGGER_SUPPORT'] | 
| 106       } | 107       } | 
| 107     }, | 108     }, | 
| 108     'os:linux': { | 109     'os:linux': { | 
| 109       'CCFLAGS':      ['-ansi'], | 110       'CCFLAGS':      ['-ansi'], | 
| 110       'library:shared': { | 111       'library:shared': { | 
| 111         'LIBS': ['pthread'] | 112         'LIBS': ['pthread'] | 
| 112       } | 113       } | 
| 113     }, | 114     }, | 
| 114     'os:macos': { | 115     'os:macos': { | 
| 115       'CCFLAGS':      ['-ansi'], | 116       'CCFLAGS':      ['-ansi'], | 
| (...skipping 651 matching lines...) Expand 10 before | Expand all | Expand 10 after  Loading... | 
| 767 # version of scons.  Also, there's a bug in some revisions that | 768 # version of scons.  Also, there's a bug in some revisions that | 
| 768 # doesn't allow this flag to be set, so we swallow any exceptions. | 769 # doesn't allow this flag to be set, so we swallow any exceptions. | 
| 769 # Lovely. | 770 # Lovely. | 
| 770 try: | 771 try: | 
| 771   SetOption('warn', 'no-deprecated') | 772   SetOption('warn', 'no-deprecated') | 
| 772 except: | 773 except: | 
| 773   pass | 774   pass | 
| 774 | 775 | 
| 775 | 776 | 
| 776 Build() | 777 Build() | 
| OLD | NEW | 
|---|