Add hooks to get the GN binaries in buildtools.
This keeps the old hooks for the binaries in the old location. I'm going to keep both for abo0ut a week, then update depot tools to point to the new ones (otherwise people who run depot tools without syncing the repo past this point can't run GN from the command line).
BUG=
[email protected]
Review URL: https://codereview.chromium.org/340153002
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@278145 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/DEPS b/DEPS
index 46f9079..9f646dd 100644
--- a/DEPS
+++ b/DEPS
@@ -662,7 +662,7 @@
"--platform=win32",
"--no_auth",
"--bucket", "chromium-gn",
- "-s", "src/tools/gn/bin/win/gn.exe.sha1",
+ "-s", "src/buildtools/win/gn.exe.sha1",
],
},
{
@@ -673,11 +673,57 @@
"--platform=darwin",
"--no_auth",
"--bucket", "chromium-gn",
+ "-s", "src/buildtools/mac/gn.sha1",
+ ],
+ },
+ {
+ "name": "gn_linux32",
+ "pattern": ".",
+ "action": [ "download_from_google_storage",
+ "--no_resume",
+ "--platform=linux*",
+ "--no_auth",
+ "--bucket", "chromium-gn",
+ "-s", "src/buildtools/linux32/gn.sha1",
+ ],
+ },
+ {
+ "name": "gn_linux64",
+ "pattern": ".",
+ "action": [ "download_from_google_storage",
+ "--no_resume",
+ "--platform=linux*",
+ "--no_auth",
+ "--bucket", "chromium-gn",
+ "-s", "src/buildtools/linux64/gn.sha1",
+ ],
+ },
+ # Pull GN binaries (old location). TODO(brettw) remove this after a transition
+ # period while we move the binaries from tools/gn/bin to buildtools.
+ {
+ "name": "gn_old_win",
+ "pattern": ".",
+ "action": [ "download_from_google_storage",
+ "--no_resume",
+ "--platform=win32",
+ "--no_auth",
+ "--bucket", "chromium-gn",
+ "-s", "src/tools/gn/bin/win/gn.exe.sha1",
+ ],
+ },
+ {
+ "name": "gn_old_mac",
+ "pattern": ".",
+ "action": [ "download_from_google_storage",
+ "--no_resume",
+ "--platform=darwin",
+ "--no_auth",
+ "--bucket", "chromium-gn",
"-s", "src/tools/gn/bin/mac/gn.sha1",
],
},
{
- "name": "gn_linux",
+ "name": "gn_old_linux",
"pattern": ".",
"action": [ "download_from_google_storage",
"--no_resume",
@@ -688,7 +734,7 @@
],
},
{
- "name": "gn_linux32",
+ "name": "gn_old_linux32",
"pattern": ".",
"action": [ "download_from_google_storage",
"--no_resume",