| 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 159 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 170 # armtest=on | 170 # armtest=on |
| 171 # With this flag set, by default v8 will only use features implied | 171 # With this flag set, by default v8 will only use features implied |
| 172 # by the compiler (no probe). This is done by modifying the default | 172 # by the compiler (no probe). This is done by modifying the default |
| 173 # values of enable_armv7, enable_vfp2, enable_vfp3 and enable_32dregs. | 173 # values of enable_armv7, enable_vfp2, enable_vfp3 and enable_32dregs. |
| 174 # Modifying these flags when launching v8 will enable the probing for | 174 # Modifying these flags when launching v8 will enable the probing for |
| 175 # the specified values. | 175 # the specified values. |
| 176 # When using the simulator, this flag is implied. | 176 # When using the simulator, this flag is implied. |
| 177 ifeq ($(armtest), on) | 177 ifeq ($(armtest), on) |
| 178 GYPFLAGS += -Darm_test=on | 178 GYPFLAGS += -Darm_test=on |
| 179 endif | 179 endif |
| 180 ifeq ($(atom), true) |
| 181 GYPFLAGS += -Datom=1 |
| 182 endif |
| 180 | 183 |
| 181 # ----------------- available targets: -------------------- | 184 # ----------------- available targets: -------------------- |
| 182 # - "dependencies": pulls in external dependencies (currently: GYP) | 185 # - "dependencies": pulls in external dependencies (currently: GYP) |
| 183 # - any arch listed in ARCHES (see below) | 186 # - any arch listed in ARCHES (see below) |
| 184 # - any mode listed in MODES | 187 # - any mode listed in MODES |
| 185 # - every combination <arch>.<mode>, e.g. "ia32.release" | 188 # - every combination <arch>.<mode>, e.g. "ia32.release" |
| 186 # - "native": current host's architecture, release mode | 189 # - "native": current host's architecture, release mode |
| 187 # - 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" |
| 188 # - "android": cross-compile for Android/ARM | 191 # - "android": cross-compile for Android/ARM |
| 189 # - "nacl" : cross-compile for Native Client (ia32 and x64) | 192 # - "nacl" : cross-compile for Native Client (ia32 and x64) |
| (...skipping 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 385 # Stores current GYPFLAGS in a file. | 388 # Stores current GYPFLAGS in a file. |
| 386 $(ENVFILE).new: | 389 $(ENVFILE).new: |
| 387 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ | 390 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ |
| 388 echo "CXX=$(CXX)" >> $(ENVFILE).new | 391 echo "CXX=$(CXX)" >> $(ENVFILE).new |
| 389 | 392 |
| 390 # Dependencies. | 393 # Dependencies. |
| 391 # Remember to keep these in sync with the DEPS file. | 394 # Remember to keep these in sync with the DEPS file. |
| 392 dependencies: | 395 dependencies: |
| 393 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ | 396 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ |
| 394 --revision 1501 | 397 --revision 1501 |
| OLD | NEW |