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

Side by Side Diff: SConstruct

Issue 3135022: Give correct value ranges to enumeration types used as opaque types. (Closed)
Patch Set: fixed Created 10 years, 4 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 | src/frames.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2010 the V8 project authors. All rights reserved. 1 # Copyright 2010 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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 # the additional cross-compiling environment variables to the cross compiler. 47 # the additional cross-compiling environment variables to the cross compiler.
48 ARM_TARGET_LIB = os.environ.get('ARM_TARGET_LIB') 48 ARM_TARGET_LIB = os.environ.get('ARM_TARGET_LIB')
49 if ARM_TARGET_LIB: 49 if ARM_TARGET_LIB:
50 ARM_LINK_FLAGS = ['-Wl,-rpath=' + ARM_TARGET_LIB + '/lib:' + 50 ARM_LINK_FLAGS = ['-Wl,-rpath=' + ARM_TARGET_LIB + '/lib:' +
51 ARM_TARGET_LIB + '/usr/lib', 51 ARM_TARGET_LIB + '/usr/lib',
52 '-Wl,--dynamic-linker=' + ARM_TARGET_LIB + 52 '-Wl,--dynamic-linker=' + ARM_TARGET_LIB +
53 '/lib/ld-linux.so.3'] 53 '/lib/ld-linux.so.3']
54 else: 54 else:
55 ARM_LINK_FLAGS = [] 55 ARM_LINK_FLAGS = []
56 56
57 # TODO: Sort these issues out properly but as a temporary solution for gcc 4.4 57 GCC_EXTRA_CCFLAGS = []
58 # on linux we need these compiler flags to avoid crashes in the v8 test suite 58 GCC_DTOA_EXTRA_CCFLAGS = []
59 # and avoid dtoa.c strict aliasing issues
60 if os.environ.get('GCC_VERSION') == '44':
61 GCC_EXTRA_CCFLAGS = ['-fno-tree-vrp']
62 GCC_DTOA_EXTRA_CCFLAGS = []
63 else:
64 GCC_EXTRA_CCFLAGS = []
65 GCC_DTOA_EXTRA_CCFLAGS = []
66 59
67 ANDROID_FLAGS = ['-march=armv7-a', 60 ANDROID_FLAGS = ['-march=armv7-a',
68 '-mtune=cortex-a8', 61 '-mtune=cortex-a8',
69 '-mfloat-abi=softfp', 62 '-mfloat-abi=softfp',
70 '-mfpu=vfp', 63 '-mfpu=vfp',
71 '-fpic', 64 '-fpic',
72 '-mthumb-interwork', 65 '-mthumb-interwork',
73 '-funwind-tables', 66 '-funwind-tables',
74 '-fstack-protector', 67 '-fstack-protector',
75 '-fno-short-enums', 68 '-fno-short-enums',
(...skipping 1068 matching lines...) Expand 10 before | Expand all | Expand 10 after
1144 # version of scons. Also, there's a bug in some revisions that 1137 # version of scons. Also, there's a bug in some revisions that
1145 # doesn't allow this flag to be set, so we swallow any exceptions. 1138 # doesn't allow this flag to be set, so we swallow any exceptions.
1146 # Lovely. 1139 # Lovely.
1147 try: 1140 try:
1148 SetOption('warn', 'no-deprecated') 1141 SetOption('warn', 'no-deprecated')
1149 except: 1142 except:
1150 pass 1143 pass
1151 1144
1152 1145
1153 Build() 1146 Build()
OLDNEW
« no previous file with comments | « no previous file | src/frames.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698