Revision: 20557
Author:   [email protected]
Date:     Tue Apr  8 06:19:05 2014 UTC
Log:      Add support for GNU GLOBAL.

[email protected]

Review URL: https://codereview.chromium.org/225183015
http://code.google.com/p/v8/source/detail?r=20557

Modified:
 /branches/bleeding_edge/.gitignore
 /branches/bleeding_edge/Makefile

=======================================
--- /branches/bleeding_edge/.gitignore  Fri Mar  7 09:19:48 2014 UTC
+++ /branches/bleeding_edge/.gitignore  Tue Apr  8 06:19:05 2014 UTC
@@ -63,3 +63,4 @@
 GRTAGS
 GSYMS
 GPATH
+gtags.files
=======================================
--- /branches/bleeding_edge/Makefile    Tue Apr  1 12:53:07 2014 UTC
+++ /branches/bleeding_edge/Makefile    Tue Apr  8 06:19:05 2014 UTC
@@ -409,7 +409,7 @@
        rm -rf $(OUTDIR)/native
        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.
 OUT_MAKEFILES = $(addprefix $(OUTDIR)/Makefile.,$(BUILDS))
@@ -467,6 +467,16 @@
        @cat $(DUMP_FILE).tmpl > $(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.
 # Remember to keep these in sync with the DEPS file.
 dependencies:

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to