Revision: 22130
Author:   [email protected]
Date:     Tue Jul  1 15:03:30 2014 UTC
Log:      Introduce a builddeps make target

In contrast to "dependencies", this only pulls in dependencies required
for building. The dependencies make target will also pull in development
tools and requires depot_tools to be installed and in the path.

BUG=v8:3418
LOG=y
[email protected]

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

Modified:
 /branches/bleeding_edge/Makefile

=======================================
--- /branches/bleeding_edge/Makefile    Tue Jul  1 13:51:27 2014 UTC
+++ /branches/bleeding_edge/Makefile    Tue Jul  1 15:03:30 2014 UTC
@@ -202,7 +202,8 @@
 endif

 # ----------------- available targets: --------------------
-# - "dependencies": pulls in external dependencies (currently: GYP)
+# - "builddeps": pulls in external dependencies for building
+# - "dependencies": pulls in all external dependencies
 # - "grokdump": rebuilds heap constants lists used by grokdump
 # - any arch listed in ARCHES (see below)
 # - any mode listed in MODES
@@ -250,7 +251,7 @@
 # File where previously used GYPFLAGS are stored.
 ENVFILE = $(OUTDIR)/environment

-.PHONY: all check clean dependencies $(ENVFILE).new native \
+.PHONY: all check clean builddeps dependencies $(ENVFILE).new native \
         qc quickcheck $(QUICKCHECKS) \
$(addsuffix .quickcheck,$(MODES)) $(addsuffix .quickcheck,$(ARCHES)) \ $(ARCHES) $(MODES) $(BUILDS) $(CHECKS) $(addsuffix .clean,$(ARCHES)) \
@@ -461,13 +462,16 @@
 gtags.clean:
        rm -f gtags.files GPATH GRTAGS GSYMS GTAGS

-# Dependencies.
+# Dependencies. "builddeps" are dependencies required solely for building,
+# "dependencies" includes also dependencies required for development.
 # Remember to keep these in sync with the DEPS file.
-dependencies:
+builddeps:
        svn checkout --force http://gyp.googlecode.com/svn/trunk build/gyp \
            --revision 1831
        svn checkout --force \
            https://src.chromium.org/chrome/trunk/deps/third_party/icu46 \
            third_party/icu --revision 258359
+
+dependencies: builddeps
        # The spec is a copy of the hooks in v8's DEPS file.
gclient sync -r fb782d4369d5ae04f17a2fceef7de5a63e50f07b --spec="solutions = [{u'managed': False, u'name': u'buildtools', u'url': u'https://chromium.googlesource.com/chromium/buildtools.git', u'custom_deps': {}, u'custom_hooks': [{u'name': u'clang_format_win',u'pattern': u'.',u'action': [u'download_from_google_storage',u'--no_resume',u'--platform=win32',u'--no_auth',u'--bucket',u'chromium-clang-format',u'-s',u'buildtools/win/clang-format.exe.sha1']},{u'name': u'clang_format_mac',u'pattern': u'.',u'action': [u'download_from_google_storage',u'--no_resume',u'--platform=darwin',u'--no_auth',u'--bucket',u'chromium-clang-format',u'-s',u'buildtools/mac/clang-format.sha1']},{u'name': u'clang_format_linux',u'pattern': u'.',u'action': [u'download_from_google_storage',u'--no_resume',u'--platform=linux*',u'--no_auth',u'--bucket',u'chromium-clang-format',u'-s',u'buildtools/linux64/clang-format.sha1']}],u'deps_file': u'.DEPS.git', u'safesync_url': u''}]"

--
--
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