Move third_party/drt_resources to a cloud download

BUG=
R=ricow@google.com

Review URL: https://codereview.chromium.org/1533693004 .
This commit is contained in:
William Hesse 2015-12-21 10:57:06 +01:00
parent a20bbc5f7f
commit d2fe7e356c
5 changed files with 23 additions and 8 deletions

22
DEPS
View file

@ -10,10 +10,6 @@ vars = {
# The svn location to pull out dependencies from
"third_party": "http://dart.googlecode.com/svn/third_party",
# Use this googlecode_url variable only if there is an internal mirror for it.
# If you do not know, use the full path while defining your new deps entry.
"googlecode_url": "http://%s.googlecode.com/svn",
# We use mirrors of all github repos to guarantee reproducibility and
# consistency between what users see and what the bots see.
# We need the mirrors to not have 100+ bots pulling github constantly.
@ -30,7 +26,6 @@ vars = {
"gyp_rev": "@6ee91ad8659871916f9aa840d42e1513befdf638",
"co19_rev": "@3ed795ea02e022ef19c77cf1b6095b7c8f5584d0",
"chromium_url": "http://src.chromium.org/svn",
"chromium_git": "https://chromium.googlesource.com",
# Revisions of /third_party/* dependencies.
@ -307,9 +302,6 @@ deps_os = {
Var("dart_root") + "/third_party/cygwin":
Var("chromium_git") + "/chromium/deps/cygwin.git" +
"@c89e446b273697fadf3a10ff1007a97c0b7de6df",
Var("dart_root") + "/third_party/drt_resources":
Var("chromium_url") +
"/trunk/src/webkit/tools/test_shell/resources@157099",
},
"unix": {
Var("dart_root") + "/third_party/clang":
@ -368,4 +360,18 @@ hooks = [
Var('dart_root') + "/tools/sdks",
],
},
{
"name": "drt_resources",
"pattern": ".",
"action": [
"download_from_google_storage",
"--no_auth",
"--no_resume",
"--bucket",
"dart-dependencies",
"--platform=win32",
"--directory",
Var('dart_root') + "/third_party/drt_resources",
],
},
]

View file

@ -6,4 +6,5 @@
!pkg
!pkg_tested
!boringssl
!drt_resources
!d8

1
third_party/drt_resources/.gitignore vendored Normal file
View file

@ -0,0 +1 @@
AHEM____.TTF

View file

@ -0,0 +1 @@
8cdc9e68594fbb6db8c7b4bff643ab2432b51db6

6
third_party/drt_resources/README.md vendored Normal file
View file

@ -0,0 +1,6 @@
# Content-shell resources
The layout tests of content_shell (formerly called DumpRenderTree, drt)
require a font called AHEM____.TTF on Windows. This resource is downloaded
from cloud storage, using the hash in AHEM____.TTF.sha1, by a hook
in the DEPS file, that is run by gclient sync or gclient runhooks.