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 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
90 ifeq ($(extrachecks), off) | 90 ifeq ($(extrachecks), off) |
91 GYPFLAGS += -Ddcheck_always_on=0 -Dv8_enable_handle_zapping=0 | 91 GYPFLAGS += -Ddcheck_always_on=0 -Dv8_enable_handle_zapping=0 |
92 endif | 92 endif |
93 # slowdchecks=on/off | 93 # slowdchecks=on/off |
94 ifeq ($(slowdchecks), on) | 94 ifeq ($(slowdchecks), on) |
95 GYPFLAGS += -Dv8_enable_slow_dchecks=1 | 95 GYPFLAGS += -Dv8_enable_slow_dchecks=1 |
96 endif | 96 endif |
97 ifeq ($(slowdchecks), off) | 97 ifeq ($(slowdchecks), off) |
98 GYPFLAGS += -Dv8_enable_slow_dchecks=0 | 98 GYPFLAGS += -Dv8_enable_slow_dchecks=0 |
99 endif | 99 endif |
| 100 # debugsymbols=on |
| 101 ifeq ($(debugsymbols), on) |
| 102 GYPFLAGS += -Drelease_extra_cflags=-ggdb3 |
| 103 endif |
100 # gdbjit=on/off | 104 # gdbjit=on/off |
101 ifeq ($(gdbjit), on) | 105 ifeq ($(gdbjit), on) |
102 GYPFLAGS += -Dv8_enable_gdbjit=1 | 106 GYPFLAGS += -Dv8_enable_gdbjit=1 |
103 endif | 107 endif |
104 ifeq ($(gdbjit), off) | 108 ifeq ($(gdbjit), off) |
105 GYPFLAGS += -Dv8_enable_gdbjit=0 | 109 GYPFLAGS += -Dv8_enable_gdbjit=0 |
106 endif | 110 endif |
107 # vtunejit=on | 111 # vtunejit=on |
108 ifeq ($(vtunejit), on) | 112 ifeq ($(vtunejit), on) |
109 GYPFLAGS += -Dv8_enable_vtunejit=1 | 113 GYPFLAGS += -Dv8_enable_vtunejit=1 |
(...skipping 381 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
491 # We need to manually set the stack limit here, to work around bugs in | 495 # We need to manually set the stack limit here, to work around bugs in |
492 # gmake-3.81 and global-5.7.1 on recent 64-bit Linux systems. | 496 # gmake-3.81 and global-5.7.1 on recent 64-bit Linux systems. |
493 GPATH GRTAGS GSYMS GTAGS: gtags.files $(shell cat gtags.files 2> /dev/null) | 497 GPATH GRTAGS GSYMS GTAGS: gtags.files $(shell cat gtags.files 2> /dev/null) |
494 @bash -c 'ulimit -s 10240 && GTAGSFORCECPP=yes gtags -i -q -f $<' | 498 @bash -c 'ulimit -s 10240 && GTAGSFORCECPP=yes gtags -i -q -f $<' |
495 | 499 |
496 gtags.clean: | 500 gtags.clean: |
497 rm -f gtags.files GPATH GRTAGS GSYMS GTAGS | 501 rm -f gtags.files GPATH GRTAGS GSYMS GTAGS |
498 | 502 |
499 dependencies builddeps: | 503 dependencies builddeps: |
500 $(error Use 'gclient sync' instead) | 504 $(error Use 'gclient sync' instead) |
OLD | NEW |