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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
55 GYPFLAGS += -Dv8_enable_disassembler=1 | 55 GYPFLAGS += -Dv8_enable_disassembler=1 |
56 endif | 56 endif |
57 # objectprint=on | 57 # objectprint=on |
58 ifeq ($(objectprint), on) | 58 ifeq ($(objectprint), on) |
59 GYPFLAGS += -Dv8_object_print=1 | 59 GYPFLAGS += -Dv8_object_print=1 |
60 endif | 60 endif |
61 # verifyheap=on | 61 # verifyheap=on |
62 ifeq ($(verifyheap), on) | 62 ifeq ($(verifyheap), on) |
63 GYPFLAGS += -Dv8_enable_verify_heap=1 | 63 GYPFLAGS += -Dv8_enable_verify_heap=1 |
64 endif | 64 endif |
| 65 # backtrace=off |
| 66 ifeq ($(backtrace), off) |
| 67 GYPFLAGS += -Dv8_enable_backtrace=0 |
| 68 else |
| 69 GYPFLAGS += -Dv8_enable_backtrace=1 |
| 70 endif |
65 # snapshot=off | 71 # snapshot=off |
66 ifeq ($(snapshot), off) | 72 ifeq ($(snapshot), off) |
67 GYPFLAGS += -Dv8_use_snapshot='false' | 73 GYPFLAGS += -Dv8_use_snapshot='false' |
68 endif | 74 endif |
69 # extrachecks=on/off | 75 # extrachecks=on/off |
70 ifeq ($(extrachecks), on) | 76 ifeq ($(extrachecks), on) |
71 GYPFLAGS += -Dv8_enable_extra_checks=1 | 77 GYPFLAGS += -Dv8_enable_extra_checks=1 |
72 endif | 78 endif |
73 ifeq ($(extrachecks), off) | 79 ifeq ($(extrachecks), off) |
74 GYPFLAGS += -Dv8_enable_extra_checks=0 | 80 GYPFLAGS += -Dv8_enable_extra_checks=0 |
(...skipping 206 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
281 # Stores current GYPFLAGS in a file. | 287 # Stores current GYPFLAGS in a file. |
282 $(ENVFILE).new: | 288 $(ENVFILE).new: |
283 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ | 289 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; \ |
284 echo "CXX=$(CXX)" >> $(ENVFILE).new | 290 echo "CXX=$(CXX)" >> $(ENVFILE).new |
285 | 291 |
286 # Dependencies. | 292 # Dependencies. |
287 # Remember to keep these in sync with the DEPS file. | 293 # Remember to keep these in sync with the DEPS file. |
288 dependencies: | 294 dependencies: |
289 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ | 295 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ |
290 --revision 1501 | 296 --revision 1501 |
OLD | NEW |