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.
|
|
|
|
# We overload Chromium's 'src-internal' for simplicity.
|
|
|
|
# TOOD(ynovikov): Use checkout_angle_internal custom variable instead.
|
2019-06-28 18:14:31 +03:00
|
|
|
'checkout_src_internal': False,
|
|
|
|
|
2019-10-12 00:49:24 +03:00
|
|
|
# Version of Chromium our Chromium-based DEPS are mirrored from.
|
2019-10-11 02:13:07 +03:00
|
|
|
'chromium_revision': '9325340209749c1ff4eb198a8f7176c0a16dea6d',
|
2019-10-12 00:49:24 +03:00
|
|
|
|
2018-06-01 21:18:28 +03:00
|
|
|
# Current revision of dEQP.
|
2019-06-28 20:58:50 +03:00
|
|
|
'deqp_revision': 'd3eef28e67ce6795ba3a2124aaa977819729d45f',
|
2018-06-01 21:18:28 +03:00
|
|
|
|
|
|
|
# Current revision of glslang, the Khronos SPIRV compiler.
|
2019-10-24 10:01:09 +03:00
|
|
|
'glslang_revision': '7662586844f46f8f454f1db4a26e1d705a302e36',
|
2018-06-01 21:18:28 +03:00
|
|
|
|
|
|
|
# Current revision fo the SPIRV-Headers Vulkan support library.
|
2019-09-30 10:01:54 +03:00
|
|
|
'spirv_headers_revision': '842ec90674627ed2ffef609e3cd79d1562eded01',
|
2018-06-01 21:18:28 +03:00
|
|
|
|
|
|
|
# Current revision of SPIRV-Tools for Vulkan.
|
2019-10-11 10:01:21 +03:00
|
|
|
'spirv_tools_revision': 'feb154921397dc8c43c130a6b5c123efdb432a9b',
|
2018-06-01 21:18:28 +03:00
|
|
|
|
2018-05-24 19:56:17 +03:00
|
|
|
# Current revision of Khronos Vulkan-Headers.
|
2019-10-18 00:26:03 +03:00
|
|
|
'vulkan_headers_revision': 'd287523f48dba1b669866c5d6625b29931948e39',
|
2018-05-24 19:56:17 +03:00
|
|
|
|
|
|
|
# Current revision of Khronos Vulkan-Loader.
|
2019-10-23 21:07:41 +03:00
|
|
|
'vulkan_loader_revision': '96bd3651364f3145d7b8d495497f40f376e37a81',
|
2018-05-24 19:56:17 +03:00
|
|
|
|
|
|
|
# Current revision of Khronos Vulkan-Tools.
|
Reland "Vulkan: Use VK repos' internal BUILD.gn files"
This is a reland of 552f5fcb0d8fcc615856ce3b678190e1cbdd38e6
There was a missing build dependence causing a build no-op
issue which has now been fixed in the upstream Vulkan Validation
Layer repo.
Primary workaround that need to be re-visted and fixed are:
1. Disabled validation layers on 32-bit Windows
2. Disabled validation layers on 32-bit Android
3. Disabled DebugUtils on Android, using DebugReport instead
4. Using custom VK Loader branch to avoid WDK dependence
Original change's description:
> Vulkan: Use VK repos' internal BUILD.gn files
>
> This retires custom BUILD.gn files for the Vulkan Headers, Tools,
> Validation-Layers, and Loader repos. They now have integrated BUILD.gn
> files so switched ANGLE to use those by default.
> Also Validation Layer, Loader, and Tools repos no longer uses codegen
> so this speeds up the build overall.
> Switched over from old VK_LAYER_LUNARG_standard_validation meta-layer
> to VK_LAYER_KHRONOS_validation unified layer.
>
> This changes includes a temporary workaround to the Vulkan-Loader repo
> to remove its Window's build dependence on WDK. There are plans to
> remove that depenedence in Loader master, but until then we can use
> our custom branch workaround.
> It also includes a custom branch for validation layers that includes
> some build fixes for ANGLE.
> Finally, the layers were crashing on Android when attempting to use
> DebugUtils extension so forcing DebugReport on Android for now.
>
> Bug: angleproject:2449
> Bug: angleproject:3320
> Bug: angleproject:3852
> Bug: angleproject:3924
> Bug: angleproject:3925
> Bug: angleproject:3946
> Bug: chromium:997009
> Bug: chromium:997016
> Change-Id: I48b36acefcc7f2bc930eb72d6fdbc87bca24f833
> Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1610438
> Reviewed-by: Shahbaz Youssefi <syoussefi@chromium.org>
> Reviewed-by: Jamie Madill <jmadill@chromium.org>
> Commit-Queue: Tobin Ehlis <tobine@google.com>
Bug: angleproject:2449, angleproject:3320, angleproject:3852
Change-Id: I373ada091a1329db5e304874079428d01ba21d52
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/1778302
Reviewed-by: Tobin Ehlis <tobine@google.com>
Commit-Queue: Tobin Ehlis <tobine@google.com>
2019-07-19 00:10:49 +03:00
|
|
|
'vulkan_tools_revision': '40cd2166a44647a4283517e31af4589410c654eb',
|
2018-05-24 19:56:17 +03:00
|
|
|
|
|
|
|
# Current revision of Khronos Vulkan-ValidationLayers.
|
2019-10-22 19:32:04 +03:00
|
|
|
'vulkan_validation_revision': 'f8ea20adee82d262134fc3fa1a417a6e86fdff23',
|
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': {
|
2019-10-11 02:13:07 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/build.git@592281c03c6bea25793f116bb442ec2dae991429',
|
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': {
|
2019-10-09 23:45:13 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/buildtools.git@cf454b247c611167388742c7a31ef138a6031172',
|
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': {
|
2019-10-11 02:13:07 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/testing@6752fa027a3f042ec12afc5cdae0fb093376aaf0',
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
2012-05-17 03:37:50 +04:00
|
|
|
|
2015-10-02 15:57:14 +03:00
|
|
|
# Cherry is a dEQP 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
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'third_party/deqp/src': {
|
2019-01-29 02:15:43 +03:00
|
|
|
'url': '{chromium_git}/external/deqp@{deqp_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',
|
|
|
|
'condition': 'checkout_src_internal',
|
|
|
|
},
|
|
|
|
|
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': {
|
2019-08-09 05:40:48 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/third_party/googletest@c721b68ddecc18bbc6b763b2fe8ab802c22f228a',
|
2019-02-13 17:15:26 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'third_party/googletest/src': {
|
2019-10-11 02:13:07 +03:00
|
|
|
'url': '{chromium_git}/external/github.com/google/googletest.git@f2fb48c3b3d79a75a88a99fba6576b25d42ec528',
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
2017-10-11 20:28:22 +03:00
|
|
|
|
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': {
|
2019-10-11 02:13:07 +03:00
|
|
|
'url': '{chromium_git}/chromium/deps/libjpeg_turbo.git@9d3bf3e9680156c48041c8b90fece504e3539a61',
|
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': {
|
2019-08-09 05:40:48 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/third_party/jsoncpp@48246a099549ab325c01f69f24a34fc72e5c42e4',
|
2019-01-28 17:55:20 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
2018-09-06 17:58:26 +03:00
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'third_party/jsoncpp/source': {
|
2019-10-12 00:49:24 +03:00
|
|
|
'url' : '{chromium_git}/external/github.com/open-source-parsers/jsoncpp.git@645250b6690785be60ab6780ce4b58698d884d11',
|
2019-01-28 17:55:20 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
2018-08-28 18:20:57 +03:00
|
|
|
|
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-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': {
|
2019-10-24 10:01:19 +03:00
|
|
|
'url': '{swiftshader_git}/SwiftShader@883e817b14bfc4f644dbcc3fb9d2c5b988bbe71f',
|
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/yasm': {
|
2019-10-09 23:45:13 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/third_party/yasm@cc10bc0f1d96a4bae0e775f2ac2b6ac5b08078c6',
|
2019-03-05 18:07:41 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'third_party/yasm/source/patched-yasm': {
|
2019-03-05 18:07:41 +03:00
|
|
|
'url': '{chromium_git}/chromium/deps/yasm/patched-yasm.git@720b70524a4424b15fc57e82263568c8ba0496ad',
|
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'third_party/zlib': {
|
2019-10-09 23:45:13 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/third_party/zlib@ddebad26cfadeb4ecdfe3da8beb396a85cf90c91',
|
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': {
|
2019-10-09 23:45:13 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/tools/clang.git@6bc727d9d80f2c3a97587676bb38c5472afe7e60',
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
2019-01-22 02:09:15 +03:00
|
|
|
|
2019-10-11 00:46:54 +03:00
|
|
|
'tools/md_browser': {
|
2019-08-09 05:40:48 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/tools/md_browser@0bfd826f8566a99923e64a782908faca72bc457c',
|
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',
|
|
|
|
},
|
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
|
|
|
],
|
|
|
|
},
|
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',
|
2016-10-28 21:05:26 +03:00
|
|
|
]
|