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

Side by Side Diff: Makefile

Issue 264593002: ARM: update defaults for flags (Closed) Base URL: https://v8.googlecode.com/svn/branches/bleeding_edge
Patch Set: review fix Created 6 years, 7 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 | build/standalone.gypi » ('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 2012 the V8 project authors. All rights reserved. 1 # Copyright 2012 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after
149 else 149 else
150 # Deprecated (use arm_version instead): armv7=false/true 150 # Deprecated (use arm_version instead): armv7=false/true
151 ifeq ($(armv7), false) 151 ifeq ($(armv7), false)
152 GYPFLAGS += -Darm_version=6 152 GYPFLAGS += -Darm_version=6
153 else 153 else
154 ifeq ($(armv7), true) 154 ifeq ($(armv7), true)
155 GYPFLAGS += -Darm_version=7 155 GYPFLAGS += -Darm_version=7
156 endif 156 endif
157 endif 157 endif
158 endif 158 endif
159 # vfp2=off. Deprecated, use armfpu=
160 # vfp3=off. Deprecated, use armfpu=
161 ifeq ($(vfp3), off)
162 GYPFLAGS += -Darm_fpu=vfp
163 endif
164 # hardfp=on/off. Deprecated, use armfloatabi 159 # hardfp=on/off. Deprecated, use armfloatabi
165 ifeq ($(hardfp),on) 160 ifeq ($(hardfp),on)
166 GYPFLAGS += -Darm_float_abi=hard 161 GYPFLAGS += -Darm_float_abi=hard
167 else 162 else
168 ifeq ($(hardfp),off) 163 ifeq ($(hardfp),off)
169 GYPFLAGS += -Darm_float_abi=softfp 164 GYPFLAGS += -Darm_float_abi=softfp
170 endif 165 endif
171 endif 166 endif
172 # armneon=on/off
173 ifeq ($(armneon), on)
174 GYPFLAGS += -Darm_neon=1
175 endif
176 # fpu: armfpu=xxx 167 # fpu: armfpu=xxx
177 # xxx: vfp, vfpv3-d16, vfpv3, neon. 168 # xxx: vfp, vfpv3-d16, vfpv3, neon.
178 ifeq ($(armfpu),) 169 ifeq ($(armfpu),)
179 ifneq ($(vfp3), off)
180 GYPFLAGS += -Darm_fpu=default 170 GYPFLAGS += -Darm_fpu=default
181 endif
182 else 171 else
183 GYPFLAGS += -Darm_fpu=$(armfpu) 172 GYPFLAGS += -Darm_fpu=$(armfpu)
184 endif 173 endif
185 # float abi: armfloatabi=softfp/hard 174 # float abi: armfloatabi=softfp/hard
186 ifeq ($(armfloatabi),) 175 ifeq ($(armfloatabi),)
187 ifeq ($(hardfp),) 176 ifeq ($(hardfp),)
188 GYPFLAGS += -Darm_float_abi=default 177 GYPFLAGS += -Darm_float_abi=default
189 endif 178 endif
190 else 179 else
191 GYPFLAGS += -Darm_float_abi=$(armfloatabi) 180 GYPFLAGS += -Darm_float_abi=$(armfloatabi)
192 endif 181 endif
193 # armthumb=on/off 182 # armthumb=on/off
194 ifeq ($(armthumb), off) 183 ifeq ($(armthumb), off)
195 GYPFLAGS += -Darm_thumb=0 184 GYPFLAGS += -Darm_thumb=0
196 else 185 else
197 ifeq ($(armthumb), on) 186 ifeq ($(armthumb), on)
198 GYPFLAGS += -Darm_thumb=1 187 GYPFLAGS += -Darm_thumb=1
199 endif 188 endif
200 endif 189 endif
201 # armtest=on 190 # armtest=on
202 # With this flag set, by default v8 will only use features implied 191 # With this flag set, by default v8 will only use features implied
203 # by the compiler (no probe). This is done by modifying the default 192 # by the compiler (no probe). This is done by modifying the default
204 # values of enable_armv7, enable_vfp2, enable_vfp3 and enable_32dregs. 193 # values of enable_armv7, enable_vfp3, enable_32dregs and enable_neon.
205 # Modifying these flags when launching v8 will enable the probing for 194 # Modifying these flags when launching v8 will enable the probing for
206 # the specified values. 195 # the specified values.
207 # When using the simulator, this flag is implied. 196 # When using the simulator, this flag is implied.
208 ifeq ($(armtest), on) 197 ifeq ($(armtest), on)
209 GYPFLAGS += -Darm_test=on 198 GYPFLAGS += -Darm_test=on
210 endif 199 endif
211 200
212 # ----------------- available targets: -------------------- 201 # ----------------- available targets: --------------------
213 # - "dependencies": pulls in external dependencies (currently: GYP) 202 # - "dependencies": pulls in external dependencies (currently: GYP)
214 # - "grokdump": rebuilds heap constants lists used by grokdump 203 # - "grokdump": rebuilds heap constants lists used by grokdump
(...skipping 257 matching lines...) Expand 10 before | Expand all | Expand 10 after
472 rm -f gtags.files GPATH GRTAGS GSYMS GTAGS 461 rm -f gtags.files GPATH GRTAGS GSYMS GTAGS
473 462
474 # Dependencies. 463 # Dependencies.
475 # Remember to keep these in sync with the DEPS file. 464 # Remember to keep these in sync with the DEPS file.
476 dependencies: 465 dependencies:
477 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ 466 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \
478 --revision 1831 467 --revision 1831
479 svn checkout --force \ 468 svn checkout --force \
480 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \ 469 https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \
481 third_party/icu --revision 258359 470 third_party/icu --revision 258359
OLDNEW
« no previous file with comments | « no previous file | build/standalone.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698