| 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 108 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 119 'CCFLAGS': ['-O3', '-fomit-frame-pointer', '-fdata-sections', | 119 'CCFLAGS': ['-O3', '-fomit-frame-pointer', '-fdata-sections', |
| 120 '-ffunction-sections'], | 120 '-ffunction-sections'], |
| 121 'os:android': { | 121 'os:android': { |
| 122 'CCFLAGS': ['-mthumb', '-Os'], | 122 'CCFLAGS': ['-mthumb', '-Os'], |
| 123 'CPPDEFINES': ['SK_RELEASE', 'NDEBUG', 'ENABLE_DEBUGGER_SUPPORT'] | 123 'CPPDEFINES': ['SK_RELEASE', 'NDEBUG', 'ENABLE_DEBUGGER_SUPPORT'] |
| 124 } | 124 } |
| 125 }, | 125 }, |
| 126 'os:linux': { | 126 'os:linux': { |
| 127 'CCFLAGS': ['-ansi'] + GCC_EXTRA_CCFLAGS, | 127 'CCFLAGS': ['-ansi'] + GCC_EXTRA_CCFLAGS, |
| 128 'library:shared': { | 128 'library:shared': { |
| 129 'CPPDEFINES': ['V8_SHARED'], |
| 129 'LIBS': ['pthread'] | 130 'LIBS': ['pthread'] |
| 130 } | 131 } |
| 131 }, | 132 }, |
| 132 'os:macos': { | 133 'os:macos': { |
| 133 'CCFLAGS': ['-ansi', '-mmacosx-version-min=10.4'], | 134 'CCFLAGS': ['-ansi', '-mmacosx-version-min=10.4'], |
| 134 }, | 135 }, |
| 135 'os:freebsd': { | 136 'os:freebsd': { |
| 136 'CPPPATH' : ['/usr/local/include'], | 137 'CPPPATH' : ['/usr/local/include'], |
| 137 'LIBPATH' : ['/usr/local/lib'], | 138 'LIBPATH' : ['/usr/local/lib'], |
| 138 'CCFLAGS': ['-ansi'], | 139 'CCFLAGS': ['-ansi'], |
| (...skipping 768 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 907 # version of scons. Also, there's a bug in some revisions that | 908 # version of scons. Also, there's a bug in some revisions that |
| 908 # doesn't allow this flag to be set, so we swallow any exceptions. | 909 # doesn't allow this flag to be set, so we swallow any exceptions. |
| 909 # Lovely. | 910 # Lovely. |
| 910 try: | 911 try: |
| 911 SetOption('warn', 'no-deprecated') | 912 SetOption('warn', 'no-deprecated') |
| 912 except: | 913 except: |
| 913 pass | 914 pass |
| 914 | 915 |
| 915 | 916 |
| 916 Build() | 917 Build() |
| OLD | NEW |