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

Side by Side Diff: SConstruct

Issue 18803: Put code and data pieces in their own sections. (Closed)
Patch Set: Created 11 years, 11 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
« 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 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 'DIALECTFLAGS': ['-ansi'], 45 'DIALECTFLAGS': ['-ansi'],
46 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'], 46 'CCFLAGS': ['$DIALECTFLAGS', '$WARNINGFLAGS'],
47 'CXXFLAGS': ['$CCFLAGS', '-fno-rtti', '-fno-exceptions'], 47 'CXXFLAGS': ['$CCFLAGS', '-fno-rtti', '-fno-exceptions'],
48 'LIBS': ['pthread'] 48 'LIBS': ['pthread']
49 }, 49 },
50 'mode:debug': { 50 'mode:debug': {
51 'CCFLAGS': ['-g', '-O0'], 51 'CCFLAGS': ['-g', '-O0'],
52 'CPPDEFINES': ['ENABLE_DISASSEMBLER', 'DEBUG'] 52 'CPPDEFINES': ['ENABLE_DISASSEMBLER', 'DEBUG']
53 }, 53 },
54 'mode:release': { 54 'mode:release': {
55 'CCFLAGS': ['-O3', '-fomit-frame-pointer'] 55 'CCFLAGS': ['-O3', '-fomit-frame-pointer', '-fdata-sections', '-ffunc tion-sections']
56 }, 56 },
57 'os:freebsd': { 57 'os:freebsd': {
58 'LIBS': ['execinfo'] 58 'LIBS': ['execinfo']
59 }, 59 },
60 'wordsize:64': { 60 'wordsize:64': {
61 'CCFLAGS': ['-m32'], 61 'CCFLAGS': ['-m32'],
62 'LINKFLAGS': ['-m32'] 62 'LINKFLAGS': ['-m32']
63 } 63 }
64 }, 64 },
65 'msvc': { 65 'msvc': {
(...skipping 531 matching lines...) Expand 10 before | Expand all | Expand 10 after
597 # version of scons. Also, there's a bug in some revisions that 597 # version of scons. Also, there's a bug in some revisions that
598 # doesn't allow this flag to be set, so we swallow any exceptions. 598 # doesn't allow this flag to be set, so we swallow any exceptions.
599 # Lovely. 599 # Lovely.
600 try: 600 try:
601 SetOption('warn', 'no-deprecated') 601 SetOption('warn', 'no-deprecated')
602 except: 602 except:
603 pass 603 pass
604 604
605 605
606 Build() 606 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