Jamie Madill | 4237e53 | 2019-06-28 11:14:31 -0400 | [diff] [blame] | 1 | # This file is used to manage the dependencies of the ANGLE git repo. It is |
| 2 | # used by gclient to determine what version of each dependency to check out, and |
| 3 | # where. |
| 4 | |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 5 | vars = { |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 6 | 'android_git': 'https://android.googlesource.com', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 7 | 'chromium_git': 'https://chromium.googlesource.com', |
Jamie Madill | 67a017f | 2019-10-10 15:27:27 -0400 | [diff] [blame^] | 8 | 'chrome_internal_git': 'https://chrome-internal.googlesource.com', |
Jamie Madill | 8be7a4c | 2019-09-19 12:48:31 -0400 | [diff] [blame] | 9 | 'swiftshader_git': 'https://swiftshader.googlesource.com', |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 10 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 11 | # This variable is set on the Chrome infra for compatiblity with gclient. |
| 12 | 'angle_root': '.', |
| 13 | |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 14 | # This variable is overrided in Chromium's DEPS file. |
| 15 | 'build_with_chromium': False, |
| 16 | |
Jamie Madill | 67a017f | 2019-10-10 15:27:27 -0400 | [diff] [blame^] | 17 | # Only check out public sources by default. This can be overridden with custom_vars. |
| 18 | # We overload Chromium's 'src-internal' for simplicity. |
| 19 | # TOOD(ynovikov): Use checkout_angle_internal custom variable instead. |
Jamie Madill | 4237e53 | 2019-06-28 11:14:31 -0400 | [diff] [blame] | 20 | 'checkout_src_internal': False, |
| 21 | |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 22 | # Current revision of dEQP. |
Jamie Madill | 159c4b0 | 2019-06-28 13:58:50 -0400 | [diff] [blame] | 23 | 'deqp_revision': 'd3eef28e67ce6795ba3a2124aaa977819729d45f', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 24 | |
| 25 | # Current revision of glslang, the Khronos SPIRV compiler. |
angle-autoroll | 23d6a0e | 2019-10-07 07:01:14 +0000 | [diff] [blame] | 26 | 'glslang_revision': '4b97a1108114107a8082a55e9e0721a40f9536d3', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 27 | |
| 28 | # Current revision fo the SPIRV-Headers Vulkan support library. |
angle-autoroll | ceac332 | 2019-09-30 07:01:54 +0000 | [diff] [blame] | 29 | 'spirv_headers_revision': '842ec90674627ed2ffef609e3cd79d1562eded01', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 30 | |
| 31 | # Current revision of SPIRV-Tools for Vulkan. |
angle-autoroll | ad5f716 | 2019-10-10 07:01:22 +0000 | [diff] [blame] | 32 | 'spirv_tools_revision': '82f84c4b8f19a3a59647e851a5b3921d63b7b8e4', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 33 | |
Tobin Ehlis | b971f49 | 2018-05-24 10:56:17 -0600 | [diff] [blame] | 34 | # Current revision of Khronos Vulkan-Headers. |
Tobin Ehlis | f22f16d | 2019-07-18 15:10:49 -0600 | [diff] [blame] | 35 | 'vulkan_headers_revision': '5b44df19e040fca0048ab30c553a8c2d2cb9623e', |
Tobin Ehlis | b971f49 | 2018-05-24 10:56:17 -0600 | [diff] [blame] | 36 | |
| 37 | # Current revision of Khronos Vulkan-Loader. |
Tobin Ehlis | f22f16d | 2019-07-18 15:10:49 -0600 | [diff] [blame] | 38 | 'vulkan_loader_revision': 'b5a0995324fa9fb2a6152197b442400e7d7be5b6', |
Tobin Ehlis | b971f49 | 2018-05-24 10:56:17 -0600 | [diff] [blame] | 39 | |
| 40 | # Current revision of Khronos Vulkan-Tools. |
Tobin Ehlis | f22f16d | 2019-07-18 15:10:49 -0600 | [diff] [blame] | 41 | 'vulkan_tools_revision': '40cd2166a44647a4283517e31af4589410c654eb', |
Tobin Ehlis | b971f49 | 2018-05-24 10:56:17 -0600 | [diff] [blame] | 42 | |
| 43 | # Current revision of Khronos Vulkan-ValidationLayers. |
Tobin Ehlis | f22f16d | 2019-07-18 15:10:49 -0600 | [diff] [blame] | 44 | 'vulkan_validation_revision': '9fba37afae13a11bd49ae942bf82e5bf1098e381', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 45 | } |
| 46 | |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 47 | deps = { |
alokp@chromium.org | 416fcd3 | 2012-04-11 16:23:44 +0000 | [diff] [blame] | 48 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 49 | '{angle_root}/build': { |
Jamie Madill | 9c2df98 | 2019-10-09 16:45:13 -0400 | [diff] [blame] | 50 | 'url': '{chromium_git}/chromium/src/build.git@fd0d28db8039e2aaf9fa35e53e3af6dc9ead8055', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 51 | 'condition': 'not build_with_chromium', |
| 52 | }, |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 53 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 54 | '{angle_root}/buildtools': { |
Jamie Madill | 9c2df98 | 2019-10-09 16:45:13 -0400 | [diff] [blame] | 55 | 'url': '{chromium_git}/chromium/src/buildtools.git@cf454b247c611167388742c7a31ef138a6031172', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 56 | 'condition': 'not build_with_chromium', |
| 57 | }, |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 58 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 59 | '{angle_root}/testing': { |
Jamie Madill | 9c2df98 | 2019-10-09 16:45:13 -0400 | [diff] [blame] | 60 | 'url': '{chromium_git}/chromium/src/testing@9d2d0dad367ac7e98e64cc6881044c482e1c7eb8', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 61 | 'condition': 'not build_with_chromium', |
| 62 | }, |
alokp@chromium.org | 5cd9c60 | 2012-05-16 23:37:50 +0000 | [diff] [blame] | 63 | |
Jamie Madill | 9e76f56 | 2015-10-02 08:57:14 -0400 | [diff] [blame] | 64 | # 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] | 65 | '{angle_root}/third_party/cherry': { |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 66 | 'url': '{android_git}/platform/external/cherry@4f8fb08d33ca5ff05a1c638f04c85bbb8d8b52cc', |
| 67 | 'condition': 'not build_with_chromium', |
| 68 | }, |
Jamie Madill | 9e76f56 | 2015-10-02 08:57:14 -0400 | [diff] [blame] | 69 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 70 | '{angle_root}/third_party/deqp/src': { |
Jamie Madill | 915d406 | 2019-01-28 18:15:43 -0500 | [diff] [blame] | 71 | 'url': '{chromium_git}/external/deqp@{deqp_revision}', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 72 | }, |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 73 | |
Jamie Madill | 9f95834 | 2019-04-08 09:40:40 -0400 | [diff] [blame] | 74 | '{angle_root}/third_party/fuchsia-sdk': { |
Robert Iannucci | da8dad1 | 2019-08-08 19:40:48 -0700 | [diff] [blame] | 75 | 'url': '{chromium_git}/chromium/src/third_party/fuchsia-sdk.git@5fd29151cf35c0813c33cc368a7c78389e3f5caa', |
Jamie Madill | 9f95834 | 2019-04-08 09:40:40 -0400 | [diff] [blame] | 76 | 'condition': 'checkout_fuchsia and not build_with_chromium', |
| 77 | }, |
| 78 | |
Jamie Madill | 67a017f | 2019-10-10 15:27:27 -0400 | [diff] [blame^] | 79 | # Closed-source OpenGL ES 1.1 Conformance tests. |
| 80 | '{angle_root}/third_party/gles1_conform': { |
| 81 | 'url': '{chrome_internal_git}/angle/es-cts.git@dc9f502f709c9cd88d7f8d3974f1c77aa246958e', |
| 82 | 'condition': 'checkout_src_internal', |
| 83 | }, |
| 84 | |
Jamie Madill | 55959b0 | 2019-03-05 10:07:41 -0500 | [diff] [blame] | 85 | # glmark2 is a GPL3-licensed OpenGL ES 2.0 benchmark. We use it for testing. |
| 86 | '{angle_root}/third_party/glmark2/src': { |
Jamie Madill | 2971fd3 | 2019-08-12 16:53:21 -0400 | [diff] [blame] | 87 | 'url': '{chromium_git}/external/github.com/glmark2/glmark2@9e01aef1a786b28aca73135a5b00f85c357e8f5e', |
Jamie Madill | 55959b0 | 2019-03-05 10:07:41 -0500 | [diff] [blame] | 88 | }, |
| 89 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 90 | '{angle_root}/third_party/glslang/src': { |
Tobin Ehlis | 317a9eb | 2018-11-29 12:51:46 -0700 | [diff] [blame] | 91 | 'url': '{chromium_git}/external/github.com/KhronosGroup/glslang@{glslang_revision}', |
Jamie Madill | 0cb3b0f | 2019-01-28 09:55:20 -0500 | [diff] [blame] | 92 | 'condition': 'not build_with_chromium', |
Jamie Madill | 55959b0 | 2019-03-05 10:07:41 -0500 | [diff] [blame] | 93 | }, |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 94 | |
Jamie Madill | cf9b285 | 2019-02-13 09:15:26 -0500 | [diff] [blame] | 95 | '{angle_root}/third_party/googletest': { |
Robert Iannucci | da8dad1 | 2019-08-08 19:40:48 -0700 | [diff] [blame] | 96 | 'url': '{chromium_git}/chromium/src/third_party/googletest@c721b68ddecc18bbc6b763b2fe8ab802c22f228a', |
Jamie Madill | cf9b285 | 2019-02-13 09:15:26 -0500 | [diff] [blame] | 97 | 'condition': 'not build_with_chromium', |
| 98 | }, |
| 99 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 100 | '{angle_root}/third_party/googletest/src': { |
Jamie Madill | 9c2df98 | 2019-10-09 16:45:13 -0400 | [diff] [blame] | 101 | 'url': '{chromium_git}/external/github.com/google/googletest.git@cd17fa2abda2a2e4111cdabd62a87aea16835014', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 102 | 'condition': 'not build_with_chromium', |
| 103 | }, |
Frank Henigman | 6b076a0 | 2017-10-11 13:28:22 -0400 | [diff] [blame] | 104 | |
Jamie Madill | 55959b0 | 2019-03-05 10:07:41 -0500 | [diff] [blame] | 105 | # libjpeg_turbo is used by glmark2. |
| 106 | '{angle_root}/third_party/libjpeg_turbo': { |
| 107 | 'url': '{chromium_git}/chromium/deps/libjpeg_turbo@6dcdade8828297e306cabfdae80f3510f3f3eea2', |
| 108 | 'condition': 'not build_with_chromium', |
| 109 | }, |
| 110 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 111 | '{angle_root}/third_party/libpng/src': { |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 112 | 'url': '{android_git}/platform/external/libpng@094e181e79a3d6c23fd005679025058b7df1ad6c', |
| 113 | 'condition': 'not build_with_chromium', |
| 114 | }, |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 115 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 116 | '{angle_root}/third_party/jsoncpp': { |
Robert Iannucci | da8dad1 | 2019-08-08 19:40:48 -0700 | [diff] [blame] | 117 | 'url': '{chromium_git}/chromium/src/third_party/jsoncpp@48246a099549ab325c01f69f24a34fc72e5c42e4', |
Jamie Madill | 0cb3b0f | 2019-01-28 09:55:20 -0500 | [diff] [blame] | 118 | 'condition': 'not build_with_chromium', |
| 119 | }, |
Jamie Madill | 7ada46c | 2018-09-06 10:58:26 -0400 | [diff] [blame] | 120 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 121 | '{angle_root}/third_party/jsoncpp/source': { |
Robert Iannucci | da8dad1 | 2019-08-08 19:40:48 -0700 | [diff] [blame] | 122 | 'url' : '{chromium_git}/external/github.com/open-source-parsers/jsoncpp@645250b6690785be60ab6780ce4b58698d884d11', |
Jamie Madill | 0cb3b0f | 2019-01-28 09:55:20 -0500 | [diff] [blame] | 123 | 'condition': 'not build_with_chromium', |
| 124 | }, |
Tobin Ehlis | 5fdc38c | 2018-08-28 09:20:57 -0600 | [diff] [blame] | 125 | |
Jamie Madill | 9f95834 | 2019-04-08 09:40:40 -0400 | [diff] [blame] | 126 | '{angle_root}/third_party/Python-Markdown': { |
Robert Iannucci | da8dad1 | 2019-08-08 19:40:48 -0700 | [diff] [blame] | 127 | 'url': '{chromium_git}/chromium/src/third_party/Python-Markdown@36657c103ce5964733bbbb29377085e9cc1a9472', |
Jamie Madill | 9f95834 | 2019-04-08 09:40:40 -0400 | [diff] [blame] | 128 | 'condition': 'not build_with_chromium', |
| 129 | }, |
| 130 | |
Michael Spang | 229fc83 | 2019-01-21 18:09:15 -0500 | [diff] [blame] | 131 | '{angle_root}/third_party/qemu-linux-x64': { |
| 132 | 'packages': [ |
| 133 | { |
| 134 | 'package': 'fuchsia/qemu/linux-amd64', |
| 135 | 'version': '9cc486c5b18a0be515c39a280ca9a309c54cf994' |
| 136 | }, |
| 137 | ], |
| 138 | 'condition': 'not build_with_chromium and (host_os == "linux" and checkout_fuchsia)', |
| 139 | 'dep_type': 'cipd', |
| 140 | }, |
| 141 | |
| 142 | '{angle_root}/third_party/qemu-mac-x64': { |
| 143 | 'packages': [ |
| 144 | { |
| 145 | 'package': 'fuchsia/qemu/mac-amd64', |
| 146 | 'version': '2d3358ae9a569b2d4a474f498b32b202a152134f' |
| 147 | }, |
| 148 | ], |
| 149 | 'condition': 'not build_with_chromium and (host_os == "mac" and checkout_fuchsia)', |
| 150 | 'dep_type': 'cipd', |
| 151 | }, |
| 152 | |
Jamie Madill | 46d32e0 | 2019-02-25 17:13:16 -0500 | [diff] [blame] | 153 | '{angle_root}/third_party/rapidjson/src': { |
| 154 | 'url': '{chromium_git}/external/github.com/Tencent/rapidjson@7484e06c589873e1ed80382d262087e4fa80fb63', |
| 155 | }, |
| 156 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 157 | '{angle_root}/third_party/spirv-headers/src': { |
Jamie Madill | 0cb3b0f | 2019-01-28 09:55:20 -0500 | [diff] [blame] | 158 | 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@{spirv_headers_revision}', |
Corentin Wallez | a883dd0 | 2018-08-03 18:11:46 +0200 | [diff] [blame] | 159 | 'condition': 'not build_with_chromium', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 160 | }, |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 161 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 162 | '{angle_root}/third_party/spirv-tools/src': { |
Jamie Madill | 0cb3b0f | 2019-01-28 09:55:20 -0500 | [diff] [blame] | 163 | 'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Tools@{spirv_tools_revision}', |
Corentin Wallez | a883dd0 | 2018-08-03 18:11:46 +0200 | [diff] [blame] | 164 | 'condition': 'not build_with_chromium', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 165 | }, |
Jamie Madill | 37ee8a6 | 2016-12-13 15:18:58 -0500 | [diff] [blame] | 166 | |
Jamie Madill | 8be7a4c | 2019-09-19 12:48:31 -0400 | [diff] [blame] | 167 | '{angle_root}/third_party/SwiftShader': { |
Jamie Madill | 5e9d4ee | 2019-10-05 09:49:36 -0400 | [diff] [blame] | 168 | 'url': '{swiftshader_git}/SwiftShader@036463457e5f11a9257553fadb5e8c193bec6f7e', |
Jamie Madill | 8be7a4c | 2019-09-19 12:48:31 -0400 | [diff] [blame] | 169 | 'condition': 'not build_with_chromium', |
| 170 | }, |
| 171 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 172 | '{angle_root}/third_party/vulkan-headers/src': { |
Tobin Ehlis | b971f49 | 2018-05-24 10:56:17 -0600 | [diff] [blame] | 173 | 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Headers@{vulkan_headers_revision}', |
| 174 | }, |
| 175 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 176 | '{angle_root}/third_party/vulkan-loader/src': { |
Tobin Ehlis | b971f49 | 2018-05-24 10:56:17 -0600 | [diff] [blame] | 177 | 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Loader@{vulkan_loader_revision}', |
| 178 | }, |
| 179 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 180 | '{angle_root}/third_party/vulkan-tools/src': { |
Tobin Ehlis | b971f49 | 2018-05-24 10:56:17 -0600 | [diff] [blame] | 181 | 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Tools@{vulkan_tools_revision}', |
| 182 | }, |
| 183 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 184 | '{angle_root}/third_party/vulkan-validation-layers/src': { |
Tobin Ehlis | b971f49 | 2018-05-24 10:56:17 -0600 | [diff] [blame] | 185 | 'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-ValidationLayers@{vulkan_validation_revision}', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 186 | }, |
Jamie Madill | 3cd438d | 2015-03-17 11:25:27 -0400 | [diff] [blame] | 187 | |
Jamie Madill | 55959b0 | 2019-03-05 10:07:41 -0500 | [diff] [blame] | 188 | '{angle_root}/third_party/yasm': { |
Jamie Madill | 9c2df98 | 2019-10-09 16:45:13 -0400 | [diff] [blame] | 189 | 'url': '{chromium_git}/chromium/src/third_party/yasm@cc10bc0f1d96a4bae0e775f2ac2b6ac5b08078c6', |
Jamie Madill | 55959b0 | 2019-03-05 10:07:41 -0500 | [diff] [blame] | 190 | 'condition': 'not build_with_chromium', |
| 191 | }, |
| 192 | |
| 193 | '{angle_root}/third_party/yasm/source/patched-yasm': { |
| 194 | 'url': '{chromium_git}/chromium/deps/yasm/patched-yasm.git@720b70524a4424b15fc57e82263568c8ba0496ad', |
| 195 | 'condition': 'not build_with_chromium', |
| 196 | }, |
| 197 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 198 | '{angle_root}/third_party/zlib': { |
Jamie Madill | 9c2df98 | 2019-10-09 16:45:13 -0400 | [diff] [blame] | 199 | 'url': '{chromium_git}/chromium/src/third_party/zlib@ddebad26cfadeb4ecdfe3da8beb396a85cf90c91', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 200 | 'condition': 'not build_with_chromium', |
| 201 | }, |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 202 | |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 203 | '{angle_root}/tools/clang': { |
Jamie Madill | 9c2df98 | 2019-10-09 16:45:13 -0400 | [diff] [blame] | 204 | 'url': '{chromium_git}/chromium/src/tools/clang.git@6bc727d9d80f2c3a97587676bb38c5472afe7e60', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 205 | 'condition': 'not build_with_chromium', |
| 206 | }, |
Michael Spang | 229fc83 | 2019-01-21 18:09:15 -0500 | [diff] [blame] | 207 | |
Jamie Madill | 9f95834 | 2019-04-08 09:40:40 -0400 | [diff] [blame] | 208 | '{angle_root}/tools/md_browser': { |
Robert Iannucci | da8dad1 | 2019-08-08 19:40:48 -0700 | [diff] [blame] | 209 | 'url': '{chromium_git}/chromium/src/tools/md_browser@0bfd826f8566a99923e64a782908faca72bc457c', |
Jamie Madill | 9f95834 | 2019-04-08 09:40:40 -0400 | [diff] [blame] | 210 | 'condition': 'not build_with_chromium', |
Michael Spang | 229fc83 | 2019-01-21 18:09:15 -0500 | [diff] [blame] | 211 | }, |
Jamie Madill | df0ce01 | 2019-09-05 11:04:39 -0400 | [diff] [blame] | 212 | |
| 213 | '{angle_root}/tools/memory': { |
| 214 | 'url': '{chromium_git}/chromium/src/tools/memory@89552acb6e60f528fe3c98eac7b445d4c34183ee', |
| 215 | 'condition': 'not build_with_chromium', |
| 216 | }, |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 217 | } |
| 218 | |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 219 | hooks = [ |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 220 | # Pull clang-format binaries using checked-in hashes. |
| 221 | { |
| 222 | 'name': 'clang_format_win', |
| 223 | 'pattern': '.', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 224 | 'condition': 'host_os == "win" and not build_with_chromium', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 225 | 'action': [ 'download_from_google_storage', |
| 226 | '--no_resume', |
| 227 | '--platform=win32', |
| 228 | '--no_auth', |
| 229 | '--bucket', 'chromium-clang-format', |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 230 | '-s', '{angle_root}/buildtools/win/clang-format.exe.sha1', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 231 | ], |
| 232 | }, |
| 233 | { |
| 234 | 'name': 'clang_format_mac', |
| 235 | 'pattern': '.', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 236 | 'condition': 'host_os == "mac" and not build_with_chromium', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 237 | 'action': [ 'download_from_google_storage', |
| 238 | '--no_resume', |
| 239 | '--platform=darwin', |
| 240 | '--no_auth', |
| 241 | '--bucket', 'chromium-clang-format', |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 242 | '-s', '{angle_root}/buildtools/mac/clang-format.sha1', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 243 | ], |
| 244 | }, |
| 245 | { |
| 246 | 'name': 'clang_format_linux', |
| 247 | 'pattern': '.', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 248 | 'condition': 'host_os == "linux" and not build_with_chromium', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 249 | 'action': [ 'download_from_google_storage', |
| 250 | '--no_resume', |
| 251 | '--platform=linux*', |
| 252 | '--no_auth', |
| 253 | '--bucket', 'chromium-clang-format', |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 254 | '-s', '{angle_root}/buildtools/linux64/clang-format.sha1', |
Jamie Madill | 2fdd3da | 2015-07-20 10:14:54 -0400 | [diff] [blame] | 255 | ], |
| 256 | }, |
Tobin Ehlis | 9d4277b | 2018-05-21 16:22:22 -0600 | [diff] [blame] | 257 | { |
| 258 | 'name': 'sysroot_x86', |
| 259 | 'pattern': '.', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 260 | '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] | 261 | 'action': ['python', '{angle_root}/build/linux/sysroot_scripts/install-sysroot.py', |
Tobin Ehlis | 9d4277b | 2018-05-21 16:22:22 -0600 | [diff] [blame] | 262 | '--arch=x86'], |
| 263 | }, |
| 264 | { |
| 265 | 'name': 'sysroot_x64', |
| 266 | 'pattern': '.', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 267 | 'condition': 'checkout_linux and (checkout_x64 and not build_with_chromium)', |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 268 | 'action': ['python', '{angle_root}/build/linux/sysroot_scripts/install-sysroot.py', |
Tobin Ehlis | 9d4277b | 2018-05-21 16:22:22 -0600 | [diff] [blame] | 269 | '--arch=x64'], |
| 270 | }, |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 271 | { |
| 272 | # Update the Windows toolchain if necessary. Must run before 'clang' below. |
| 273 | 'name': 'win_toolchain', |
| 274 | 'pattern': '.', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 275 | 'condition': 'checkout_win and not build_with_chromium', |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 276 | 'action': ['python', '{angle_root}/build/vs_toolchain.py', 'update', '--force'], |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 277 | }, |
Geoff Lang | 66ae531 | 2019-04-01 16:35:53 -0400 | [diff] [blame] | 278 | { |
| 279 | # Update the Mac toolchain if necessary. |
| 280 | 'name': 'mac_toolchain', |
| 281 | 'pattern': '.', |
| 282 | 'condition': 'checkout_mac and not build_with_chromium', |
| 283 | 'action': ['python', '{angle_root}/build/mac_toolchain.py'], |
| 284 | }, |
Jamie Madill | 027717f | 2018-04-13 15:51:24 -0400 | [diff] [blame] | 285 | |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 286 | { |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 287 | # Note: On Win, this should run after win_toolchain, as it may use it. |
| 288 | 'name': 'clang', |
| 289 | 'pattern': '.', |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 290 | 'action': ['python', '{angle_root}/tools/clang/scripts/update.py'], |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 291 | 'condition': 'not build_with_chromium', |
Frank Henigman | d0ef13a | 2017-08-28 22:53:24 -0400 | [diff] [blame] | 292 | }, |
Jamie Madill | 940c48b | 2017-10-23 23:25:17 -0400 | [diff] [blame] | 293 | |
Shahbaz Youssefi | 957e9b8 | 2018-10-05 11:00:50 -0400 | [diff] [blame] | 294 | { |
| 295 | # Update LASTCHANGE. |
| 296 | 'name': 'lastchange', |
| 297 | 'pattern': '.', |
| 298 | 'condition': 'not build_with_chromium', |
| 299 | 'action': ['python', '{angle_root}/build/util/lastchange.py', |
| 300 | '-o', '{angle_root}/build/util/LASTCHANGE'], |
| 301 | }, |
| 302 | |
Jamie Madill | 940c48b | 2017-10-23 23:25:17 -0400 | [diff] [blame] | 303 | # Pull rc binaries using checked-in hashes. |
| 304 | { |
| 305 | 'name': 'rc_win', |
| 306 | 'pattern': '.', |
Edward Lemur | 8ae09b0 | 2018-06-01 14:18:28 -0400 | [diff] [blame] | 307 | 'condition': 'checkout_win and (host_os == "win" and not build_with_chromium)', |
Jamie Madill | 940c48b | 2017-10-23 23:25:17 -0400 | [diff] [blame] | 308 | 'action': [ 'download_from_google_storage', |
| 309 | '--no_resume', |
| 310 | '--no_auth', |
| 311 | '--bucket', 'chromium-browser-clang/rc', |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 312 | '-s', '{angle_root}/build/toolchain/win/rc/win/rc.exe.sha1', |
Jamie Madill | 940c48b | 2017-10-23 23:25:17 -0400 | [diff] [blame] | 313 | ], |
| 314 | }, |
Michael Spang | 229fc83 | 2019-01-21 18:09:15 -0500 | [diff] [blame] | 315 | |
| 316 | { |
| 317 | 'name': 'fuchsia_sdk', |
| 318 | 'pattern': '.', |
| 319 | 'condition': 'checkout_fuchsia and not build_with_chromium', |
| 320 | 'action': [ |
| 321 | 'python', |
| 322 | '{angle_root}/build/fuchsia/update_sdk.py', |
| 323 | ], |
| 324 | }, |
Jamie Madill | d5ff4fa | 2019-04-08 09:25:23 -0400 | [diff] [blame] | 325 | |
Shahbaz Youssefi | 82418c8 | 2019-04-05 15:56:03 -0400 | [diff] [blame] | 326 | # Download glslang validator binary for Linux. |
| 327 | { |
| 328 | 'name': 'linux_glslang_validator', |
| 329 | 'pattern': '.', |
| 330 | 'condition': 'checkout_linux and not build_with_chromium', |
| 331 | 'action': [ 'download_from_google_storage', |
| 332 | '--no_resume', |
| 333 | '--platform=linux*', |
| 334 | '--no_auth', |
| 335 | '--bucket', 'angle-glslang-validator', |
| 336 | '-s', '{angle_root}/tools/glslang/glslang_validator.sha1', |
| 337 | ], |
| 338 | }, |
| 339 | |
Jamie Madill | d5ff4fa | 2019-04-08 09:25:23 -0400 | [diff] [blame] | 340 | # Download glslang validator binary for Windows. |
| 341 | { |
| 342 | 'name': 'win_glslang_validator', |
| 343 | 'pattern': '.', |
| 344 | 'condition': 'checkout_win and not build_with_chromium', |
| 345 | 'action': [ 'download_from_google_storage', |
| 346 | '--no_resume', |
| 347 | '--platform=win32*', |
| 348 | '--no_auth', |
| 349 | '--bucket', 'angle-glslang-validator', |
| 350 | '-s', '{angle_root}/tools/glslang/glslang_validator.exe.sha1', |
| 351 | ], |
| 352 | }, |
alokp@chromium.org | 29d56fb | 2010-04-06 15:42:22 +0000 | [diff] [blame] | 353 | ] |
Jamie Madill | 2078931 | 2016-10-28 14:05:26 -0400 | [diff] [blame] | 354 | |
| 355 | recursedeps = [ |
| 356 | # buildtools provides clang_format. |
Yuly Novikov | 85d8ee8 | 2018-09-12 17:36:57 +0000 | [diff] [blame] | 357 | '{angle_root}/buildtools', |
Jamie Madill | 2078931 | 2016-10-28 14:05:26 -0400 | [diff] [blame] | 358 | ] |