Add support for GNU GLOBAL.
R=svenpanne@chromium.org Review URL: https://codereview.chromium.org/225183015 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@20557 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
This commit is contained in:
parent
c0301105d8
commit
ec56870d80
1
.gitignore
vendored
1
.gitignore
vendored
@ -63,3 +63,4 @@ GTAGS
|
|||||||
GRTAGS
|
GRTAGS
|
||||||
GSYMS
|
GSYMS
|
||||||
GPATH
|
GPATH
|
||||||
|
gtags.files
|
||||||
|
12
Makefile
12
Makefile
@ -409,7 +409,7 @@ native.clean:
|
|||||||
rm -rf $(OUTDIR)/native
|
rm -rf $(OUTDIR)/native
|
||||||
find $(OUTDIR) -regex '.*\(host\|target\)\.native\.mk' -delete
|
find $(OUTDIR) -regex '.*\(host\|target\)\.native\.mk' -delete
|
||||||
|
|
||||||
clean: $(addsuffix .clean, $(ARCHES) $(ANDROID_ARCHES) $(NACL_ARCHES)) native.clean
|
clean: $(addsuffix .clean, $(ARCHES) $(ANDROID_ARCHES) $(NACL_ARCHES)) native.clean gtags.clean
|
||||||
|
|
||||||
# GYP file generation targets.
|
# GYP file generation targets.
|
||||||
OUT_MAKEFILES = $(addprefix $(OUTDIR)/Makefile.,$(BUILDS))
|
OUT_MAKEFILES = $(addprefix $(OUTDIR)/Makefile.,$(BUILDS))
|
||||||
@ -467,6 +467,16 @@ grokdump: ia32.release
|
|||||||
@cat $(DUMP_FILE).tmpl > $(DUMP_FILE)
|
@cat $(DUMP_FILE).tmpl > $(DUMP_FILE)
|
||||||
@$(OUTDIR)/ia32.release/d8 --dump-heap-constants >> $(DUMP_FILE)
|
@$(OUTDIR)/ia32.release/d8 --dump-heap-constants >> $(DUMP_FILE)
|
||||||
|
|
||||||
|
# Support for the GNU GLOBAL Source Code Tag System.
|
||||||
|
gtags.files: $(GYPFILES) $(ENVFILE)
|
||||||
|
@find include src test -name '*.h' -o -name '*.cc' -o -name '*.c' > $@
|
||||||
|
|
||||||
|
GTAGS GRTAGS GPATH: gtags.files
|
||||||
|
@GTAGSFORCECPP=yes gtags -i -q
|
||||||
|
|
||||||
|
gtags.clean:
|
||||||
|
rm -f GTAGS GRTAGS GPATH gtags.files
|
||||||
|
|
||||||
# Dependencies.
|
# Dependencies.
|
||||||
# Remember to keep these in sync with the DEPS file.
|
# Remember to keep these in sync with the DEPS file.
|
||||||
dependencies:
|
dependencies:
|
||||||
|
Loading…
Reference in New Issue
Block a user