| 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 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 88 GYPFLAGS += -Dwerror='' | 88 GYPFLAGS += -Dwerror='' |
| 89 endif | 89 endif |
| 90 # presubmit=no | 90 # presubmit=no |
| 91 ifeq ($(presubmit), no) | 91 ifeq ($(presubmit), no) |
| 92 TESTFLAGS += --no-presubmit | 92 TESTFLAGS += --no-presubmit |
| 93 endif | 93 endif |
| 94 # strictaliasing=off (workaround for GCC-4.5) | 94 # strictaliasing=off (workaround for GCC-4.5) |
| 95 ifeq ($(strictaliasing), off) | 95 ifeq ($(strictaliasing), off) |
| 96 GYPFLAGS += -Dv8_no_strict_aliasing=1 | 96 GYPFLAGS += -Dv8_no_strict_aliasing=1 |
| 97 endif | 97 endif |
| 98 # regexp=interpreted |
| 99 ifeq ($(regexp), interpreted) |
| 100 GYPFLAGS += -Dv8_interpreted_regexp=1 |
| 101 endif |
| 98 | 102 |
| 99 # ----------------- available targets: -------------------- | 103 # ----------------- available targets: -------------------- |
| 100 # - "dependencies": pulls in external dependencies (currently: GYP) | 104 # - "dependencies": pulls in external dependencies (currently: GYP) |
| 101 # - any arch listed in ARCHES (see below) | 105 # - any arch listed in ARCHES (see below) |
| 102 # - any mode listed in MODES | 106 # - any mode listed in MODES |
| 103 # - every combination <arch>.<mode>, e.g. "ia32.release" | 107 # - every combination <arch>.<mode>, e.g. "ia32.release" |
| 104 # - "native": current host's architecture, release mode | 108 # - "native": current host's architecture, release mode |
| 105 # - any of the above with .check appended, e.g. "ia32.release.check" | 109 # - any of the above with .check appended, e.g. "ia32.release.check" |
| 106 # - "android": cross-compile for Android/ARM (release mode) | 110 # - "android": cross-compile for Android/ARM (release mode) |
| 107 # - default (no target specified): build all DEFAULT_ARCHES and MODES | 111 # - default (no target specified): build all DEFAULT_ARCHES and MODES |
| (...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 247 | 251 |
| 248 # Stores current GYPFLAGS in a file. | 252 # Stores current GYPFLAGS in a file. |
| 249 $(ENVFILE).new: | 253 $(ENVFILE).new: |
| 250 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ | 254 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ |
| 251 echo "CXX=$(CXX)" >> $(ENVFILE).new | 255 echo "CXX=$(CXX)" >> $(ENVFILE).new |
| 252 | 256 |
| 253 # Dependencies. | 257 # Dependencies. |
| 254 dependencies: | 258 dependencies: |
| 255 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ | 259 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ |
| 256 --revision 1282 | 260 --revision 1282 |
| OLD | NEW |