blob: 29bec5dc330fa8c008766b674fedf32bf6f72a9a [file] [log] [blame]
Jamie Madill2fdd3da2015-07-20 10:14:54 -04001vars = {
Jamie Madill37ee8a62016-12-13 15:18:58 -05002 'android_git': 'https://android.googlesource.com',
Jamie Madill2fdd3da2015-07-20 10:14:54 -04003 'chromium_git': 'https://chromium.googlesource.com',
4}
5
alokp@chromium.org29d56fb2010-04-06 15:42:22 +00006deps = {
alokp@chromium.org416fcd32012-04-11 16:23:44 +00007
Jamie Madill37ee8a62016-12-13 15:18:58 -05008 'buildtools':
Jamie Madill9c9b40a2017-04-26 16:31:57 -04009 Var('chromium_git') + '/chromium/buildtools.git' + '@' + '98f00fa10dbad2cdbb2e297a66c3d6d5bc3994f3',
alokp@chromium.org5cd9c602012-05-16 23:37:50 +000010
Jamie Madill9e76f562015-10-02 08:57:14 -040011 # Cherry is a dEQP management GUI written in Go. We use it for viewing test results.
Corentin Walleze76f55f2016-10-25 06:44:45 -040012 'third_party/cherry':
Jamie Madill37ee8a62016-12-13 15:18:58 -050013 Var('android_git') + '/platform/external/cherry' + '@' + 'd2e26b4d864ec2a6757e7f1174e464949ca5bf73',
Jamie Madill9e76f562015-10-02 08:57:14 -040014
Corentin Walleze76f55f2016-10-25 06:44:45 -040015 'third_party/deqp/src':
Jamie Madill37ee8a62016-12-13 15:18:58 -050016 Var('android_git') + '/platform/external/deqp' + '@' + '455d82c60b096e7bd83b6a2f5ed70c61e4bfa759',
17
18 'third_party/glslang-angle/src':
19 Var('android_git') + '/platform/external/shaderc/glslang' + '@' + '1e275c8486325aaab34734ad9a650c0121c5efdb',
20
Frank Henigman6b076a02017-10-11 13:28:22 -040021 'third_party/googletest/src':
22 Var('chromium_git') + '/external/github.com/google/googletest.git' + '@' + '7f8fefabedf2965980585be8c2bff97458f28e0b',
23
Jamie Madill37ee8a62016-12-13 15:18:58 -050024 'third_party/gyp':
Jamie Madillef97c612017-09-09 23:34:18 -040025 Var('chromium_git') + '/external/gyp' + '@' + 'c6f471687407bf28ddfc63f1a8f47aeb7bf54edc',
Jamie Madill3cd438d2015-03-17 11:25:27 -040026
Frank Henigmancc8e2732017-10-16 22:42:29 -040027 'third_party/libpng/src':
Jamie Madill37ee8a62016-12-13 15:18:58 -050028 Var('android_git') + '/platform/external/libpng' + '@' + '094e181e79a3d6c23fd005679025058b7df1ad6c',
29
30 'third_party/spirv-headers/src':
31 Var('android_git') + '/platform/external/shaderc/spirv-headers' + '@' + 'c470b68225a04965bf87d35e143ae92f831e8110',
32
33 'third_party/spirv-tools-angle/src':
34 Var('android_git') + '/platform/external/shaderc/spirv-tools' + '@' + '68c5f0436f1d4f1f137e608780190865d0b193ca',
35
36 'third_party/vulkan-validation-layers/src':
Jamie Madill4063e202017-03-23 11:38:22 -040037 Var('android_git') + '/platform/external/vulkan-validation-layers' + '@' + 'f47c534fee2f26f6b783209d56e0ade48e30eb8d',
Jamie Madill3cd438d2015-03-17 11:25:27 -040038
Corentin Walleze76f55f2016-10-25 06:44:45 -040039 'third_party/zlib':
Corentin Wallez50a8d0e2017-04-20 10:55:28 -040040 Var('chromium_git') + '/chromium/src/third_party/zlib' + '@' + '24ab14872e8e068ba08cc31cc3d43bcc6d5cb832',
alokp@chromium.org29d56fb2010-04-06 15:42:22 +000041}
42
alokp@chromium.org29d56fb2010-04-06 15:42:22 +000043hooks = [
Jamie Madill2fdd3da2015-07-20 10:14:54 -040044 # Pull clang-format binaries using checked-in hashes.
45 {
46 'name': 'clang_format_win',
47 'pattern': '.',
48 'action': [ 'download_from_google_storage',
49 '--no_resume',
50 '--platform=win32',
51 '--no_auth',
52 '--bucket', 'chromium-clang-format',
53 '-s', 'buildtools/win/clang-format.exe.sha1',
54 ],
55 },
56 {
57 'name': 'clang_format_mac',
58 'pattern': '.',
59 'action': [ 'download_from_google_storage',
60 '--no_resume',
61 '--platform=darwin',
62 '--no_auth',
63 '--bucket', 'chromium-clang-format',
64 '-s', 'buildtools/mac/clang-format.sha1',
65 ],
66 },
67 {
68 'name': 'clang_format_linux',
69 'pattern': '.',
70 'action': [ 'download_from_google_storage',
71 '--no_resume',
72 '--platform=linux*',
73 '--no_auth',
74 '--bucket', 'chromium-clang-format',
75 '-s', 'buildtools/linux64/clang-format.sha1',
76 ],
77 },
Corentin Wallez570f67d2016-02-05 15:28:24 -050078 # Pull GN binaries using checked-in hashes.
79 {
80 'name': 'gn_win',
81 'pattern': '.',
82 'action': [ 'download_from_google_storage',
83 '--no_resume',
84 '--platform=win32',
85 '--no_auth',
86 '--bucket', 'chromium-gn',
87 '-s', 'buildtools/win/gn.exe.sha1',
88 ],
89 },
90 {
91 'name': 'gn_mac',
92 'pattern': '.',
93 'action': [ 'download_from_google_storage',
94 '--no_resume',
95 '--platform=darwin',
96 '--no_auth',
97 '--bucket', 'chromium-gn',
98 '-s', 'buildtools/mac/gn.sha1',
99 ],
100 },
101 {
102 'name': 'gn_linux64',
103 'pattern': '.',
104 'action': [ 'download_from_google_storage',
105 '--no_resume',
106 '--platform=linux*',
107 '--no_auth',
108 '--bucket', 'chromium-gn',
109 '-s', 'buildtools/linux64/gn.sha1',
110 ],
111 },
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000112 {
113 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
Corentin Walleze76f55f2016-10-25 06:44:45 -0400114 'pattern': '.',
Corentin Wallez7f07caa2016-10-25 07:43:33 -0400115 'action': ['python', 'gyp/gyp_angle'],
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000116 },
117]
Jamie Madill20789312016-10-28 14:05:26 -0400118
119recursedeps = [
120 # buildtools provides clang_format.
121 'buildtools',
122]