Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 1 | vars = { |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 2 | 'android_git': 'https://android.googlesource.com', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 3 | 'chromium_git': 'https://chromium.googlesource.com', |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 4 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 5 | # This variable is set on the Chrome infra for compatiblity with gclient. |
| 6 | 'angle_root': '.', |
| 7 | |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 8 | # This variable is overrided in Chromium's DEPS file. |
| 9 | 'build_with_chromium': False, |
| 10 | |
| 11 | # Current revision of dEQP. |
Jamie Madill | 915d406 | 2019-01-28 18:15:43 -0500 | [diff] [blame] | 12 | 'deqp_revision': '66a49e0a43f7af654ee1de8a3b1bcaf6c0d14aa4', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 13 | |
| 14 | # Current revision of glslang, the Khronos SPIRV compiler. |
Shahbaz Youssefi | 3805122 | 2019-02-13 21:21:13 +0000 | [diff] [blame] | 15 | 'glslang_revision': 'de3b8e3bf3893a40a1d9c3b0ed4de750e436e30f', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 16 | |
| 17 | # Current revision fo the SPIRV-Headers Vulkan support library. |
Shahbaz Youssefi | 3805122 | 2019-02-13 21:21:13 +0000 | [diff] [blame] | 18 | 'spirv_headers_revision': '79b6681aadcb53c27d1052e5f8a0e82a981dbf2f', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 19 | |
| 20 | # Current revision of SPIRV-Tools for Vulkan. |
Jamie Madill | cf9b285 | 2019-02-13 09:15:26 -0500 | [diff] [blame^] | 21 | 'spirv_tools_revision': 'fde69dcd80cc1ca548300702adf01eeb25441f3e', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 22 | |
Tobin Ehlis | b971f49 | 2018-05-24 10:56:17 -0600 | [diff] [blame] | 23 | # Current revision of Khronos Vulkan-Headers. |
Shahbaz Youssefi | 3805122 | 2019-02-13 21:21:13 +0000 | [diff] [blame] | 24 | 'vulkan_headers_revision': 'b65941cc4b2b43b74de00534d110b581c52c394b', |
Tobin Ehlis | b971f49 | 2018-05-24 10:56:17 -0600 | [diff] [blame] | 25 | |
| 26 | # Current revision of Khronos Vulkan-Loader. |
Shahbaz Youssefi | 3805122 | 2019-02-13 21:21:13 +0000 | [diff] [blame] | 27 | 'vulkan_loader_revision': '2aa6dcc10189f7700824bc5e21120beeff013c3a', |
Tobin Ehlis | b971f49 | 2018-05-24 10:56:17 -0600 | [diff] [blame] | 28 | |
| 29 | # Current revision of Khronos Vulkan-Tools. |
Shahbaz Youssefi | 3805122 | 2019-02-13 21:21:13 +0000 | [diff] [blame] | 30 | 'vulkan_tools_revision': '2e8d601de618eddf2bab8597fd140b2824a060b2', |
Tobin Ehlis | b971f49 | 2018-05-24 10:56:17 -0600 | [diff] [blame] | 31 | |
| 32 | # Current revision of Khronos Vulkan-ValidationLayers. |
Shahbaz Youssefi | 3805122 | 2019-02-13 21:21:13 +0000 | [diff] [blame] | 33 | 'vulkan_validation_revision': '0fa2823fa693cc22afaa6e6c6d34aadb97104a2d', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 34 | } |
| 35 | |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 36 | deps = { |
alokp@chromium.org | 416fcd3 | 2012-04-11 16:23:44 +0000 | [diff] [blame] | 37 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 38 | '{angle_root}/build': { |
Michael Spang | 229fc83 | 2019-01-21 18:09:15 -0500 | [diff] [blame] | 39 | 'url': '{chromium_git}/chromium/src/build.git@9a53be87ebb636c35f2ed9772e5deaeb350d790b', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 40 | 'condition': 'not build_with_chromium', |
| 41 | }, |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 42 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 43 | '{angle_root}/buildtools': { |
Michael Spang | 229fc83 | 2019-01-21 18:09:15 -0500 | [diff] [blame] | 44 | 'url': '{chromium_git}/chromium/buildtools.git@6fbda1b24c1893a893b17aa219b765b9e7c801d8', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 45 | 'condition': 'not build_with_chromium', |
| 46 | }, |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 47 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 48 | '{angle_root}/testing': { |
Jamie Madill | 1c6b26a | 2018-11-18 17:03:19 -0500 | [diff] [blame] | 49 | 'url': '{chromium_git}/chromium/src/testing@7bdda3c6577f21fd0ec986a0383ecfce28f5d761', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 50 | 'condition': 'not build_with_chromium', |
| 51 | }, |
alokp@chromium.org | 5cd9c60 | 2012-05-16 23:37:50 +0000 | [diff] [blame] | 52 | |
Jamie Madill | 9e76f56 | 2015-10-02 08:57:14 -0400 | [diff] [blame] | 53 | # Cherry is a dEQP management GUI written in Go. We use it for viewing test results. |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 54 | '{angle_root}/third_party/cherry': { |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 55 | 'url': '{android_git}/platform/external/cherry@4f8fb08d33ca5ff05a1c638f04c85bbb8d8b52cc', |
| 56 | 'condition': 'not build_with_chromium', |
| 57 | }, |
Jamie Madill | 9e76f56 | 2015-10-02 08:57:14 -0400 | [diff] [blame] | 58 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 59 | '{angle_root}/third_party/deqp/src': { |
Jamie Madill | 915d406 | 2019-01-28 18:15:43 -0500 | [diff] [blame] | 60 | 'url': '{chromium_git}/external/deqp@{deqp_revision}', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 61 | }, |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 62 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 63 | '{angle_root}/third_party/glslang/src': { |
Tobin Ehlis | 317a9eb | 2018-11-29 12:51:46 -0700 | [diff] [blame] | 64 | 'url': '{chromium_git}/external/github.com/KhronosGroup/glslang@{glslang_revision}', |
Jamie Madill | 0cb3b0f | 2019-01-28 09:55:20 -0500 | [diff] [blame] | 65 | 'condition': 'not build_with_chromium', |
| 66 | }, |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 67 | |
Jamie Madill | cf9b285 | 2019-02-13 09:15:26 -0500 | [diff] [blame^] | 68 | '{angle_root}/third_party/googletest': { |
| 69 | 'url': '{chromium_git}/chromium/src/third_party/googletest@660425b1c5ca04559ab7e50c7572b5b771acca1c', |
| 70 | 'condition': 'not build_with_chromium', |
| 71 | }, |
| 72 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 73 | '{angle_root}/third_party/googletest/src': { |
Jamie Madill | cf9b285 | 2019-02-13 09:15:26 -0500 | [diff] [blame^] | 74 | 'url': '{chromium_git}/external/github.com/google/googletest.git@7203f37f57e4fef0d77670098aabc186309eb874', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 75 | 'condition': 'not build_with_chromium', |
| 76 | }, |
Frank Henigman | 6b076a0 | 2017-10-11 13:28:22 -0400 | [diff] [blame] | 77 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 78 | '{angle_root}/third_party/libpng/src': { |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 79 | 'url': '{android_git}/platform/external/libpng@094e181e79a3d6c23fd005679025058b7df1ad6c', |
| 80 | 'condition': 'not build_with_chromium', |
| 81 | }, |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 82 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 83 | '{angle_root}/third_party/jsoncpp': { |
Jamie Madill | 7ada46c | 2018-09-06 10:58:26 -0400 | [diff] [blame] | 84 | 'url': '{chromium_git}/chromium/src/third_party/jsoncpp@fd0ac8ce63a47e99b71a58f1489136fbb19c9137', |
Jamie Madill | 0cb3b0f | 2019-01-28 09:55:20 -0500 | [diff] [blame] | 85 | 'condition': 'not build_with_chromium', |
| 86 | }, |
Jamie Madill | 7ada46c | 2018-09-06 10:58:26 -0400 | [diff] [blame] | 87 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 88 | '{angle_root}/third_party/jsoncpp/source': { |
Jamie Madill | 0cb3b0f | 2019-01-28 09:55:20 -0500 | [diff] [blame] | 89 | 'url' : '{chromium_git}/external/github.com/open-source-parsers/jsoncpp@f572e8e42e22cfcf5ab0aea26574f408943edfa4', |
| 90 | 'condition': 'not build_with_chromium', |
| 91 | }, |
Tobin Ehlis | 5fdc38c | 2018-08-28 09:20:57 -0600 | [diff] [blame] | 92 | |
Michael Spang | 229fc83 | 2019-01-21 18:09:15 -0500 | [diff] [blame] | 93 | '{angle_root}/third_party/qemu-linux-x64': { |
| 94 | 'packages': [ |
| 95 | { |
| 96 | 'package': 'fuchsia/qemu/linux-amd64', |
| 97 | 'version': '9cc486c5b18a0be515c39a280ca9a309c54cf994' |
| 98 | }, |
| 99 | ], |
| 100 | 'condition': 'not build_with_chromium and (host_os == "linux" and checkout_fuchsia)', |
| 101 | 'dep_type': 'cipd', |
| 102 | }, |
| 103 | |
| 104 | '{angle_root}/third_party/qemu-mac-x64': { |
| 105 | 'packages': [ |
| 106 | { |
| 107 | 'package': 'fuchsia/qemu/mac-amd64', |
| 108 | 'version': '2d3358ae9a569b2d4a474f498b32b202a152134f' |
| 109 | }, |
| 110 | ], |
| 111 | 'condition': 'not build_with_chromium and (host_os == "mac" and checkout_fuchsia)', |
| 112 | 'dep_type': 'cipd', |
| 113 | }, |
| 114 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 115 | '{angle_root}/third_party/spirv-headers/src': { |
Jamie Madill | 0cb3b0f | 2019-01-28 09:55:20 -0500 | [diff] [blame] | 116 | 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@{spirv_headers_revision}', |
Corentin Wallez | a883dd0 | 2018-08-03 18:11:46 +0200 | [diff] [blame] | 117 | 'condition': 'not build_with_chromium', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 118 | }, |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 119 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 120 | '{angle_root}/third_party/spirv-tools/src': { |
Jamie Madill | 0cb3b0f | 2019-01-28 09:55:20 -0500 | [diff] [blame] | 121 | 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Tools@{spirv_tools_revision}', |
Corentin Wallez | a883dd0 | 2018-08-03 18:11:46 +0200 | [diff] [blame] | 122 | 'condition': 'not build_with_chromium', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 123 | }, |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 124 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 125 | '{angle_root}/third_party/vulkan-headers/src': { |
Tobin Ehlis | b971f49 | 2018-05-24 10:56:17 -0600 | [diff] [blame] | 126 | 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Headers@{vulkan_headers_revision}', |
| 127 | }, |
| 128 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 129 | '{angle_root}/third_party/vulkan-loader/src': { |
Tobin Ehlis | b971f49 | 2018-05-24 10:56:17 -0600 | [diff] [blame] | 130 | 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Loader@{vulkan_loader_revision}', |
| 131 | }, |
| 132 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 133 | '{angle_root}/third_party/vulkan-tools/src': { |
Tobin Ehlis | b971f49 | 2018-05-24 10:56:17 -0600 | [diff] [blame] | 134 | 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Tools@{vulkan_tools_revision}', |
| 135 | }, |
| 136 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 137 | '{angle_root}/third_party/vulkan-validation-layers/src': { |
Tobin Ehlis | b971f49 | 2018-05-24 10:56:17 -0600 | [diff] [blame] | 138 | 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-ValidationLayers@{vulkan_validation_revision}', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 139 | }, |
Jamie Madill | 3cd438d | 2015-03-17 11:25:27 -0400 | [diff] [blame] | 140 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 141 | '{angle_root}/third_party/zlib': { |
Jamie Madill | 720ca44 | 2018-12-17 14:04:10 -0500 | [diff] [blame] | 142 | 'url': '{chromium_git}/chromium/src/third_party/zlib@f95aeb0fa7f136ef4a457a6d9ba6f3c2701a444b', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 143 | 'condition': 'not build_with_chromium', |
| 144 | }, |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 145 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 146 | '{angle_root}/tools/clang': { |
Jamie Madill | c09ae15 | 2019-02-01 14:16:32 -0500 | [diff] [blame] | 147 | 'url': '{chromium_git}/chromium/src/tools/clang.git@3114fbc11f9644c54dd0a4cdbfa867bac50ff983', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 148 | 'condition': 'not build_with_chromium', |
| 149 | }, |
Michael Spang | 229fc83 | 2019-01-21 18:09:15 -0500 | [diff] [blame] | 150 | |
| 151 | '{angle_root}/third_party/fuchsia-sdk': { |
| 152 | 'url': '{chromium_git}/chromium/src/third_party/fuchsia-sdk.git@8e8db13b538ecb251e5ce9d5c781fc142f9752fd', |
| 153 | 'condition': 'checkout_fuchsia and not build_with_chromium', |
| 154 | }, |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 155 | } |
| 156 | |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 157 | hooks = [ |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 158 | # Pull clang-format binaries using checked-in hashes. |
| 159 | { |
| 160 | 'name': 'clang_format_win', |
| 161 | 'pattern': '.', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 162 | 'condition': 'host_os == "win" and not build_with_chromium', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 163 | 'action': [ 'download_from_google_storage', |
| 164 | '--no_resume', |
| 165 | '--platform=win32', |
| 166 | '--no_auth', |
| 167 | '--bucket', 'chromium-clang-format', |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 168 | '-s', '{angle_root}/buildtools/win/clang-format.exe.sha1', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 169 | ], |
| 170 | }, |
| 171 | { |
| 172 | 'name': 'clang_format_mac', |
| 173 | 'pattern': '.', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 174 | 'condition': 'host_os == "mac" and not build_with_chromium', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 175 | 'action': [ 'download_from_google_storage', |
| 176 | '--no_resume', |
| 177 | '--platform=darwin', |
| 178 | '--no_auth', |
| 179 | '--bucket', 'chromium-clang-format', |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 180 | '-s', '{angle_root}/buildtools/mac/clang-format.sha1', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 181 | ], |
| 182 | }, |
| 183 | { |
| 184 | 'name': 'clang_format_linux', |
| 185 | 'pattern': '.', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 186 | 'condition': 'host_os == "linux" and not build_with_chromium', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 187 | 'action': [ 'download_from_google_storage', |
| 188 | '--no_resume', |
| 189 | '--platform=linux*', |
| 190 | '--no_auth', |
| 191 | '--bucket', 'chromium-clang-format', |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 192 | '-s', '{angle_root}/buildtools/linux64/clang-format.sha1', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 193 | ], |
| 194 | }, |
Corentin Wallez | 570f67d | 2016-02-05 15:28:24 -0500 | [diff] [blame] | 195 | # Pull GN binaries using checked-in hashes. |
| 196 | { |
| 197 | 'name': 'gn_win', |
| 198 | 'pattern': '.', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 199 | 'condition': 'host_os == "win" and not build_with_chromium', |
Corentin Wallez | 570f67d | 2016-02-05 15:28:24 -0500 | [diff] [blame] | 200 | 'action': [ 'download_from_google_storage', |
| 201 | '--no_resume', |
| 202 | '--platform=win32', |
| 203 | '--no_auth', |
| 204 | '--bucket', 'chromium-gn', |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 205 | '-s', '{angle_root}/buildtools/win/gn.exe.sha1', |
Corentin Wallez | 570f67d | 2016-02-05 15:28:24 -0500 | [diff] [blame] | 206 | ], |
| 207 | }, |
| 208 | { |
| 209 | 'name': 'gn_mac', |
| 210 | 'pattern': '.', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 211 | 'condition': 'host_os == "mac" and not build_with_chromium', |
Corentin Wallez | 570f67d | 2016-02-05 15:28:24 -0500 | [diff] [blame] | 212 | 'action': [ 'download_from_google_storage', |
| 213 | '--no_resume', |
| 214 | '--platform=darwin', |
| 215 | '--no_auth', |
| 216 | '--bucket', 'chromium-gn', |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 217 | '-s', '{angle_root}/buildtools/mac/gn.sha1', |
Corentin Wallez | 570f67d | 2016-02-05 15:28:24 -0500 | [diff] [blame] | 218 | ], |
| 219 | }, |
| 220 | { |
| 221 | 'name': 'gn_linux64', |
| 222 | 'pattern': '.', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 223 | 'condition': 'host_os == "linux" and not build_with_chromium', |
Corentin Wallez | 570f67d | 2016-02-05 15:28:24 -0500 | [diff] [blame] | 224 | 'action': [ 'download_from_google_storage', |
| 225 | '--no_resume', |
| 226 | '--platform=linux*', |
| 227 | '--no_auth', |
| 228 | '--bucket', 'chromium-gn', |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 229 | '-s', '{angle_root}/buildtools/linux64/gn.sha1', |
Corentin Wallez | 570f67d | 2016-02-05 15:28:24 -0500 | [diff] [blame] | 230 | ], |
| 231 | }, |
Tobin Ehlis | 9d4277b | 2018-05-21 16:22:22 -0600 | [diff] [blame] | 232 | { |
| 233 | 'name': 'sysroot_x86', |
| 234 | 'pattern': '.', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 235 | 'condition': 'checkout_linux and ((checkout_x86 or checkout_x64) and not build_with_chromium)', |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 236 | 'action': ['python', '{angle_root}/build/linux/sysroot_scripts/install-sysroot.py', |
Tobin Ehlis | 9d4277b | 2018-05-21 16:22:22 -0600 | [diff] [blame] | 237 | '--arch=x86'], |
| 238 | }, |
| 239 | { |
| 240 | 'name': 'sysroot_x64', |
| 241 | 'pattern': '.', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 242 | 'condition': 'checkout_linux and (checkout_x64 and not build_with_chromium)', |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 243 | 'action': ['python', '{angle_root}/build/linux/sysroot_scripts/install-sysroot.py', |
Tobin Ehlis | 9d4277b | 2018-05-21 16:22:22 -0600 | [diff] [blame] | 244 | '--arch=x64'], |
| 245 | }, |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 246 | { |
| 247 | # Update the Windows toolchain if necessary. Must run before 'clang' below. |
| 248 | 'name': 'win_toolchain', |
| 249 | 'pattern': '.', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 250 | 'condition': 'checkout_win and not build_with_chromium', |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 251 | 'action': ['python', '{angle_root}/build/vs_toolchain.py', 'update', '--force'], |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 252 | }, |
| 253 | |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 254 | { |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 255 | # Note: On Win, this should run after win_toolchain, as it may use it. |
| 256 | 'name': 'clang', |
| 257 | 'pattern': '.', |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 258 | 'action': ['python', '{angle_root}/tools/clang/scripts/update.py'], |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 259 | 'condition': 'not build_with_chromium', |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 260 | }, |
Jamie Madill | 940c48b | 2017-10-23 23:25:17 -0400 | [diff] [blame] | 261 | |
Shahbaz Youssefi | 957e9b8 | 2018-10-05 11:00:50 -0400 | [diff] [blame] | 262 | { |
| 263 | # Update LASTCHANGE. |
| 264 | 'name': 'lastchange', |
| 265 | 'pattern': '.', |
| 266 | 'condition': 'not build_with_chromium', |
| 267 | 'action': ['python', '{angle_root}/build/util/lastchange.py', |
| 268 | '-o', '{angle_root}/build/util/LASTCHANGE'], |
| 269 | }, |
| 270 | |
Jamie Madill | 940c48b | 2017-10-23 23:25:17 -0400 | [diff] [blame] | 271 | # Pull rc binaries using checked-in hashes. |
| 272 | { |
| 273 | 'name': 'rc_win', |
| 274 | 'pattern': '.', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 275 | 'condition': 'checkout_win and (host_os == "win" and not build_with_chromium)', |
Jamie Madill | 940c48b | 2017-10-23 23:25:17 -0400 | [diff] [blame] | 276 | 'action': [ 'download_from_google_storage', |
| 277 | '--no_resume', |
| 278 | '--no_auth', |
| 279 | '--bucket', 'chromium-browser-clang/rc', |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 280 | '-s', '{angle_root}/build/toolchain/win/rc/win/rc.exe.sha1', |
Jamie Madill | 940c48b | 2017-10-23 23:25:17 -0400 | [diff] [blame] | 281 | ], |
| 282 | }, |
Michael Spang | 229fc83 | 2019-01-21 18:09:15 -0500 | [diff] [blame] | 283 | |
| 284 | { |
| 285 | 'name': 'fuchsia_sdk', |
| 286 | 'pattern': '.', |
| 287 | 'condition': 'checkout_fuchsia and not build_with_chromium', |
| 288 | 'action': [ |
| 289 | 'python', |
| 290 | '{angle_root}/build/fuchsia/update_sdk.py', |
| 291 | ], |
| 292 | }, |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 293 | ] |
Jamie Madill | 2078931 | 2016-10-28 14:05:26 -0400 | [diff] [blame] | 294 | |
| 295 | recursedeps = [ |
| 296 | # buildtools provides clang_format. |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 297 | '{angle_root}/buildtools', |
Jamie Madill | 2078931 | 2016-10-28 14:05:26 -0400 | [diff] [blame] | 298 | ] |