Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8)

Side by Side Diff: SConstruct

Issue 57056: Use -mthumb on debug build too. (Closed) Base URL: http://v8.googlecode.com/svn/branches/bleeding_edge/
Patch Set: Created 11 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 'CPPDEFINES': ['ENABLE_LOGGING_AND_PROFILING'] 86 'CPPDEFINES': ['ENABLE_LOGGING_AND_PROFILING']
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': {
97 'CCFLAGS': ['-mthumb']
98 }
96 }, 99 },
97 'mode:release': { 100 'mode:release': {
98 'CCFLAGS': ['-O3', '-fomit-frame-pointer', '-fdata-sections', 101 'CCFLAGS': ['-O3', '-fomit-frame-pointer', '-fdata-sections',
99 '-ffunction-sections'], 102 '-ffunction-sections'],
100 'os:android': { 103 'os:android': {
101 'CCFLAGS': ['-mthumb', '-Os'], 104 'CCFLAGS': ['-mthumb', '-Os'],
102 'CPPDEFINES': ['SK_RELEASE', 'NDEBUG'] 105 'CPPDEFINES': ['SK_RELEASE', 'NDEBUG']
103 } 106 }
104 }, 107 },
105 'os:linux': { 108 'os:linux': {
(...skipping 649 matching lines...) Expand 10 before | Expand all | Expand 10 after
755 # version of scons. Also, there's a bug in some revisions that 758 # version of scons. Also, there's a bug in some revisions that
756 # doesn't allow this flag to be set, so we swallow any exceptions. 759 # doesn't allow this flag to be set, so we swallow any exceptions.
757 # Lovely. 760 # Lovely.
758 try: 761 try:
759 SetOption('warn', 'no-deprecated') 762 SetOption('warn', 'no-deprecated')
760 except: 763 except:
761 pass 764 pass
762 765
763 766
764 Build() 767 Build()
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698