Add constants for the path operators.
[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   "tools/clang":
20     "https://chromium.googlesource.com/chromium/src/tools/clang",
21
22   "v8":
23     "https://chromium.googlesource.com/v8/v8.git@2607e2b06b0be40a4c3f762c1a666a389dc28a99",
24
25   "v8/third_party/icu":
26     "https://chromium.googlesource.com/chromium/deps/icu46",
27 }
28
29 deps_os = {
30   "win": {
31     "v8/third_party/cygwin":
32       "https://chromium.googlesource.com/chromium/deps/cygwin@c89e446b273697fadf3a10ff1007a97c0b7de6df",
33   },
34 }
35
36 include_rules = [
37   '+testing',
38   '+third_party/base',
39 ]
40
41 hooks = [
42   {
43     # A change to a .gyp, .gypi, or to GYP itself should run the generator.
44     'name': 'gyp',
45     'pattern': '.',
46     'action': ['python', 'pdfium/build/gyp_pdfium'],
47   },
48   # Pull clang-format binaries using checked-in hashes.
49   {
50     'name': 'clang_format_win',
51     'pattern': '.',
52     'action': [ 'download_from_google_storage',
53                 '--no_resume',
54                 '--platform=win32',
55                 '--no_auth',
56                 '--bucket', 'chromium-clang-format',
57                 '-s', 'pdfium/buildtools/win/clang-format.exe.sha1',
58     ],
59   },
60   {
61     'name': 'clang_format_mac',
62     'pattern': '.',
63     'action': [ 'download_from_google_storage',
64                 '--no_resume',
65                 '--platform=darwin',
66                 '--no_auth',
67                 '--bucket', 'chromium-clang-format',
68                 '-s', 'pdfium/buildtools/mac/clang-format.sha1',
69     ],
70   },
71   {
72     'name': 'clang_format_linux',
73     'pattern': '.',
74     'action': [ 'download_from_google_storage',
75                 '--no_resume',
76                 '--platform=linux*',
77                 '--no_auth',
78                 '--bucket', 'chromium-clang-format',
79                 '-s', 'pdfium/buildtools/linux64/clang-format.sha1',
80     ],
81   },
82   {
83     # Pull clang if needed or requested via GYP_DEFINES.
84     'name': 'clang',
85     'pattern': '.',
86     'action': ['python', 'pdfium/tools/clang/scripts/update.py', '--if-needed'],
87   },
88 ]