2019-06-28 18:14:31 +03:00
|
|
|
# This file is used to manage the dependencies of the ANGLE git repo. It is
|
|
|
|
# used by gclient to determine what version of each dependency to check out, and
|
|
|
|
# where.
|
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
# Avoids the need for a custom root variable.
|
|
|
|
use_relative_paths = True
|
|
|
|
use_relative_hooks = True
|
|
|
|
|
2015-07-20 17:14:54 +03:00
|
|
|
vars = {
|
2016-12-13 23:18:58 +03:00
|
|
|
'android_git': 'https://android.googlesource.com',
|
2015-07-20 17:14:54 +03:00
|
|
|
'chromium_git': 'https://chromium.googlesource.com',
|
2019-10-10 22:27:27 +03:00
|
|
|
'chrome_internal_git': 'https://chrome-internal.googlesource.com',
|
2019-09-19 19:48:31 +03:00
|
|
|
'swiftshader_git': 'https://swiftshader.googlesource.com',
|
2018-04-13 22:51:24 +03:00
|
|
|
|
2018-06-01 21:18:28 +03:00
|
|
|
# This variable is overrided in Chromium's DEPS file.
|
|
|
|
'build_with_chromium': False,
|
|
|
|
|
2019-10-10 22:27:27 +03:00
|
|
|
# Only check out public sources by default. This can be overridden with custom_vars.
|
2019-12-19 00:34:29 +03:00
|
|
|
'checkout_angle_internal': False,
|
2019-06-28 18:14:31 +03:00
|
|
|
|
2019-10-12 00:49:24 +03:00
|
|
|
# Version of Chromium our Chromium-based DEPS are mirrored from.
|
2020-04-27 23:57:46 +03:00
|
|
|
'chromium_revision': 'b0410bba028cf153be2d02e36b6e99b59fdcb000',
|
2019-10-12 00:49:24 +03:00
|
|
|
|
2019-10-28 19:54:03 +03:00
|
|
|
# Current revision of VK-GL-CTS (a.k.a dEQP).
|
2020-02-10 21:07:23 +03:00
|
|
|
'vk_gl_cts_revision': 'a6b249819f7177821d4b7eefff36af07fef71825',
|
2018-06-01 21:18:28 +03:00
|
|
|
|
|
|
|
# Current revision of glslang, the Khronos SPIRV compiler.
|
2020-05-01 10:01:25 +03:00
|
|
|
'glslang_revision': '2c53baedbb64049e15ed8d3b38f867c1d9bec097',
|
2018-06-01 21:18:28 +03:00
|
|
|
|
2019-10-25 16:00:41 +03:00
|
|
|
# Current revision of googletest.
|
|
|
|
# Note: this dep cannot be auto-rolled b/c of nesting.
|
|
|
|
'googletest_revision': 'f2fb48c3b3d79a75a88a99fba6576b25d42ec528',
|
|
|
|
|
2019-10-26 15:16:12 +03:00
|
|
|
# Current revision of jsoncpp.
|
|
|
|
# Note: this dep cannot be auto-rolled b/c of nesting.
|
|
|
|
'jsoncpp_revision': '645250b6690785be60ab6780ce4b58698d884d11',
|
|
|
|
|
|
|
|
# Current revision of patched-yasm.
|
|
|
|
# Note: this dep cannot be auto-rolled b/c of nesting.
|
|
|
|
'patched_yasm_revision': '720b70524a4424b15fc57e82263568c8ba0496ad',
|
|
|
|
|
2019-10-29 17:57:55 +03:00
|
|
|
# Current revision of spirv-cross, the Khronos SPIRV cross compiler.
|
2019-11-19 20:04:00 +03:00
|
|
|
'spirv_cross_revision': 'fd5aa3ad51ece55a1b51fe6bfb271db6844ae291',
|
2019-10-29 17:57:55 +03:00
|
|
|
|
2018-06-01 21:18:28 +03:00
|
|
|
# Current revision fo the SPIRV-Headers Vulkan support library.
|
2020-03-19 10:01:16 +03:00
|
|
|
'spirv_headers_revision': 'f8bf11a0253a32375c32cad92c841237b96696c0',
|
2018-06-01 21:18:28 +03:00
|
|
|
|
|
|
|
# Current revision of SPIRV-Tools for Vulkan.
|
2020-05-01 10:01:08 +03:00
|
|
|
'spirv_tools_revision': '2e1d208ed9deab9048a00e60bb891d5e12a8332e',
|
2018-06-01 21:18:28 +03:00
|
|
|
|
2018-05-24 19:56:17 +03:00
|
|
|
# Current revision of Khronos Vulkan-Headers.
|
2020-05-05 17:47:28 +03:00
|
|
|
'vulkan_headers_revision': '9250d5ae8f50202005233dc0512a1d460c8b4833',
|
2018-05-24 19:56:17 +03:00
|
|
|
|
|
|
|
# Current revision of Khronos Vulkan-Loader.
|
2020-05-05 17:47:28 +03:00
|
|
|
'vulkan_loader_revision': '1bf08b392b8e34204b7df0f0d6365f61dfe53826',
|
2018-05-24 19:56:17 +03:00
|
|
|
|
|
|
|
# Current revision of Khronos Vulkan-Tools.
|
2020-05-04 10:01:22 +03:00
|
|
|
'vulkan_tools_revision': '17019fa2360451fb4678a6c91651eb55046aec97',
|
2018-05-24 19:56:17 +03:00
|
|
|
|
|
|
|
# Current revision of Khronos Vulkan-ValidationLayers.
|
2020-05-05 10:01:26 +03:00
|
|
|
'vulkan_validation_revision': '102687e26ec88a32d1dc7a55cd1ad50fb4cefc8a',
|
2019-10-17 21:36:41 +03:00
|
|
|
|
|
|
|
# Three lines of non-changing comments so that
|
|
|
|
# the commit queue can handle CLs rolling catapult
|
|
|
|
# and whatever else without interference from each other.
|
|
|
|
'catapult_revision': '1b3fb455bf1849f1e6187e1eaeaef32b9f30d3c5',
|
2015-07-20 17:14:54 +03:00
|
|
|
}
|
|
|
|
|
2010-04-06 19:42:22 +04:00
|
|
|
deps = {
|
2012-04-11 20:23:44 +04:00
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'build': {
|
2020-04-27 23:57:46 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/build.git@45ab3c89af6fc3126b0ca5a7836f0db85ad1ba0e',
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
2017-08-29 05:53:24 +03:00
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'buildtools': {
|
2020-04-27 23:57:46 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/buildtools.git@204a35a2a64f7179f8b76d7a0385653690839e21',
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
2017-08-29 05:53:24 +03:00
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'testing': {
|
2020-04-27 23:57:46 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/testing@3993ef1f527b206d8d3bf3f9824f4fe0e4bbdb0e',
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
2012-05-17 03:37:50 +04:00
|
|
|
|
2019-10-28 19:54:03 +03:00
|
|
|
# Cherry is a dEQP/VK-GL-CTS management GUI written in Go. We use it for viewing test results.
|
2019-10-11 00:46:54 +03:00
|
|
|
'third_party/cherry': {
|
2018-06-01 21:18:28 +03:00
|
|
|
'url': '{android_git}/platform/external/cherry@4f8fb08d33ca5ff05a1c638f04c85bbb8d8b52cc',
|
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
2015-10-02 15:57:14 +03:00
|
|
|
|
2020-04-07 16:14:29 +03:00
|
|
|
'third_party/VulkanMemoryAllocator': {
|
2020-05-01 23:37:00 +03:00
|
|
|
'url': '{chromium_git}/external/github.com/GPUOpen-LibrariesAndSDKs/VulkanMemoryAllocator@7425dc136ffa08842ece43f71a57fe768046259b',
|
|
|
|
'condition': 'not build_with_chromium',
|
2020-04-07 16:14:29 +03:00
|
|
|
},
|
|
|
|
|
2019-10-28 19:54:03 +03:00
|
|
|
'third_party/VK-GL-CTS/src': {
|
|
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/VK-GL-CTS@{vk_gl_cts_revision}',
|
2018-06-01 21:18:28 +03:00
|
|
|
},
|
2016-12-13 23:18:58 +03:00
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'third_party/fuchsia-sdk': {
|
2019-10-11 02:13:07 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/third_party/fuchsia-sdk.git@1785f0ac8e1fe81cb25e260acbe7de8f62fa3e44',
|
2019-04-08 16:40:40 +03:00
|
|
|
'condition': 'checkout_fuchsia and not build_with_chromium',
|
|
|
|
},
|
|
|
|
|
2019-10-10 22:27:27 +03:00
|
|
|
# Closed-source OpenGL ES 1.1 Conformance tests.
|
2019-10-11 00:46:54 +03:00
|
|
|
'third_party/gles1_conform': {
|
2019-10-10 22:27:27 +03:00
|
|
|
'url': '{chrome_internal_git}/angle/es-cts.git@dc9f502f709c9cd88d7f8d3974f1c77aa246958e',
|
2019-12-19 00:34:29 +03:00
|
|
|
'condition': 'checkout_angle_internal',
|
2019-10-10 22:27:27 +03:00
|
|
|
},
|
|
|
|
|
2019-03-05 18:07:41 +03:00
|
|
|
# glmark2 is a GPL3-licensed OpenGL ES 2.0 benchmark. We use it for testing.
|
2019-10-11 00:46:54 +03:00
|
|
|
'third_party/glmark2/src': {
|
2019-08-12 23:53:21 +03:00
|
|
|
'url': '{chromium_git}/external/github.com/glmark2/glmark2@9e01aef1a786b28aca73135a5b00f85c357e8f5e',
|
2019-03-05 18:07:41 +03:00
|
|
|
},
|
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'third_party/glslang/src': {
|
2018-11-29 22:51:46 +03:00
|
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/glslang@{glslang_revision}',
|
2019-01-28 17:55:20 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
2019-03-05 18:07:41 +03:00
|
|
|
},
|
2016-12-13 23:18:58 +03:00
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'third_party/googletest': {
|
2020-04-27 23:57:46 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/third_party/googletest@217407c4787f361aa5814ec609379bfc9b21d307',
|
2019-02-13 17:15:26 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
|
|
|
|
2019-03-05 18:07:41 +03:00
|
|
|
# libjpeg_turbo is used by glmark2.
|
2019-10-11 00:46:54 +03:00
|
|
|
'third_party/libjpeg_turbo': {
|
2020-04-27 23:57:46 +03:00
|
|
|
'url': '{chromium_git}/chromium/deps/libjpeg_turbo.git@7e3ad79800a7945fb37173149842b494ab8982b2',
|
2019-03-05 18:07:41 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'third_party/libpng/src': {
|
2018-06-01 21:18:28 +03:00
|
|
|
'url': '{android_git}/platform/external/libpng@094e181e79a3d6c23fd005679025058b7df1ad6c',
|
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
2015-03-17 18:25:27 +03:00
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'third_party/jsoncpp': {
|
2020-04-27 23:57:46 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/third_party/jsoncpp@ec647b85b61f525a1a74e4da7477b0c5371c50f4',
|
2019-01-28 17:55:20 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
2018-08-28 18:20:57 +03:00
|
|
|
|
2020-04-27 23:57:46 +03:00
|
|
|
'third_party/nasm': {
|
|
|
|
'url': '{chromium_git}/chromium/deps/nasm@4fa54ca5f7fc3a15a8c78ac94688e64d3e4e4fa1',
|
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'third_party/Python-Markdown': {
|
2019-08-09 05:40:48 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/third_party/Python-Markdown@36657c103ce5964733bbbb29377085e9cc1a9472',
|
2019-04-08 16:40:40 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'third_party/qemu-linux-x64': {
|
2019-01-22 02:09:15 +03:00
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'fuchsia/qemu/linux-amd64',
|
|
|
|
'version': '9cc486c5b18a0be515c39a280ca9a309c54cf994'
|
|
|
|
},
|
|
|
|
],
|
|
|
|
'condition': 'not build_with_chromium and (host_os == "linux" and checkout_fuchsia)',
|
|
|
|
'dep_type': 'cipd',
|
|
|
|
},
|
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'third_party/qemu-mac-x64': {
|
2019-01-22 02:09:15 +03:00
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'fuchsia/qemu/mac-amd64',
|
|
|
|
'version': '2d3358ae9a569b2d4a474f498b32b202a152134f'
|
|
|
|
},
|
|
|
|
],
|
|
|
|
'condition': 'not build_with_chromium and (host_os == "mac" and checkout_fuchsia)',
|
|
|
|
'dep_type': 'cipd',
|
|
|
|
},
|
2019-02-26 01:13:16 +03:00
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'third_party/rapidjson/src': {
|
2019-02-26 01:13:16 +03:00
|
|
|
'url': '{chromium_git}/external/github.com/Tencent/rapidjson@7484e06c589873e1ed80382d262087e4fa80fb63',
|
|
|
|
},
|
2019-01-22 02:09:15 +03:00
|
|
|
|
2019-10-29 17:57:55 +03:00
|
|
|
'third_party/spirv-cross/src': {
|
|
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Cross@{spirv_cross_revision}',
|
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'third_party/spirv-headers/src': {
|
2019-01-28 17:55:20 +03:00
|
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@{spirv_headers_revision}',
|
2018-08-03 19:11:46 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
2018-06-01 21:18:28 +03:00
|
|
|
},
|
2015-07-20 17:14:54 +03:00
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'third_party/spirv-tools/src': {
|
2019-01-28 17:55:20 +03:00
|
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Tools@{spirv_tools_revision}',
|
2018-08-03 19:11:46 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
2018-06-01 21:18:28 +03:00
|
|
|
},
|
2016-12-13 23:18:58 +03:00
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'third_party/SwiftShader': {
|
2020-05-05 10:01:21 +03:00
|
|
|
'url': '{swiftshader_git}/SwiftShader@c4bbd378e95ba57749ea6e8e6f792b94d2af7731',
|
2019-09-19 19:48:31 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'third_party/vulkan-headers/src': {
|
2018-05-24 19:56:17 +03:00
|
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Headers@{vulkan_headers_revision}',
|
|
|
|
},
|
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'third_party/vulkan-loader/src': {
|
2018-05-24 19:56:17 +03:00
|
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Loader@{vulkan_loader_revision}',
|
|
|
|
},
|
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'third_party/vulkan-tools/src': {
|
2018-05-24 19:56:17 +03:00
|
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-Tools@{vulkan_tools_revision}',
|
|
|
|
},
|
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'third_party/vulkan-validation-layers/src': {
|
2018-05-24 19:56:17 +03:00
|
|
|
'url': '{chromium_git}/external/github.com/KhronosGroup/Vulkan-ValidationLayers@{vulkan_validation_revision}',
|
2018-06-01 21:18:28 +03:00
|
|
|
},
|
2016-12-13 23:18:58 +03:00
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'third_party/zlib': {
|
2020-04-27 23:57:46 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/third_party/zlib@ae385786edb15f57e992c5e9dd9464e376d69399',
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
2017-08-29 05:53:24 +03:00
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'tools/clang': {
|
2020-04-27 23:57:46 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/tools/clang.git@04b99e7bf9160d551c3a5562f583014b6afc90f9',
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
2019-01-22 02:09:15 +03:00
|
|
|
|
2019-11-20 17:30:17 +03:00
|
|
|
'tools/clang/dsymutil': {
|
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'chromium/llvm-build-tools/dsymutil',
|
|
|
|
'version': 'M56jPzDv1620Rnm__jTMYS62Zi8rxHVq7yw0qeBFEgkC',
|
|
|
|
}
|
|
|
|
],
|
|
|
|
'condition': 'checkout_mac and not build_with_chromium',
|
|
|
|
'dep_type': 'cipd',
|
|
|
|
},
|
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'tools/md_browser': {
|
2020-04-27 23:57:46 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/tools/md_browser@aae45d8d82400e90483d4fee2ca3e648f2313cb2',
|
2019-04-08 16:40:40 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
2019-01-22 02:09:15 +03:00
|
|
|
},
|
2019-09-05 18:04:39 +03:00
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'tools/memory': {
|
2019-09-05 18:04:39 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/tools/memory@89552acb6e60f528fe3c98eac7b445d4c34183ee',
|
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
2019-10-17 21:36:41 +03:00
|
|
|
|
|
|
|
'third_party/catapult': {
|
|
|
|
'url': '{chromium_git}/catapult.git@{catapult_revision}',
|
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
|
|
|
|
|
|
|
'third_party/android_ndk': {
|
2019-11-21 14:37:39 +03:00
|
|
|
'url': '{chromium_git}/android_ndk.git@27c0a8d090c666a50e40fceb4ee5b40b1a2d3f87',
|
2019-10-17 21:36:41 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
2010-04-06 19:42:22 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
hooks = [
|
2015-07-20 17:14:54 +03:00
|
|
|
# Pull clang-format binaries using checked-in hashes.
|
|
|
|
{
|
|
|
|
'name': 'clang_format_win',
|
|
|
|
'pattern': '.',
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'host_os == "win" and not build_with_chromium',
|
2015-07-20 17:14:54 +03:00
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--platform=win32',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-clang-format',
|
2019-10-11 00:46:54 +03:00
|
|
|
'-s', 'buildtools/win/clang-format.exe.sha1',
|
2015-07-20 17:14:54 +03:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'clang_format_mac',
|
|
|
|
'pattern': '.',
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'host_os == "mac" and not build_with_chromium',
|
2015-07-20 17:14:54 +03:00
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--platform=darwin',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-clang-format',
|
2019-10-11 00:46:54 +03:00
|
|
|
'-s', 'buildtools/mac/clang-format.sha1',
|
2015-07-20 17:14:54 +03:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'clang_format_linux',
|
|
|
|
'pattern': '.',
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'host_os == "linux" and not build_with_chromium',
|
2015-07-20 17:14:54 +03:00
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--platform=linux*',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-clang-format',
|
2019-10-11 00:46:54 +03:00
|
|
|
'-s', 'buildtools/linux64/clang-format.sha1',
|
2015-07-20 17:14:54 +03:00
|
|
|
],
|
|
|
|
},
|
2018-05-22 01:22:22 +03:00
|
|
|
{
|
|
|
|
'name': 'sysroot_x86',
|
|
|
|
'pattern': '.',
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'checkout_linux and ((checkout_x86 or checkout_x64) and not build_with_chromium)',
|
2019-10-11 00:46:54 +03:00
|
|
|
'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
|
2018-05-22 01:22:22 +03:00
|
|
|
'--arch=x86'],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'sysroot_x64',
|
|
|
|
'pattern': '.',
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'checkout_linux and (checkout_x64 and not build_with_chromium)',
|
2019-10-11 00:46:54 +03:00
|
|
|
'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
|
2018-05-22 01:22:22 +03:00
|
|
|
'--arch=x64'],
|
|
|
|
},
|
2018-04-13 22:51:24 +03:00
|
|
|
{
|
|
|
|
# Update the Windows toolchain if necessary. Must run before 'clang' below.
|
|
|
|
'name': 'win_toolchain',
|
|
|
|
'pattern': '.',
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'checkout_win and not build_with_chromium',
|
2019-10-11 00:46:54 +03:00
|
|
|
'action': ['python', 'build/vs_toolchain.py', 'update', '--force'],
|
2018-04-13 22:51:24 +03:00
|
|
|
},
|
2019-04-01 23:35:53 +03:00
|
|
|
{
|
|
|
|
# Update the Mac toolchain if necessary.
|
|
|
|
'name': 'mac_toolchain',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'checkout_mac and not build_with_chromium',
|
2019-10-11 00:46:54 +03:00
|
|
|
'action': ['python', 'build/mac_toolchain.py'],
|
2019-04-01 23:35:53 +03:00
|
|
|
},
|
2018-04-13 22:51:24 +03:00
|
|
|
|
2017-08-29 05:53:24 +03:00
|
|
|
{
|
|
|
|
# Note: On Win, this should run after win_toolchain, as it may use it.
|
|
|
|
'name': 'clang',
|
|
|
|
'pattern': '.',
|
2019-10-11 00:46:54 +03:00
|
|
|
'action': ['python', 'tools/clang/scripts/update.py'],
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
2017-08-29 05:53:24 +03:00
|
|
|
},
|
2017-10-24 06:25:17 +03:00
|
|
|
|
2018-10-05 18:00:50 +03:00
|
|
|
{
|
|
|
|
# Update LASTCHANGE.
|
|
|
|
'name': 'lastchange',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'not build_with_chromium',
|
2019-10-11 00:46:54 +03:00
|
|
|
'action': ['python', 'build/util/lastchange.py',
|
|
|
|
'-o', 'build/util/LASTCHANGE'],
|
2018-10-05 18:00:50 +03:00
|
|
|
},
|
|
|
|
|
2017-10-24 06:25:17 +03:00
|
|
|
# Pull rc binaries using checked-in hashes.
|
|
|
|
{
|
|
|
|
'name': 'rc_win',
|
|
|
|
'pattern': '.',
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'checkout_win and (host_os == "win" and not build_with_chromium)',
|
2017-10-24 06:25:17 +03:00
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-browser-clang/rc',
|
2019-10-11 00:46:54 +03:00
|
|
|
'-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
|
2017-10-24 06:25:17 +03:00
|
|
|
],
|
|
|
|
},
|
2019-01-22 02:09:15 +03:00
|
|
|
|
|
|
|
{
|
|
|
|
'name': 'fuchsia_sdk',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'checkout_fuchsia and not build_with_chromium',
|
|
|
|
'action': [
|
|
|
|
'python',
|
2019-10-11 00:46:54 +03:00
|
|
|
'build/fuchsia/update_sdk.py',
|
2019-01-22 02:09:15 +03:00
|
|
|
],
|
|
|
|
},
|
2019-04-08 16:25:23 +03:00
|
|
|
|
2019-04-05 22:56:03 +03:00
|
|
|
# Download glslang validator binary for Linux.
|
|
|
|
{
|
|
|
|
'name': 'linux_glslang_validator',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'checkout_linux and not build_with_chromium',
|
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--platform=linux*',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'angle-glslang-validator',
|
2019-10-11 00:46:54 +03:00
|
|
|
'-s', 'tools/glslang/glslang_validator.sha1',
|
2019-04-05 22:56:03 +03:00
|
|
|
],
|
|
|
|
},
|
|
|
|
|
2019-04-08 16:25:23 +03:00
|
|
|
# Download glslang validator binary for Windows.
|
|
|
|
{
|
|
|
|
'name': 'win_glslang_validator',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'checkout_win and not build_with_chromium',
|
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--platform=win32*',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'angle-glslang-validator',
|
2019-10-11 00:46:54 +03:00
|
|
|
'-s', 'tools/glslang/glslang_validator.exe.sha1',
|
2019-04-08 16:25:23 +03:00
|
|
|
],
|
|
|
|
},
|
2019-11-26 00:14:55 +03:00
|
|
|
|
|
|
|
# Download flex/bison binaries for Linux.
|
|
|
|
{
|
|
|
|
'name': 'linux_flex_bison',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'checkout_linux and not build_with_chromium',
|
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--platform=linux*',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'angle-flex-bison',
|
|
|
|
'-d', 'tools/flex-bison/linux/',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
|
|
|
|
# Download flex/bison binaries for Windows.
|
|
|
|
{
|
|
|
|
'name': 'win_flex_bison',
|
|
|
|
'pattern': '.',
|
|
|
|
'condition': 'checkout_win and not build_with_chromium',
|
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--platform=win32*',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'angle-flex-bison',
|
|
|
|
'-d', 'tools/flex-bison/windows/',
|
|
|
|
],
|
|
|
|
},
|
2020-01-08 23:04:44 +03:00
|
|
|
|
|
|
|
# Download internal captures for perf tests
|
|
|
|
{
|
|
|
|
'name': 'restricted_traces',
|
|
|
|
'pattern': '\\.sha1',
|
|
|
|
'condition': 'checkout_angle_internal',
|
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--directory',
|
|
|
|
'--recursive',
|
|
|
|
'--extract',
|
|
|
|
'--bucket', 'chrome-angle-capture-binaries',
|
2020-02-15 17:24:03 +03:00
|
|
|
'src/tests/perf_tests/restricted_traces',
|
2020-01-08 23:04:44 +03:00
|
|
|
]
|
|
|
|
}
|
2010-04-06 19:42:22 +04:00
|
|
|
]
|
2016-10-28 21:05:26 +03:00
|
|
|
|
|
|
|
recursedeps = [
|
|
|
|
# buildtools provides clang_format.
|
2019-10-11 00:46:54 +03:00
|
|
|
'buildtools',
|
2019-10-25 16:00:41 +03:00
|
|
|
'third_party/googletest',
|
2019-10-26 15:16:12 +03:00
|
|
|
'third_party/jsoncpp',
|
2016-10-28 21:05:26 +03:00
|
|
|
]
|