blob: 74f44c2be5f480ddd003f8239ccd0702490ea8a8 [file] [log] [blame]
Svet Ganove6986e12015-06-04 14:52:15 -07001use_relative_paths = True
2
3deps = {
4 "build/gyp":
5 "https://chromium.googlesource.com/external/gyp",
6
Philip P. Moltmannac3d58c2016-03-04 15:19:21 -08007 "buildtools":
8 "https://chromium.googlesource.com/chromium/buildtools.git@c2f259809d5ede3275df5ea0842f0431990c4f98",
9
Svet Ganove6986e12015-06-04 14:52:15 -070010 "testing/corpus":
Philip P. Moltmannac3d58c2016-03-04 15:19:21 -080011 "https://pdfium.googlesource.com/pdfium_tests@cc132ff8921c76ea69888cae4bb00e01dd1ce0b3",
Svet Ganove6986e12015-06-04 14:52:15 -070012
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
Philip P. Moltmannac3d58c2016-03-04 15:19:21 -080019 "tools/clang":
20 "https://chromium.googlesource.com/chromium/src/tools/clang",
21
Svet Ganove6986e12015-06-04 14:52:15 -070022 "v8":
Philip P. Moltmannac3d58c2016-03-04 15:19:21 -080023 "https://chromium.googlesource.com/v8/v8.git@ee1671b9afdb9eb23179d08cd3e573e520f45904",
24
25 "v8/base/trace_event/common":
26 "https://chromium.googlesource.com/chromium/src/base/trace_event/common.git@d83d44b13d07c2fd0a40101a7deef9b93b841732",
Svet Ganove6986e12015-06-04 14:52:15 -070027
28 "v8/third_party/icu":
Philip P. Moltmannac3d58c2016-03-04 15:19:21 -080029 "https://chromium.googlesource.com/chromium/deps/icu.git@8d342a405be5ae8aacb1e16f0bc31c3a4fbf26a2",
Svet Ganove6986e12015-06-04 14:52:15 -070030}
31
32deps_os = {
33 "win": {
34 "v8/third_party/cygwin":
35 "https://chromium.googlesource.com/chromium/deps/cygwin@c89e446b273697fadf3a10ff1007a97c0b7de6df",
36 },
37}
Philip P. Moltmannac3d58c2016-03-04 15:19:21 -080038
39include_rules = [
40 # Basic stuff that everyone can use.
41 # Note: public is not here because core cannot depend on public.
42 '+testing',
43 '+third_party/base',
44]
45
46hooks = [
47 {
48 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
49 'name': 'gyp',
50 'pattern': '.',
51 'action': ['python', 'pdfium/build/gyp_pdfium'],
52 },
53 # Pull clang-format binaries using checked-in hashes.
54 {
55 'name': 'clang_format_win',
56 'pattern': '.',
57 'action': [ 'download_from_google_storage',
58 '--no_resume',
59 '--platform=win32',
60 '--no_auth',
61 '--bucket', 'chromium-clang-format',
62 '-s', 'pdfium/buildtools/win/clang-format.exe.sha1',
63 ],
64 },
65 {
66 'name': 'clang_format_mac',
67 'pattern': '.',
68 'action': [ 'download_from_google_storage',
69 '--no_resume',
70 '--platform=darwin',
71 '--no_auth',
72 '--bucket', 'chromium-clang-format',
73 '-s', 'pdfium/buildtools/mac/clang-format.sha1',
74 ],
75 },
76 {
77 'name': 'clang_format_linux',
78 'pattern': '.',
79 'action': [ 'download_from_google_storage',
80 '--no_resume',
81 '--platform=linux*',
82 '--no_auth',
83 '--bucket', 'chromium-clang-format',
84 '-s', 'pdfium/buildtools/linux64/clang-format.sha1',
85 ],
86 },
87 {
88 # Pull clang if needed or requested via GYP_DEFINES.
89 'name': 'clang',
90 'pattern': '.',
91 'action': ['python', 'pdfium/tools/clang/scripts/update.py', '--if-needed'],
92 },
93]