OLD | NEW |
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 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
172 endif | 172 endif |
173 # armtest=on | 173 # armtest=on |
174 # With this flag set, by default v8 will only use features implied | 174 # With this flag set, by default v8 will only use features implied |
175 # by the compiler (no probe). This is done by modifying the default | 175 # by the compiler (no probe). This is done by modifying the default |
176 # values of enable_armv7, enable_vfp2, enable_vfp3 and enable_32dregs. | 176 # values of enable_armv7, enable_vfp2, enable_vfp3 and enable_32dregs. |
177 # Modifying these flags when launching v8 will enable the probing for | 177 # Modifying these flags when launching v8 will enable the probing for |
178 # the specified values. | 178 # the specified values. |
179 # When using the simulator, this flag is implied. | 179 # When using the simulator, this flag is implied. |
180 ifeq ($(armtest), on) | 180 ifeq ($(armtest), on) |
181 GYPFLAGS += -Darm_test=on | 181 GYPFLAGS += -Darm_test=on |
182 else | |
183 GYPFLAGS += -Darm_test=off | |
184 endif | 182 endif |
185 | 183 |
186 # ----------------- available targets: -------------------- | 184 # ----------------- available targets: -------------------- |
187 # - "dependencies": pulls in external dependencies (currently: GYP) | 185 # - "dependencies": pulls in external dependencies (currently: GYP) |
188 # - any arch listed in ARCHES (see below) | 186 # - any arch listed in ARCHES (see below) |
189 # - any mode listed in MODES | 187 # - any mode listed in MODES |
190 # - every combination <arch>.<mode>, e.g. "ia32.release" | 188 # - every combination <arch>.<mode>, e.g. "ia32.release" |
191 # - "native": current host's architecture, release mode | 189 # - "native": current host's architecture, release mode |
192 # - any of the above with .check appended, e.g. "ia32.release.check" | 190 # - any of the above with .check appended, e.g. "ia32.release.check" |
193 # - "android": cross-compile for Android/ARM | 191 # - "android": cross-compile for Android/ARM |
(...skipping 158 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
352 # Stores current GYPFLAGS in a file. | 350 # Stores current GYPFLAGS in a file. |
353 $(ENVFILE).new: | 351 $(ENVFILE).new: |
354 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ | 352 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ |
355 echo "CXX=$(CXX)" >> $(ENVFILE).new | 353 echo "CXX=$(CXX)" >> $(ENVFILE).new |
356 | 354 |
357 # Dependencies. | 355 # Dependencies. |
358 # Remember to keep these in sync with the DEPS file. | 356 # Remember to keep these in sync with the DEPS file. |
359 dependencies: | 357 dependencies: |
360 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ | 358 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ |
361 --revision 1501 | 359 --revision 1501 |
OLD | NEW |