blob: fed1f04f0a3d9eb1fb45421ab16f8d2576a6e3ae [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':
9 Var('chromium_git') + '/chromium/buildtools.git' + '@' + '39b1db2ab4aa4b2ccaa263c29bdf63e7c1ee28aa',
alokp@chromium.org5cd9c602012-05-16 23:37:50 +000010
Corentin Walleze76f55f2016-10-25 06:44:45 -040011 'testing/gmock':
12 Var('chromium_git') + '/external/googlemock.git' + '@' + '0421b6f358139f02e102c9c332ce19a33faf75be', # from svn revision 566
Jamie Madill3cd438d2015-03-17 11:25:27 -040013
Jamie Madill37ee8a62016-12-13 15:18:58 -050014 'testing/gtest':
15 Var('chromium_git') + '/external/github.com/google/googletest.git' + '@' + '6f8a66431cb592dad629028a50b3dd418a408c87',
16
Jamie Madill9e76f562015-10-02 08:57:14 -040017 # Cherry is a dEQP management GUI written in Go. We use it for viewing test results.
Corentin Walleze76f55f2016-10-25 06:44:45 -040018 'third_party/cherry':
Jamie Madill37ee8a62016-12-13 15:18:58 -050019 Var('android_git') + '/platform/external/cherry' + '@' + 'd2e26b4d864ec2a6757e7f1174e464949ca5bf73',
Jamie Madill9e76f562015-10-02 08:57:14 -040020
Corentin Walleze76f55f2016-10-25 06:44:45 -040021 'third_party/deqp/src':
Jamie Madill37ee8a62016-12-13 15:18:58 -050022 Var('android_git') + '/platform/external/deqp' + '@' + '455d82c60b096e7bd83b6a2f5ed70c61e4bfa759',
23
24 'third_party/glslang-angle/src':
25 Var('android_git') + '/platform/external/shaderc/glslang' + '@' + '1e275c8486325aaab34734ad9a650c0121c5efdb',
26
27 'third_party/gyp':
Jamie Madillc1ebf5b2017-03-22 11:10:51 -040028 Var('chromium_git') + '/external/gyp' + '@' + 'aae1e3efb50786df20e9572621fb746865f0df53',
Jamie Madill3cd438d2015-03-17 11:25:27 -040029
Corentin Walleze76f55f2016-10-25 06:44:45 -040030 'third_party/libpng':
Jamie Madill37ee8a62016-12-13 15:18:58 -050031 Var('android_git') + '/platform/external/libpng' + '@' + '094e181e79a3d6c23fd005679025058b7df1ad6c',
32
33 'third_party/spirv-headers/src':
34 Var('android_git') + '/platform/external/shaderc/spirv-headers' + '@' + 'c470b68225a04965bf87d35e143ae92f831e8110',
35
36 'third_party/spirv-tools-angle/src':
37 Var('android_git') + '/platform/external/shaderc/spirv-tools' + '@' + '68c5f0436f1d4f1f137e608780190865d0b193ca',
38
39 'third_party/vulkan-validation-layers/src':
Jamie Madill4063e202017-03-23 11:38:22 -040040 Var('android_git') + '/platform/external/vulkan-validation-layers' + '@' + 'f47c534fee2f26f6b783209d56e0ade48e30eb8d',
Jamie Madill3cd438d2015-03-17 11:25:27 -040041
Corentin Walleze76f55f2016-10-25 06:44:45 -040042 'third_party/zlib':
Corentin Wallez50a8d0e2017-04-20 10:55:28 -040043 Var('chromium_git') + '/chromium/src/third_party/zlib' + '@' + '24ab14872e8e068ba08cc31cc3d43bcc6d5cb832',
alokp@chromium.org29d56fb2010-04-06 15:42:22 +000044}
45
alokp@chromium.org29d56fb2010-04-06 15:42:22 +000046hooks = [
Jamie Madill2fdd3da2015-07-20 10:14:54 -040047 # Pull clang-format binaries using checked-in hashes.
48 {
49 'name': 'clang_format_win',
50 'pattern': '.',
51 'action': [ 'download_from_google_storage',
52 '--no_resume',
53 '--platform=win32',
54 '--no_auth',
55 '--bucket', 'chromium-clang-format',
56 '-s', 'buildtools/win/clang-format.exe.sha1',
57 ],
58 },
59 {
60 'name': 'clang_format_mac',
61 'pattern': '.',
62 'action': [ 'download_from_google_storage',
63 '--no_resume',
64 '--platform=darwin',
65 '--no_auth',
66 '--bucket', 'chromium-clang-format',
67 '-s', 'buildtools/mac/clang-format.sha1',
68 ],
69 },
70 {
71 'name': 'clang_format_linux',
72 'pattern': '.',
73 'action': [ 'download_from_google_storage',
74 '--no_resume',
75 '--platform=linux*',
76 '--no_auth',
77 '--bucket', 'chromium-clang-format',
78 '-s', 'buildtools/linux64/clang-format.sha1',
79 ],
80 },
Corentin Wallez570f67d2016-02-05 15:28:24 -050081 # Pull GN binaries using checked-in hashes.
82 {
83 'name': 'gn_win',
84 'pattern': '.',
85 'action': [ 'download_from_google_storage',
86 '--no_resume',
87 '--platform=win32',
88 '--no_auth',
89 '--bucket', 'chromium-gn',
90 '-s', 'buildtools/win/gn.exe.sha1',
91 ],
92 },
93 {
94 'name': 'gn_mac',
95 'pattern': '.',
96 'action': [ 'download_from_google_storage',
97 '--no_resume',
98 '--platform=darwin',
99 '--no_auth',
100 '--bucket', 'chromium-gn',
101 '-s', 'buildtools/mac/gn.sha1',
102 ],
103 },
104 {
105 'name': 'gn_linux64',
106 'pattern': '.',
107 'action': [ 'download_from_google_storage',
108 '--no_resume',
109 '--platform=linux*',
110 '--no_auth',
111 '--bucket', 'chromium-gn',
112 '-s', 'buildtools/linux64/gn.sha1',
113 ],
114 },
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000115 {
116 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
Corentin Walleze76f55f2016-10-25 06:44:45 -0400117 'pattern': '.',
Corentin Wallez7f07caa2016-10-25 07:43:33 -0400118 'action': ['python', 'gyp/gyp_angle'],
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000119 },
120]
Jamie Madill20789312016-10-28 14:05:26 -0400121
122recursedeps = [
123 # buildtools provides clang_format.
124 'buildtools',
125]