blob: ba1c0ac98d7bacc18c6d433c381d97d8c29a4409 [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':
Frank Henigman5b1180d2017-10-10 20:26:52 -04009 Var('chromium_git') + '/chromium/src/build.git' + '@' + '2f3b6e8ce9e783b2a09496d70eef2974506a41c8',
Frank Henigmand0ef13a2017-08-28 22:53:24 -040010
Jamie Madill37ee8a62016-12-13 15:18:58 -050011 'buildtools':
Jamie Madill4f407ce2017-11-21 11:52:12 -050012 Var('chromium_git') + '/chromium/buildtools.git' + '@' + '461b345a815c1c745ac0534a6a4bd52d123abe68',
Frank Henigmand0ef13a2017-08-28 22:53:24 -040013
14 'testing':
Jamie Madill4f407ce2017-11-21 11:52:12 -050015 Var('chromium_git') + '/chromium/src/testing' + '@' + '6dfa36ab2e5143fa2f7353e3af5d2935af2e61f7',
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 Madill4d146932017-11-15 16:31:43 -050019 Var('android_git') + '/platform/external/cherry' + '@' + '4f8fb08d33ca5ff05a1c638f04c85bbb8d8b52cc',
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':
Jamie Madill9af765d2017-12-13 15:02:23 -050025 Var('android_git') + '/platform/external/shaderc/glslang' + '@' + '2edde6665d9a56ead5ea0e55b4e64d9a803e6164',
Jamie Madill37ee8a62016-12-13 15:18:58 -050026
Frank Henigman6b076a02017-10-11 13:28:22 -040027 'third_party/googletest/src':
Jamie Madill4d146932017-11-15 16:31:43 -050028 Var('chromium_git') + '/external/github.com/google/googletest.git' + '@' + 'd175c8bf823e709d570772b038757fadf63bc632',
Frank Henigman6b076a02017-10-11 13:28:22 -040029
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':
Jamie Madill9af765d2017-12-13 15:02:23 -050034 Var('android_git') + '/platform/external/shaderc/spirv-headers' + '@' + '98b01515724c428d0f0a5d01deffcce0f5f5e61c',
Jamie Madill37ee8a62016-12-13 15:18:58 -050035
36 'third_party/spirv-tools-angle/src':
Jamie Madill9af765d2017-12-13 15:02:23 -050037 Var('android_git') + '/platform/external/shaderc/spirv-tools' + '@' + '9996173f363729b3a97309685dbd4d78547a63a7',
Jamie Madill37ee8a62016-12-13 15:18:58 -050038
39 'third_party/vulkan-validation-layers/src':
Jamie Madill9af765d2017-12-13 15:02:23 -050040 Var('android_git') + '/platform/external/vulkan-validation-layers' + '@' + '3f948b98f9bca965fecca1fb5b60f8787e959464',
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':
Jamie Madill4d146932017-11-15 16:31:43 -050046 Var('chromium_git') + '/chromium/src/tools/clang.git' + '@' + 'e70074db10b27867e6c873adc3ac7e5f9ee0ff6e',
Frank Henigmand0ef13a2017-08-28 22:53:24 -040047
48 'tools/gyp':
Jamie Madill4d146932017-11-15 16:31:43 -050049 Var('chromium_git') + '/external/gyp' + '@' + '5e2b3ddde7cda5eb6bc09a5546a76b00e49d888f',
alokp@chromium.org29d56fb2010-04-06 15:42:22 +000050}
51
alokp@chromium.org29d56fb2010-04-06 15:42:22 +000052hooks = [
Jamie Madill2fdd3da2015-07-20 10:14:54 -040053 # Pull clang-format binaries using checked-in hashes.
54 {
55 'name': 'clang_format_win',
56 'pattern': '.',
Jamie Madill4f407ce2017-11-21 11:52:12 -050057 'condition': 'host_os == "win"',
Jamie Madill2fdd3da2015-07-20 10:14:54 -040058 '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': '.',
Jamie Madill4f407ce2017-11-21 11:52:12 -050069 'condition': 'host_os == "mac"',
Jamie Madill2fdd3da2015-07-20 10:14:54 -040070 'action': [ 'download_from_google_storage',
71 '--no_resume',
72 '--platform=darwin',
73 '--no_auth',
74 '--bucket', 'chromium-clang-format',
75 '-s', 'buildtools/mac/clang-format.sha1',
76 ],
77 },
78 {
79 'name': 'clang_format_linux',
80 'pattern': '.',
Jamie Madill4f407ce2017-11-21 11:52:12 -050081 'condition': 'host_os == "linux"',
Jamie Madill2fdd3da2015-07-20 10:14:54 -040082 'action': [ 'download_from_google_storage',
83 '--no_resume',
84 '--platform=linux*',
85 '--no_auth',
86 '--bucket', 'chromium-clang-format',
87 '-s', 'buildtools/linux64/clang-format.sha1',
88 ],
89 },
Corentin Wallez570f67d2016-02-05 15:28:24 -050090 # Pull GN binaries using checked-in hashes.
91 {
92 'name': 'gn_win',
93 'pattern': '.',
Jamie Madill4f407ce2017-11-21 11:52:12 -050094 'condition': 'host_os == "win"',
Corentin Wallez570f67d2016-02-05 15:28:24 -050095 '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': '.',
Jamie Madill4f407ce2017-11-21 11:52:12 -0500106 'condition': 'host_os == "mac"',
Corentin Wallez570f67d2016-02-05 15:28:24 -0500107 'action': [ 'download_from_google_storage',
108 '--no_resume',
109 '--platform=darwin',
110 '--no_auth',
111 '--bucket', 'chromium-gn',
112 '-s', 'buildtools/mac/gn.sha1',
113 ],
114 },
115 {
116 'name': 'gn_linux64',
117 'pattern': '.',
Jamie Madill4f407ce2017-11-21 11:52:12 -0500118 'condition': 'host_os == "linux"',
Corentin Wallez570f67d2016-02-05 15:28:24 -0500119 'action': [ 'download_from_google_storage',
120 '--no_resume',
121 '--platform=linux*',
122 '--no_auth',
123 '--bucket', 'chromium-gn',
124 '-s', 'buildtools/linux64/gn.sha1',
125 ],
126 },
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000127 {
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400128 # Note: On Win, this should run after win_toolchain, as it may use it.
129 'name': 'clang',
130 'pattern': '.',
131 'action': ['python', 'tools/clang/scripts/update.py', '--if-needed'],
132 },
Jamie Madill940c48b2017-10-23 23:25:17 -0400133
134 # Pull rc binaries using checked-in hashes.
135 {
136 'name': 'rc_win',
137 'pattern': '.',
138 'condition': 'checkout_win and host_os == "win"',
139 'action': [ 'download_from_google_storage',
140 '--no_resume',
141 '--no_auth',
142 '--bucket', 'chromium-browser-clang/rc',
143 '-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
144 ],
145 },
146
Frank Henigmand0ef13a2017-08-28 22:53:24 -0400147 {
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000148 # A change to a .gyp, .gypi, or to GYP itself should run the generator.
Corentin Walleze76f55f2016-10-25 06:44:45 -0400149 'pattern': '.',
Corentin Wallez7f07caa2016-10-25 07:43:33 -0400150 'action': ['python', 'gyp/gyp_angle'],
alokp@chromium.org29d56fb2010-04-06 15:42:22 +0000151 },
152]
Jamie Madill20789312016-10-28 14:05:26 -0400153
154recursedeps = [
155 # buildtools provides clang_format.
156 'buildtools',
157]