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 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
54 GYPFLAGS += -Dv8_enable_disassembler=1 | 54 GYPFLAGS += -Dv8_enable_disassembler=1 |
55 endif | 55 endif |
56 # objectprint=on | 56 # objectprint=on |
57 ifeq ($(objectprint), on) | 57 ifeq ($(objectprint), on) |
58 GYPFLAGS += -Dv8_object_print=1 | 58 GYPFLAGS += -Dv8_object_print=1 |
59 endif | 59 endif |
60 # snapshot=off | 60 # snapshot=off |
61 ifeq ($(snapshot), off) | 61 ifeq ($(snapshot), off) |
62 GYPFLAGS += -Dv8_use_snapshot='false' | 62 GYPFLAGS += -Dv8_use_snapshot='false' |
63 endif | 63 endif |
| 64 # extrachecks=on/off |
| 65 ifeq ($(extrachecks), on) |
| 66 GYPFLAGS += -Dv8_enable_extra_checks=1 |
| 67 endif |
| 68 ifeq ($(extrachecks), off) |
| 69 GYPFLAGS += -Dv8_enable_extra_checks=0 |
| 70 endif |
64 # gdbjit=on | 71 # gdbjit=on |
65 ifeq ($(gdbjit), on) | 72 ifeq ($(gdbjit), on) |
66 GYPFLAGS += -Dv8_enable_gdbjit=1 | 73 GYPFLAGS += -Dv8_enable_gdbjit=1 |
67 endif | 74 endif |
68 # liveobjectlist=on | 75 # liveobjectlist=on |
69 ifeq ($(liveobjectlist), on) | 76 ifeq ($(liveobjectlist), on) |
70 GYPFLAGS += -Dv8_use_liveobjectlist=true | 77 GYPFLAGS += -Dv8_use_liveobjectlist=true |
71 endif | 78 endif |
72 # vfp3=off | 79 # vfp3=off |
73 ifeq ($(vfp3), off) | 80 ifeq ($(vfp3), off) |
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
262 | 269 |
263 # Stores current GYPFLAGS in a file. | 270 # Stores current GYPFLAGS in a file. |
264 $(ENVFILE).new: | 271 $(ENVFILE).new: |
265 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ | 272 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ |
266 echo "CXX=$(CXX)" >> $(ENVFILE).new | 273 echo "CXX=$(CXX)" >> $(ENVFILE).new |
267 | 274 |
268 # Dependencies. | 275 # Dependencies. |
269 dependencies: | 276 dependencies: |
270 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ | 277 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ |
271 --revision 1282 | 278 --revision 1282 |
OLD | NEW |