Chromium Code Reviews| 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 109 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 120 'CXXFLAGS': ['-fvisibility=hidden'] | 120 'CXXFLAGS': ['-fvisibility=hidden'] |
| 121 }, | 121 }, |
| 122 'mode:debug': { | 122 'mode:debug': { |
| 123 'CCFLAGS': ['-g', '-O0'], | 123 'CCFLAGS': ['-g', '-O0'], |
| 124 'CPPDEFINES': ['ENABLE_DISASSEMBLER', 'DEBUG'], | 124 'CPPDEFINES': ['ENABLE_DISASSEMBLER', 'DEBUG'], |
| 125 'os:android': { | 125 'os:android': { |
| 126 'CCFLAGS': ['-mthumb'] | 126 'CCFLAGS': ['-mthumb'] |
| 127 } | 127 } |
| 128 }, | 128 }, |
| 129 'mode:release': { | 129 'mode:release': { |
| 130 'CCFLAGS': ['-O3', '-fomit-frame-pointer', '-fdata-sections', | 130 'CCFLAGS': ['-O0', '-g', '-fomit-frame-pointer', '-fdata-sections', |
|
Christian Plesner Hansen
2009/11/13 13:43:36
Ahem.
| |
| 131 '-ffunction-sections'], | 131 '-ffunction-sections'], |
| 132 'os:android': { | 132 'os:android': { |
| 133 'CCFLAGS': ['-mthumb', '-Os'], | 133 'CCFLAGS': ['-mthumb', '-Os'], |
| 134 'CPPDEFINES': ['SK_RELEASE', 'NDEBUG'] | 134 'CPPDEFINES': ['SK_RELEASE', 'NDEBUG'] |
| 135 } | 135 } |
| 136 }, | 136 }, |
| 137 'os:linux': { | 137 'os:linux': { |
| 138 'CCFLAGS': ['-ansi'] + GCC_EXTRA_CCFLAGS, | 138 'CCFLAGS': ['-ansi'] + GCC_EXTRA_CCFLAGS, |
| 139 'library:shared': { | 139 'library:shared': { |
| 140 'CPPDEFINES': ['V8_SHARED'], | 140 'CPPDEFINES': ['V8_SHARED'], |
| (...skipping 841 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 982 # version of scons. Also, there's a bug in some revisions that | 982 # version of scons. Also, there's a bug in some revisions that |
| 983 # doesn't allow this flag to be set, so we swallow any exceptions. | 983 # doesn't allow this flag to be set, so we swallow any exceptions. |
| 984 # Lovely. | 984 # Lovely. |
| 985 try: | 985 try: |
| 986 SetOption('warn', 'no-deprecated') | 986 SetOption('warn', 'no-deprecated') |
| 987 except: | 987 except: |
| 988 pass | 988 pass |
| 989 | 989 |
| 990 | 990 |
| 991 Build() | 991 Build() |
| OLD | NEW |