Consolidate test support code.
[pdfium.git] / DEPS
1 use_relative_paths = True
2
3 deps = {
4   "build/gyp":
5     "https://chromium.googlesource.com/external/gyp",
6
7   "buildtools":
8     "https://chromium.googlesource.com/chromium/buildtools.git@46ce8cb60364e9e0b21a81136c7debdddfd063a8",
9
10   "testing/corpus":
11      "https://pdfium.googlesource.com/pdfium_tests@2ddcfbd23aa7ef0a7424ef24a3fac7acdfb39ee5",
12
13   "testing/gmock":
14      "https://chromium.googlesource.com/external/googlemock.git@29763965ab52f24565299976b936d1265cb6a271",
15
16   "testing/gtest":
17      "https://chromium.googlesource.com/external/googletest.git@8245545b6dc9c4703e6496d1efd19e975ad2b038",
18
19   "v8":
20     "https://chromium.googlesource.com/v8/v8.git@d3f97a972ffe37989fed2794d07e33f7c25f651c",
21
22   "v8/third_party/icu":
23     "https://chromium.googlesource.com/chromium/deps/icu46",
24 }
25
26 deps_os = {
27   "win": {
28     "v8/third_party/cygwin":
29       "https://chromium.googlesource.com/chromium/deps/cygwin@c89e446b273697fadf3a10ff1007a97c0b7de6df",
30   },
31 }
32
33 include_rules = [
34   '+testing',
35   '+third_party/base',
36 ]
37
38 hooks = [
39   {
40     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
41     'name': 'gyp',
42     'pattern': '.',
43     'action': ['python', 'build/gyp_pdfium'],
44   },
45   # Pull clang-format binaries using checked-in hashes.
46   {
47     'name': 'clang_format_win',
48     'pattern': '.',
49     'action': [ 'download_from_google_storage',
50                 '--no_resume',
51                 '--platform=win32',
52                 '--no_auth',
53                 '--bucket', 'chromium-clang-format',
54                 '-s', 'buildtools/win/clang-format.exe.sha1',
55     ],
56   },
57   {
58     'name': 'clang_format_mac',
59     'pattern': '.',
60     'action': [ 'download_from_google_storage',
61                 '--no_resume',
62                 '--platform=darwin',
63                 '--no_auth',
64                 '--bucket', 'chromium-clang-format',
65                 '-s', 'buildtools/mac/clang-format.sha1',
66     ],
67   },
68   {
69     'name': 'clang_format_linux',
70     'pattern': '.',
71     'action': [ 'download_from_google_storage',
72                 '--no_resume',
73                 '--platform=linux*',
74                 '--no_auth',
75                 '--bucket', 'chromium-clang-format',
76                 '-s', 'buildtools/linux64/clang-format.sha1',
77     ],
78   },
79 ]