OLD | NEW |
1 # Copyright 2011 the V8 project authors. All rights reserved. | 1 # Copyright 2011 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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
43 GYPFLAGS += -Dcomponent=$(component) | 43 GYPFLAGS += -Dcomponent=$(component) |
44 endif | 44 endif |
45 # console=readline | 45 # console=readline |
46 ifdef console | 46 ifdef console |
47 GYPFLAGS += -Dconsole=$(console) | 47 GYPFLAGS += -Dconsole=$(console) |
48 endif | 48 endif |
49 # disassembler=on | 49 # disassembler=on |
50 ifeq ($(disassembler), on) | 50 ifeq ($(disassembler), on) |
51 GYPFLAGS += -Dv8_enable_disassembler=1 | 51 GYPFLAGS += -Dv8_enable_disassembler=1 |
52 endif | 52 endif |
| 53 # objectprint=on |
| 54 ifeq ($(objectprint), on) |
| 55 GYPFLAGS += -Dv8_object_print=1 |
| 56 endif |
53 # snapshot=off | 57 # snapshot=off |
54 ifeq ($(snapshot), off) | 58 ifeq ($(snapshot), off) |
55 GYPFLAGS += -Dv8_use_snapshot='false' | 59 GYPFLAGS += -Dv8_use_snapshot='false' |
56 endif | 60 endif |
57 # gdbjit=on | 61 # gdbjit=on |
58 ifeq ($(gdbjit), on) | 62 ifeq ($(gdbjit), on) |
59 GYPFLAGS += -Dv8_enable_gdbjit=1 | 63 GYPFLAGS += -Dv8_enable_gdbjit=1 |
60 endif | 64 endif |
61 # liveobjectlist=on | 65 # liveobjectlist=on |
62 ifeq ($(liveobjectlist), on) | 66 ifeq ($(liveobjectlist), on) |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
192 else mv $(ENVFILE).new $(ENVFILE); fi | 196 else mv $(ENVFILE).new $(ENVFILE); fi |
193 | 197 |
194 # Stores current GYPFLAGS in a file. | 198 # Stores current GYPFLAGS in a file. |
195 $(ENVFILE).new: | 199 $(ENVFILE).new: |
196 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; | 200 @mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new; |
197 | 201 |
198 # Dependencies. | 202 # Dependencies. |
199 dependencies: | 203 dependencies: |
200 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ | 204 svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \ |
201 --revision 1026 | 205 --revision 1026 |
OLD | NEW |