blob: a216ca9f26616d2071f124837c7f9b9bbfaf9d7f [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':
9 Var('chromium_git') + '/chromium/src/build.git' + '@' + 'cdd940cfcab2d20be1e6fd49e3580e531a5e7305',
10
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
Jamie Madill37ee8a62016-12-13 15:18:58 -050030 'third_party/gyp':
Jamie Madillef97c612017-09-09 23:34:18 -040031 Var('chromium_git') + '/external/gyp' + '@' + 'c6f471687407bf28ddfc63f1a8f47aeb7bf54edc',
Jamie Madill3cd438d2015-03-17 11:25:27 -040032
Frank Henigmancc8e2732017-10-16 22:42:29 -040033 'third_party/libpng/src':
Jamie Madill37ee8a62016-12-13 15:18:58 -050034 Var('android_git') + '/platform/external/libpng' + '@' + '094e181e79a3d6c23fd005679025058b7df1ad6c',
35
36 'third_party/spirv-headers/src':
37 Var('android_git') + '/platform/external/shaderc/spirv-headers' + '@' + 'c470b68225a04965bf87d35e143ae92f831e8110',
38
39 'third_party/spirv-tools-angle/src':
40 Var('android_git') + '/platform/external/shaderc/spirv-tools' + '@' + '68c5f0436f1d4f1f137e608780190865d0b193ca',
41
42 'third_party/vulkan-validation-layers/src':
Jamie Madill4063e202017-03-23 11:38:22 -040043 Var('android_git') + '/platform/external/vulkan-validation-layers' + '@' + 'f47c534fee2f26f6b783209d56e0ade48e30eb8d',
Jamie Madill3cd438d2015-03-17 11:25:27 -040044
Corentin Walleze76f55f2016-10-25 06:44:45 -040045 'third_party/zlib':
Corentin Wallez50a8d0e2017-04-20 10:55:28 -040046 Var('chromium_git') + '/chromium/src/third_party/zlib' + '@' + '24ab14872e8e068ba08cc31cc3d43bcc6d5cb832',
Frank Henigmand0ef13a2017-08-28 22:53:24 -040047
48 'tools/clang':
49 Var('chromium_git') + '/chromium/src/tools/clang.git' + '@' + 'dce401419c4281e2aad72a9bafb885a9fb9aec59',
50
51 'tools/gyp':
52 Var('chromium_git') + '/external/gyp' + '@' + 'c6f471687407bf28ddfc63f1a8f47aeb7bf54edc',
53
alokp@chromium.org29d56fb2010-04-06 15:42:22 +000054}
55
alokp@chromium.org29d56fb2010-04-06 15:42:22 +000056hooks = [
Jamie Madill2fdd3da2015-07-20 10:14:54 -040057 # Pull clang-format binaries using checked-in hashes.
58 {
59 'name': 'clang_format_win',
60 'pattern': '.',
61 'action': [ 'download_from_google_storage',
62 '--no_resume',
63 '--platform=win32',
64 '--no_auth',
65 '--bucket', 'chromium-clang-format',
66 '-s', 'buildtools/win/clang-format.exe.sha1',
67 ],
68 },
69 {
70 'name': 'clang_format_mac',
71 'pattern': '.',
72 'action': [ 'download_from_google_storage',
73 '--no_resume',
74 '--platform=darwin',
75 '--no_auth',
76 '--bucket', 'chromium-clang-format',
77 '-s', 'buildtools/mac/clang-format.sha1',
78 ],
79 },
80 {
81 'name': 'clang_format_linux',
82 'pattern': '.',
83 'action': [ 'download_from_google_storage',
84 '--no_resume',
85 '--platform=linux*',
86 '--no_auth',
87 '--bucket', 'chromium-clang-format',
88 '-s', 'buildtools/linux64/clang-format.sha1',
89 ],
90 },
Corentin Wallez570f67d2016-02-05 15:28:24 -050091 # Pull GN binaries using checked-in hashes.
92 {
93 'name': 'gn_win',
94 'pattern': '.',
95 'action': [ 'download_from_google_storage',
96 '--no_resume',
97 '--platform=win32',
98 '--no_auth',
99 '--bucket', 'chromium-gn',
100 '-s', 'buildtools/win/gn.exe.sha1',
101 ],
102 },
103 {
104 'name': 'gn_mac',
105 'pattern': '.',
106 'action': [ 'download_from_google_storage',
107 '--no_resume',
108 '--platform=darwin',
109 '--no_auth',
110 '--bucket', 'chromium-gn',
111 '-s', 'buildtools/mac/gn.sha1',
112 ],
113 },
114 {
115 'name': 'gn_linux64',
116 'pattern': '.',
117 'action': [ 'download_from_google_storage',
118 '--no_resume',
119 '--platform=linux*',
120 '--no_auth',
121 '--bucket', 'chromium-gn',
122 '-s', 'buildtools/linux64/gn.sha1',
123 ],
124 },
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000125 {
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400126 # Pull clang if needed or requested via GYP_DEFINES.
127 # Note: On Win, this should run after win_toolchain, as it may use it.
128 'name': 'clang',
129 'pattern': '.',
130 'action': ['python', 'tools/clang/scripts/update.py', '--if-needed'],
131 },
132 {
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000133 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
Corentin Walleze76f55f2016-10-25 06:44:45 -0400134 'pattern': '.',
Corentin Wallez7f07caa2016-10-25 07:43:33 -0400135 'action': ['python', 'gyp/gyp_angle'],
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000136 },
137]
Jamie Madill20789312016-10-28 14:05:26 -0400138
139recursedeps = [
140 # buildtools provides clang_format.
141 'buildtools',
142]