diff --git a/DEPS b/DEPS index aa5c78c99d8..74fa4c9a213 100644 --- a/DEPS +++ b/DEPS @@ -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", + ], + }, ] diff --git a/third_party/.gitignore b/third_party/.gitignore index a55ad28de75..9a2aea4e2d3 100644 --- a/third_party/.gitignore +++ b/third_party/.gitignore @@ -6,4 +6,5 @@ !pkg !pkg_tested !boringssl +!drt_resources !d8 diff --git a/third_party/drt_resources/.gitignore b/third_party/drt_resources/.gitignore new file mode 100644 index 00000000000..79122363630 --- /dev/null +++ b/third_party/drt_resources/.gitignore @@ -0,0 +1 @@ +AHEM____.TTF diff --git a/third_party/drt_resources/AHEM____.TTF.sha1 b/third_party/drt_resources/AHEM____.TTF.sha1 new file mode 100644 index 00000000000..bba0dbc8702 --- /dev/null +++ b/third_party/drt_resources/AHEM____.TTF.sha1 @@ -0,0 +1 @@ +8cdc9e68594fbb6db8c7b4bff643ab2432b51db6 \ No newline at end of file diff --git a/third_party/drt_resources/README.md b/third_party/drt_resources/README.md new file mode 100644 index 00000000000..c981e5bdb27 --- /dev/null +++ b/third_party/drt_resources/README.md @@ -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.