Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(99)

Unified Diff: DEPS

Issue 2087593002: GN (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: refactoring: fewer templates, more comments Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« BUILD.gn ('K') | « BUILD.gn ('k') | build_overrides/build.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: DEPS
diff --git a/DEPS b/DEPS
index 9504771f1cabb9eedcac8aaeabf8032b60f9d06e..539b6a81befa680914ab1b17410a0c3a92e14c7c 100644
--- a/DEPS
+++ b/DEPS
@@ -3,6 +3,10 @@ use_relative_paths = True
# Dependencies on outside packages.
#
deps = {
+ "build": "https://chromium.googlesource.com/chromium/src/build.git@54b609cc558d57003c7a7d657edcc25a3879bf78",
+ "buildtools": "https://chromium.googlesource.com/chromium/buildtools.git@3780bc523aad1d68a5bd00e05c453a80b2ba0b35",
+ "tools/clang": "https://chromium.googlesource.com/chromium/src/tools/clang.git@ea64c667cd841b2c3268bd7dfd223269f3ea23ba",
+
"common": "https://skia.googlesource.com/common.git@c282fe0b6e392b14f88d647cbd86e1a3ef5498e0",
# There is some duplication here that might be worth cleaning up:
@@ -63,3 +67,54 @@ deps_os = {
}
recursedeps = [ "common" ]
+
+hooks = [
+ # Download GN.
+ {
+ 'name': 'gn_win',
+ 'action': [ 'download_from_google_storage',
+ '--quiet',
+ '--no_resume',
+ '--platform=win32',
+ '--no_auth',
+ '--bucket', 'chromium-gn',
+ '-s', 'buildtools/win/gn.exe.sha1',
+ ],
+ },
+ {
+ 'name': 'gn_mac',
+ 'pattern': '.',
+ 'action': [ 'download_from_google_storage',
+ '--quiet',
+ '--no_resume',
+ '--platform=darwin',
+ '--no_auth',
+ '--bucket', 'chromium-gn',
+ '-s', 'buildtools/mac/gn.sha1',
+ ],
+ },
+ {
+ 'name': 'gn_linux64',
+ 'pattern': '.',
+ 'action': [ 'download_from_google_storage',
+ '--quiet',
+ '--no_resume',
+ '--platform=linux*',
+ '--no_auth',
+ '--bucket', 'chromium-gn',
+ '-s', 'buildtools/linux64/gn.sha1',
+ ],
+ },
+ # Download Clang.
+ {
+ 'name': 'clang',
+ 'pattern': '.',
+ 'action': [ 'python', 'tools/clang/scripts/update.py', '--if-needed' ],
+ },
+ # Download Linux sysroot.
+ {
+ 'name': 'sysroot',
+ 'pattern': '.',
+ 'action': [ 'python', 'build/linux/sysroot_scripts/install-sysroot.py', '--arch=amd64' ],
+ },
+]
« BUILD.gn ('K') | « BUILD.gn ('k') | build_overrides/build.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698