Reviewers: danno,
Message:
PTAL.
Description:
Add "dependencies" target to top-level Makefile
Please review this at http://codereview.chromium.org/7739021/
SVN Base: https://v8.googlecode.com/svn/branches/bleeding_edge
Affected files:
M Makefile
Index: Makefile
diff --git a/Makefile b/Makefile
index
618bbef1d063956f2fcbc38535acc7778f5eb0e6..a88cf651831e89469dc0b4157bea8df3c7315f74
100644
--- a/Makefile
+++ b/Makefile
@@ -70,6 +70,7 @@ else
endif
# ----------------- available targets: --------------------
+# - "dependencies": pulls in external dependencies (currently: GYP)
# - any arch listed in ARCHES (see below)
# - any mode listed in MODES
# - every combination <arch>.<mode>, e.g. "ia32.release"
@@ -98,7 +99,7 @@ CHECKS = $(addsuffix .check,$(BUILDS))
# File where previously used GYPFLAGS are stored.
ENVFILE = $(OUTDIR)/environment
-.PHONY: all check clean $(ENVFILE).new \
+.PHONY: all check clean dependencies $(ENVFILE).new \
$(ARCHES) $(MODES) $(BUILDS) $(CHECKS)
$(addsuffix .clean,$(ARCHES)) \
$(addsuffix .check,$(MODES)) $(addsuffix .check,$(ARCHES))
@@ -170,3 +171,7 @@ $(ENVFILE): $(ENVFILE).new
# Stores current GYPFLAGS in a file.
$(ENVFILE).new:
@mkdir -p $(OUTDIR); echo "GYPFLAGS=$(GYPFLAGS)" > $(ENVFILE).new;
+
+# Dependencies.
+dependencies:
+ svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp
--revision 1026
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev