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 | 5d50678 | 2019-04-06 15:04:03 -0400 | [diff] [blame] | 15 | 'glslang_revision': 'e06c7e9a515b716c731bda13f507546f107775d1', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 16 | |
| 17 | # Current revision fo the SPIRV-Headers Vulkan support library. |
angle-autoroll | 1aef340 | 2019-04-05 07:01:33 +0000 | [diff] [blame] | 18 | 'spirv_headers_revision': '2434b89345a50c018c84f42a310b0fad4f3fd94f', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 19 | |
| 20 | # Current revision of SPIRV-Tools for Vulkan. |
angle-autoroll | b9a7142 | 2019-04-05 07:01:35 +0000 | [diff] [blame] | 21 | 'spirv_tools_revision': 'e8c2d95ed45f0b839e7f04c05675921a5f624eff', |
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 | 02a579e | 2019-03-27 14:21:20 -0400 | [diff] [blame] | 24 | 'vulkan_headers_revision': '982f0f84dccf6f281b48318c77261a9028000126', |
Tobin Ehlis | b971f49 | 2018-05-24 10:56:17 -0600 | [diff] [blame] | 25 | |
| 26 | # Current revision of Khronos Vulkan-Loader. |
Shahbaz Youssefi | 02a579e | 2019-03-27 14:21:20 -0400 | [diff] [blame] | 27 | 'vulkan_loader_revision': '2f0abfcf9eb04018e6e92125a70bc28665aa17fe', |
Tobin Ehlis | b971f49 | 2018-05-24 10:56:17 -0600 | [diff] [blame] | 28 | |
| 29 | # Current revision of Khronos Vulkan-Tools. |
Shahbaz Youssefi | 02a579e | 2019-03-27 14:21:20 -0400 | [diff] [blame] | 30 | 'vulkan_tools_revision': 'f392e71b994036c92b896c2a62cc63d042b7f9b1', |
Tobin Ehlis | b971f49 | 2018-05-24 10:56:17 -0600 | [diff] [blame] | 31 | |
| 32 | # Current revision of Khronos Vulkan-ValidationLayers. |
Shahbaz Youssefi | 02a579e | 2019-03-27 14:21:20 -0400 | [diff] [blame] | 33 | 'vulkan_validation_revision': 'ff80a937c8a505abbdddb95d8ffaa446820c8391', |
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': { |
Geoff Lang | 66ae531 | 2019-04-01 16:35:53 -0400 | [diff] [blame] | 39 | 'url': '{chromium_git}/chromium/src/build.git@a660b0b9174e3a808f620222017566e8d1b2669b', |
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': { |
Geoff Lang | 66ae531 | 2019-04-01 16:35:53 -0400 | [diff] [blame] | 44 | 'url': '{chromium_git}/chromium/src/buildtools.git@459baaf66bee809f6eb288e0215cf524f4d2429a', |
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': { |
Geoff Lang | 66ae531 | 2019-04-01 16:35:53 -0400 | [diff] [blame] | 49 | 'url': '{chromium_git}/chromium/src/testing@083d633e752e7a57cbe62a468a06e51e28c49ee9', |
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 | |
Jamie Madill | 9f95834 | 2019-04-08 09:40:40 -0400 | [diff] [blame] | 63 | '{angle_root}/third_party/fuchsia-sdk': { |
| 64 | 'url': '{chromium_git}/chromium/src/third_party/fuchsia-sdk.git@8e8db13b538ecb251e5ce9d5c781fc142f9752fd', |
| 65 | 'condition': 'checkout_fuchsia and not build_with_chromium', |
| 66 | }, |
| 67 | |
Jamie Madill | 55959b0 | 2019-03-05 10:07:41 -0500 | [diff] [blame] | 68 | # glmark2 is a GPL3-licensed OpenGL ES 2.0 benchmark. We use it for testing. |
| 69 | '{angle_root}/third_party/glmark2/src': { |
| 70 | 'url': '{chromium_git}/external/github.com/glmark2/glmark2@c4b3ff5a481348e8bdc2b71ee275864db91e40b1', |
| 71 | }, |
| 72 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 73 | '{angle_root}/third_party/glslang/src': { |
Tobin Ehlis | 317a9eb | 2018-11-29 12:51:46 -0700 | [diff] [blame] | 74 | 'url': '{chromium_git}/external/github.com/KhronosGroup/glslang@{glslang_revision}', |
Jamie Madill | 0cb3b0f | 2019-01-28 09:55:20 -0500 | [diff] [blame] | 75 | 'condition': 'not build_with_chromium', |
Jamie Madill | 55959b0 | 2019-03-05 10:07:41 -0500 | [diff] [blame] | 76 | }, |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 77 | |
Jamie Madill | cf9b285 | 2019-02-13 09:15:26 -0500 | [diff] [blame] | 78 | '{angle_root}/third_party/googletest': { |
| 79 | 'url': '{chromium_git}/chromium/src/third_party/googletest@660425b1c5ca04559ab7e50c7572b5b771acca1c', |
| 80 | 'condition': 'not build_with_chromium', |
| 81 | }, |
| 82 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 83 | '{angle_root}/third_party/googletest/src': { |
Jamie Madill | cf9b285 | 2019-02-13 09:15:26 -0500 | [diff] [blame] | 84 | 'url': '{chromium_git}/external/github.com/google/googletest.git@7203f37f57e4fef0d77670098aabc186309eb874', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 85 | 'condition': 'not build_with_chromium', |
| 86 | }, |
Frank Henigman | 6b076a0 | 2017-10-11 13:28:22 -0400 | [diff] [blame] | 87 | |
Jamie Madill | 55959b0 | 2019-03-05 10:07:41 -0500 | [diff] [blame] | 88 | # libjpeg_turbo is used by glmark2. |
| 89 | '{angle_root}/third_party/libjpeg_turbo': { |
| 90 | 'url': '{chromium_git}/chromium/deps/libjpeg_turbo@6dcdade8828297e306cabfdae80f3510f3f3eea2', |
| 91 | 'condition': 'not build_with_chromium', |
| 92 | }, |
| 93 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 94 | '{angle_root}/third_party/libpng/src': { |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 95 | 'url': '{android_git}/platform/external/libpng@094e181e79a3d6c23fd005679025058b7df1ad6c', |
| 96 | 'condition': 'not build_with_chromium', |
| 97 | }, |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 98 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 99 | '{angle_root}/third_party/jsoncpp': { |
Jamie Madill | 7ada46c | 2018-09-06 10:58:26 -0400 | [diff] [blame] | 100 | 'url': '{chromium_git}/chromium/src/third_party/jsoncpp@fd0ac8ce63a47e99b71a58f1489136fbb19c9137', |
Jamie Madill | 0cb3b0f | 2019-01-28 09:55:20 -0500 | [diff] [blame] | 101 | 'condition': 'not build_with_chromium', |
| 102 | }, |
Jamie Madill | 7ada46c | 2018-09-06 10:58:26 -0400 | [diff] [blame] | 103 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 104 | '{angle_root}/third_party/jsoncpp/source': { |
Jamie Madill | 0cb3b0f | 2019-01-28 09:55:20 -0500 | [diff] [blame] | 105 | 'url' : '{chromium_git}/external/github.com/open-source-parsers/jsoncpp@f572e8e42e22cfcf5ab0aea26574f408943edfa4', |
| 106 | 'condition': 'not build_with_chromium', |
| 107 | }, |
Tobin Ehlis | 5fdc38c | 2018-08-28 09:20:57 -0600 | [diff] [blame] | 108 | |
Jamie Madill | 9f95834 | 2019-04-08 09:40:40 -0400 | [diff] [blame] | 109 | '{angle_root}/third_party/Python-Markdown': { |
| 110 | 'url': '{chromium_git}/chromium/src/third_party/Python-Markdown@b08af21eb795e522e1b972cb85bff59edb1ae209', |
| 111 | 'condition': 'not build_with_chromium', |
| 112 | }, |
| 113 | |
Michael Spang | 229fc83 | 2019-01-21 18:09:15 -0500 | [diff] [blame] | 114 | '{angle_root}/third_party/qemu-linux-x64': { |
| 115 | 'packages': [ |
| 116 | { |
| 117 | 'package': 'fuchsia/qemu/linux-amd64', |
| 118 | 'version': '9cc486c5b18a0be515c39a280ca9a309c54cf994' |
| 119 | }, |
| 120 | ], |
| 121 | 'condition': 'not build_with_chromium and (host_os == "linux" and checkout_fuchsia)', |
| 122 | 'dep_type': 'cipd', |
| 123 | }, |
| 124 | |
| 125 | '{angle_root}/third_party/qemu-mac-x64': { |
| 126 | 'packages': [ |
| 127 | { |
| 128 | 'package': 'fuchsia/qemu/mac-amd64', |
| 129 | 'version': '2d3358ae9a569b2d4a474f498b32b202a152134f' |
| 130 | }, |
| 131 | ], |
| 132 | 'condition': 'not build_with_chromium and (host_os == "mac" and checkout_fuchsia)', |
| 133 | 'dep_type': 'cipd', |
| 134 | }, |
| 135 | |
Jamie Madill | 46d32e0 | 2019-02-25 17:13:16 -0500 | [diff] [blame] | 136 | '{angle_root}/third_party/rapidjson/src': { |
| 137 | 'url': '{chromium_git}/external/github.com/Tencent/rapidjson@7484e06c589873e1ed80382d262087e4fa80fb63', |
| 138 | }, |
| 139 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 140 | '{angle_root}/third_party/spirv-headers/src': { |
Jamie Madill | 0cb3b0f | 2019-01-28 09:55:20 -0500 | [diff] [blame] | 141 | 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@{spirv_headers_revision}', |
Corentin Wallez | a883dd0 | 2018-08-03 18:11:46 +0200 | [diff] [blame] | 142 | 'condition': 'not build_with_chromium', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 143 | }, |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 144 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 145 | '{angle_root}/third_party/spirv-tools/src': { |
Jamie Madill | 0cb3b0f | 2019-01-28 09:55:20 -0500 | [diff] [blame] | 146 | 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Tools@{spirv_tools_revision}', |
Corentin Wallez | a883dd0 | 2018-08-03 18:11:46 +0200 | [diff] [blame] | 147 | 'condition': 'not build_with_chromium', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 148 | }, |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 149 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 150 | '{angle_root}/third_party/vulkan-headers/src': { |
Tobin Ehlis | b971f49 | 2018-05-24 10:56:17 -0600 | [diff] [blame] | 151 | 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Headers@{vulkan_headers_revision}', |
| 152 | }, |
| 153 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 154 | '{angle_root}/third_party/vulkan-loader/src': { |
Tobin Ehlis | b971f49 | 2018-05-24 10:56:17 -0600 | [diff] [blame] | 155 | 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Loader@{vulkan_loader_revision}', |
| 156 | }, |
| 157 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 158 | '{angle_root}/third_party/vulkan-tools/src': { |
Tobin Ehlis | b971f49 | 2018-05-24 10:56:17 -0600 | [diff] [blame] | 159 | 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Tools@{vulkan_tools_revision}', |
| 160 | }, |
| 161 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 162 | '{angle_root}/third_party/vulkan-validation-layers/src': { |
Tobin Ehlis | b971f49 | 2018-05-24 10:56:17 -0600 | [diff] [blame] | 163 | 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-ValidationLayers@{vulkan_validation_revision}', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 164 | }, |
Jamie Madill | 3cd438d | 2015-03-17 11:25:27 -0400 | [diff] [blame] | 165 | |
Jamie Madill | 55959b0 | 2019-03-05 10:07:41 -0500 | [diff] [blame] | 166 | '{angle_root}/third_party/yasm': { |
| 167 | 'url': '{chromium_git}/chromium/src/third_party/yasm@86b6058141a42aed51bbd8bb9f9d54d199d9dbd0', |
| 168 | 'condition': 'not build_with_chromium', |
| 169 | }, |
| 170 | |
| 171 | '{angle_root}/third_party/yasm/source/patched-yasm': { |
| 172 | 'url': '{chromium_git}/chromium/deps/yasm/patched-yasm.git@720b70524a4424b15fc57e82263568c8ba0496ad', |
| 173 | 'condition': 'not build_with_chromium', |
| 174 | }, |
| 175 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 176 | '{angle_root}/third_party/zlib': { |
Jamie Madill | 720ca44 | 2018-12-17 14:04:10 -0500 | [diff] [blame] | 177 | 'url': '{chromium_git}/chromium/src/third_party/zlib@f95aeb0fa7f136ef4a457a6d9ba6f3c2701a444b', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 178 | 'condition': 'not build_with_chromium', |
| 179 | }, |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 180 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 181 | '{angle_root}/tools/clang': { |
Jamie Madill | c09ae15 | 2019-02-01 14:16:32 -0500 | [diff] [blame] | 182 | 'url': '{chromium_git}/chromium/src/tools/clang.git@3114fbc11f9644c54dd0a4cdbfa867bac50ff983', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 183 | 'condition': 'not build_with_chromium', |
| 184 | }, |
Michael Spang | 229fc83 | 2019-01-21 18:09:15 -0500 | [diff] [blame] | 185 | |
Jamie Madill | 9f95834 | 2019-04-08 09:40:40 -0400 | [diff] [blame] | 186 | '{angle_root}/tools/md_browser': { |
| 187 | 'url': '{chromium_git}/chromium/src/tools/md_browser@e9462696241f3ca832890473173e03e7bcfe6adc', |
| 188 | 'condition': 'not build_with_chromium', |
Michael Spang | 229fc83 | 2019-01-21 18:09:15 -0500 | [diff] [blame] | 189 | }, |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 190 | } |
| 191 | |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 192 | hooks = [ |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 193 | # Pull clang-format binaries using checked-in hashes. |
| 194 | { |
| 195 | 'name': 'clang_format_win', |
| 196 | 'pattern': '.', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 197 | 'condition': 'host_os == "win" and not build_with_chromium', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 198 | 'action': [ 'download_from_google_storage', |
| 199 | '--no_resume', |
| 200 | '--platform=win32', |
| 201 | '--no_auth', |
| 202 | '--bucket', 'chromium-clang-format', |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 203 | '-s', '{angle_root}/buildtools/win/clang-format.exe.sha1', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 204 | ], |
| 205 | }, |
| 206 | { |
| 207 | 'name': 'clang_format_mac', |
| 208 | 'pattern': '.', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 209 | 'condition': 'host_os == "mac" and not build_with_chromium', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 210 | 'action': [ 'download_from_google_storage', |
| 211 | '--no_resume', |
| 212 | '--platform=darwin', |
| 213 | '--no_auth', |
| 214 | '--bucket', 'chromium-clang-format', |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 215 | '-s', '{angle_root}/buildtools/mac/clang-format.sha1', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 216 | ], |
| 217 | }, |
| 218 | { |
| 219 | 'name': 'clang_format_linux', |
| 220 | 'pattern': '.', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 221 | 'condition': 'host_os == "linux" and not build_with_chromium', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 222 | 'action': [ 'download_from_google_storage', |
| 223 | '--no_resume', |
| 224 | '--platform=linux*', |
| 225 | '--no_auth', |
| 226 | '--bucket', 'chromium-clang-format', |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 227 | '-s', '{angle_root}/buildtools/linux64/clang-format.sha1', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 228 | ], |
| 229 | }, |
Tobin Ehlis | 9d4277b | 2018-05-21 16:22:22 -0600 | [diff] [blame] | 230 | { |
| 231 | 'name': 'sysroot_x86', |
| 232 | 'pattern': '.', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 233 | '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] | 234 | 'action': ['python', '{angle_root}/build/linux/sysroot_scripts/install-sysroot.py', |
Tobin Ehlis | 9d4277b | 2018-05-21 16:22:22 -0600 | [diff] [blame] | 235 | '--arch=x86'], |
| 236 | }, |
| 237 | { |
| 238 | 'name': 'sysroot_x64', |
| 239 | 'pattern': '.', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 240 | 'condition': 'checkout_linux and (checkout_x64 and not build_with_chromium)', |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 241 | 'action': ['python', '{angle_root}/build/linux/sysroot_scripts/install-sysroot.py', |
Tobin Ehlis | 9d4277b | 2018-05-21 16:22:22 -0600 | [diff] [blame] | 242 | '--arch=x64'], |
| 243 | }, |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 244 | { |
| 245 | # Update the Windows toolchain if necessary. Must run before 'clang' below. |
| 246 | 'name': 'win_toolchain', |
| 247 | 'pattern': '.', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 248 | 'condition': 'checkout_win and not build_with_chromium', |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 249 | 'action': ['python', '{angle_root}/build/vs_toolchain.py', 'update', '--force'], |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 250 | }, |
Geoff Lang | 66ae531 | 2019-04-01 16:35:53 -0400 | [diff] [blame] | 251 | { |
| 252 | # Update the Mac toolchain if necessary. |
| 253 | 'name': 'mac_toolchain', |
| 254 | 'pattern': '.', |
| 255 | 'condition': 'checkout_mac and not build_with_chromium', |
| 256 | 'action': ['python', '{angle_root}/build/mac_toolchain.py'], |
| 257 | }, |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 258 | |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 259 | { |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 260 | # Note: On Win, this should run after win_toolchain, as it may use it. |
| 261 | 'name': 'clang', |
| 262 | 'pattern': '.', |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 263 | 'action': ['python', '{angle_root}/tools/clang/scripts/update.py'], |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 264 | 'condition': 'not build_with_chromium', |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 265 | }, |
Jamie Madill | 940c48b | 2017-10-23 23:25:17 -0400 | [diff] [blame] | 266 | |
Shahbaz Youssefi | 957e9b8 | 2018-10-05 11:00:50 -0400 | [diff] [blame] | 267 | { |
| 268 | # Update LASTCHANGE. |
| 269 | 'name': 'lastchange', |
| 270 | 'pattern': '.', |
| 271 | 'condition': 'not build_with_chromium', |
| 272 | 'action': ['python', '{angle_root}/build/util/lastchange.py', |
| 273 | '-o', '{angle_root}/build/util/LASTCHANGE'], |
| 274 | }, |
| 275 | |
Jamie Madill | 940c48b | 2017-10-23 23:25:17 -0400 | [diff] [blame] | 276 | # Pull rc binaries using checked-in hashes. |
| 277 | { |
| 278 | 'name': 'rc_win', |
| 279 | 'pattern': '.', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 280 | 'condition': 'checkout_win and (host_os == "win" and not build_with_chromium)', |
Jamie Madill | 940c48b | 2017-10-23 23:25:17 -0400 | [diff] [blame] | 281 | 'action': [ 'download_from_google_storage', |
| 282 | '--no_resume', |
| 283 | '--no_auth', |
| 284 | '--bucket', 'chromium-browser-clang/rc', |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 285 | '-s', '{angle_root}/build/toolchain/win/rc/win/rc.exe.sha1', |
Jamie Madill | 940c48b | 2017-10-23 23:25:17 -0400 | [diff] [blame] | 286 | ], |
| 287 | }, |
Michael Spang | 229fc83 | 2019-01-21 18:09:15 -0500 | [diff] [blame] | 288 | |
| 289 | { |
| 290 | 'name': 'fuchsia_sdk', |
| 291 | 'pattern': '.', |
| 292 | 'condition': 'checkout_fuchsia and not build_with_chromium', |
| 293 | 'action': [ |
| 294 | 'python', |
| 295 | '{angle_root}/build/fuchsia/update_sdk.py', |
| 296 | ], |
| 297 | }, |
Jamie Madill | d5ff4fa | 2019-04-08 09:25:23 -0400 | [diff] [blame] | 298 | |
Shahbaz Youssefi | 82418c8 | 2019-04-05 15:56:03 -0400 | [diff] [blame^] | 299 | # Download glslang validator binary for Linux. |
| 300 | { |
| 301 | 'name': 'linux_glslang_validator', |
| 302 | 'pattern': '.', |
| 303 | 'condition': 'checkout_linux and not build_with_chromium', |
| 304 | 'action': [ 'download_from_google_storage', |
| 305 | '--no_resume', |
| 306 | '--platform=linux*', |
| 307 | '--no_auth', |
| 308 | '--bucket', 'angle-glslang-validator', |
| 309 | '-s', '{angle_root}/tools/glslang/glslang_validator.sha1', |
| 310 | ], |
| 311 | }, |
| 312 | |
Jamie Madill | d5ff4fa | 2019-04-08 09:25:23 -0400 | [diff] [blame] | 313 | # Download glslang validator binary for Windows. |
| 314 | { |
| 315 | 'name': 'win_glslang_validator', |
| 316 | 'pattern': '.', |
| 317 | 'condition': 'checkout_win and not build_with_chromium', |
| 318 | 'action': [ 'download_from_google_storage', |
| 319 | '--no_resume', |
| 320 | '--platform=win32*', |
| 321 | '--no_auth', |
| 322 | '--bucket', 'angle-glslang-validator', |
| 323 | '-s', '{angle_root}/tools/glslang/glslang_validator.exe.sha1', |
| 324 | ], |
| 325 | }, |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 326 | ] |
Jamie Madill | 2078931 | 2016-10-28 14:05:26 -0400 | [diff] [blame] | 327 | |
| 328 | recursedeps = [ |
| 329 | # buildtools provides clang_format. |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 330 | '{angle_root}/buildtools', |
Jamie Madill | 2078931 | 2016-10-28 14:05:26 -0400 | [diff] [blame] | 331 | ] |