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