blob: b679b4f37b8eefb132377b451faf5f4973280562 [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
Frank Henigmand0ef13a2017-08-28 22:53:24 -04008 'build':
Jamie Madill138cf5e2017-10-23 22:52:12 -04009 Var('chromium_git') + '/chromium/src/build.git' + '@' + 'f2dd2d1ca74ded8339c6fd458dc9de9d98059f9e',
Frank Henigmand0ef13a2017-08-28 22:53:24 -040010
Jamie Madill37ee8a62016-12-13 15:18:58 -050011 'buildtools':
Frank Henigmand0ef13a2017-08-28 22:53:24 -040012 Var('chromium_git') + '/chromium/buildtools.git' + '@' + 'e043d81e9185a2445fa3ec3fc34a4f69b58d4969',
13
14 'testing':
15 Var('chromium_git') + '/chromium/src/testing' + '@' + 'd57c35d68320b906c43ad3f0ea5d84da3d06f45d',
alokp@chromium.org5cd9c602012-05-16 23:37:50 +000016
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
Frank Henigman6b076a02017-10-11 13:28:22 -040027 'third_party/googletest/src':
28 Var('chromium_git') + '/external/github.com/google/googletest.git' + '@' + '7f8fefabedf2965980585be8c2bff97458f28e0b',
29
Frank Henigmancc8e2732017-10-16 22:42:29 -040030 'third_party/libpng/src':
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',
Frank Henigmand0ef13a2017-08-28 22:53:24 -040044
45 'tools/clang':
46 Var('chromium_git') + '/chromium/src/tools/clang.git' + '@' + 'dce401419c4281e2aad72a9bafb885a9fb9aec59',
47
48 'tools/gyp':
49 Var('chromium_git') + '/external/gyp' + '@' + 'c6f471687407bf28ddfc63f1a8f47aeb7bf54edc',
50
alokp@chromium.org29d56fb2010-04-06 15:42:22 +000051}
52
alokp@chromium.org29d56fb2010-04-06 15:42:22 +000053hooks = [
Jamie Madill2fdd3da2015-07-20 10:14:54 -040054 # Pull clang-format binaries using checked-in hashes.
55 {
56 'name': 'clang_format_win',
57 'pattern': '.',
58 'action': [ 'download_from_google_storage',
59 '--no_resume',
60 '--platform=win32',
61 '--no_auth',
62 '--bucket', 'chromium-clang-format',
63 '-s', 'buildtools/win/clang-format.exe.sha1',
64 ],
65 },
66 {
67 'name': 'clang_format_mac',
68 'pattern': '.',
69 'action': [ 'download_from_google_storage',
70 '--no_resume',
71 '--platform=darwin',
72 '--no_auth',
73 '--bucket', 'chromium-clang-format',
74 '-s', 'buildtools/mac/clang-format.sha1',
75 ],
76 },
77 {
78 'name': 'clang_format_linux',
79 'pattern': '.',
80 'action': [ 'download_from_google_storage',
81 '--no_resume',
82 '--platform=linux*',
83 '--no_auth',
84 '--bucket', 'chromium-clang-format',
85 '-s', 'buildtools/linux64/clang-format.sha1',
86 ],
87 },
Corentin Wallez570f67d2016-02-05 15:28:24 -050088 # Pull GN binaries using checked-in hashes.
89 {
90 'name': 'gn_win',
91 'pattern': '.',
92 'action': [ 'download_from_google_storage',
93 '--no_resume',
94 '--platform=win32',
95 '--no_auth',
96 '--bucket', 'chromium-gn',
97 '-s', 'buildtools/win/gn.exe.sha1',
98 ],
99 },
100 {
101 'name': 'gn_mac',
102 'pattern': '.',
103 'action': [ 'download_from_google_storage',
104 '--no_resume',
105 '--platform=darwin',
106 '--no_auth',
107 '--bucket', 'chromium-gn',
108 '-s', 'buildtools/mac/gn.sha1',
109 ],
110 },
111 {
112 'name': 'gn_linux64',
113 'pattern': '.',
114 'action': [ 'download_from_google_storage',
115 '--no_resume',
116 '--platform=linux*',
117 '--no_auth',
118 '--bucket', 'chromium-gn',
119 '-s', 'buildtools/linux64/gn.sha1',
120 ],
121 },
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000122 {
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400123 # Pull clang if needed or requested via GYP_DEFINES.
124 # Note: On Win, this should run after win_toolchain, as it may use it.
125 'name': 'clang',
126 'pattern': '.',
127 'action': ['python', 'tools/clang/scripts/update.py', '--if-needed'],
128 },
Jamie Madill940c48b2017-10-23 23:25:17 -0400129
130 # Pull rc binaries using checked-in hashes.
131 {
132 'name': 'rc_win',
133 'pattern': '.',
134 'condition': 'checkout_win and host_os == "win"',
135 'action': [ 'download_from_google_storage',
136 '--no_resume',
137 '--no_auth',
138 '--bucket', 'chromium-browser-clang/rc',
139 '-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
140 ],
141 },
142
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400143 {
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000144 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
Corentin Walleze76f55f2016-10-25 06:44:45 -0400145 'pattern': '.',
Corentin Wallez7f07caa2016-10-25 07:43:33 -0400146 'action': ['python', 'gyp/gyp_angle'],
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000147 },
148]
Jamie Madill20789312016-10-28 14:05:26 -0400149
150recursedeps = [
151 # buildtools provides clang_format.
152 'buildtools',
153]