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',
|
2018-04-13 22:51:24 +03:00
|
|
|
|
2018-09-12 20:36:57 +03:00
|
|
|
# This variable is set on the Chrome infra for compatiblity with gclient.
|
|
|
|
'angle_root': '.',
|
|
|
|
|
2018-06-01 21:18:28 +03:00
|
|
|
# This variable is overrided in Chromium's DEPS file.
|
|
|
|
'build_with_chromium': False,
|
|
|
|
|
|
|
|
# Current revision of dEQP.
|
2019-01-29 02:15:43 +03:00
|
|
|
'deqp_revision': '66a49e0a43f7af654ee1de8a3b1bcaf6c0d14aa4',
|
2018-06-01 21:18:28 +03:00
|
|
|
|
|
|
|
# Current revision of glslang, the Khronos SPIRV compiler.
|
2019-02-26 18:00:54 +03:00
|
|
|
'glslang_revision': 'f6e7c4d2de0d59724ea07739df70c466d169a2cd',
|
2018-06-01 21:18:28 +03:00
|
|
|
|
|
|
|
# Current revision fo the SPIRV-Headers Vulkan support library.
|
2019-02-26 18:00:54 +03:00
|
|
|
'spirv_headers_revision': '8bea0a266ac9b718aa0818d9e3a47c0b77c2cb23',
|
2018-06-01 21:18:28 +03:00
|
|
|
|
|
|
|
# Current revision of SPIRV-Tools for Vulkan.
|
2019-02-13 17:15:26 +03:00
|
|
|
'spirv_tools_revision': 'fde69dcd80cc1ca548300702adf01eeb25441f3e',
|
2018-06-01 21:18:28 +03:00
|
|
|
|
2018-05-24 19:56:17 +03:00
|
|
|
# Current revision of Khronos Vulkan-Headers.
|
2019-02-26 18:00:54 +03:00
|
|
|
'vulkan_headers_revision': 'c200cb25db0f47364d3318d92c1d8e9dfff2fef1',
|
2018-05-24 19:56:17 +03:00
|
|
|
|
|
|
|
# Current revision of Khronos Vulkan-Loader.
|
2019-02-26 18:00:54 +03:00
|
|
|
'vulkan_loader_revision': 'e1eafa18e17d00374253bcd37d015befa89fcc43',
|
2018-05-24 19:56:17 +03:00
|
|
|
|
|
|
|
# Current revision of Khronos Vulkan-Tools.
|
2019-02-26 18:00:54 +03:00
|
|
|
'vulkan_tools_revision': '91b17fd866b2e9cfb875bf516b05536d059416b1',
|
2018-05-24 19:56:17 +03:00
|
|
|
|
|
|
|
# Current revision of Khronos Vulkan-ValidationLayers.
|
2019-02-26 18:00:54 +03:00
|
|
|
'vulkan_validation_revision': '4eee269ae976567ef78db9c9feaafc3364578c87',
|
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
|
|
|
|
2018-09-12 20:36:57 +03:00
|
|
|
'{angle_root}/build': {
|
2019-01-22 02:09:15 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/build.git@9a53be87ebb636c35f2ed9772e5deaeb350d790b',
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
2017-08-29 05:53:24 +03:00
|
|
|
|
2018-09-12 20:36:57 +03:00
|
|
|
'{angle_root}/buildtools': {
|
2019-01-22 02:09:15 +03:00
|
|
|
'url': '{chromium_git}/chromium/buildtools.git@6fbda1b24c1893a893b17aa219b765b9e7c801d8',
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
2017-08-29 05:53:24 +03:00
|
|
|
|
2018-09-12 20:36:57 +03:00
|
|
|
'{angle_root}/testing': {
|
2018-11-19 01:03:19 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/testing@7bdda3c6577f21fd0ec986a0383ecfce28f5d761',
|
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.
|
2018-09-12 20:36:57 +03:00
|
|
|
'{angle_root}/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
|
|
|
|
2018-09-12 20:36:57 +03:00
|
|
|
'{angle_root}/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
|
|
|
|
2018-09-12 20:36:57 +03:00
|
|
|
'{angle_root}/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',
|
|
|
|
},
|
2016-12-13 23:18:58 +03:00
|
|
|
|
2019-02-13 17:15:26 +03:00
|
|
|
'{angle_root}/third_party/googletest': {
|
|
|
|
'url': '{chromium_git}/chromium/src/third_party/googletest@660425b1c5ca04559ab7e50c7572b5b771acca1c',
|
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
|
|
|
|
2018-09-12 20:36:57 +03:00
|
|
|
'{angle_root}/third_party/googletest/src': {
|
2019-02-13 17:15:26 +03:00
|
|
|
'url': '{chromium_git}/external/github.com/google/googletest.git@7203f37f57e4fef0d77670098aabc186309eb874',
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
2017-10-11 20:28:22 +03:00
|
|
|
|
2018-09-12 20:36:57 +03:00
|
|
|
'{angle_root}/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
|
|
|
|
2018-09-12 20:36:57 +03:00
|
|
|
'{angle_root}/third_party/jsoncpp': {
|
2018-09-06 17:58:26 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/third_party/jsoncpp@fd0ac8ce63a47e99b71a58f1489136fbb19c9137',
|
2019-01-28 17:55:20 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
2018-09-06 17:58:26 +03:00
|
|
|
|
2018-09-12 20:36:57 +03:00
|
|
|
'{angle_root}/third_party/jsoncpp/source': {
|
2019-01-28 17:55:20 +03:00
|
|
|
'url' : '{chromium_git}/external/github.com/open-source-parsers/jsoncpp@f572e8e42e22cfcf5ab0aea26574f408943edfa4',
|
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
2018-08-28 18:20:57 +03:00
|
|
|
|
2019-01-22 02:09:15 +03:00
|
|
|
'{angle_root}/third_party/qemu-linux-x64': {
|
|
|
|
'packages': [
|
|
|
|
{
|
|
|
|
'package': 'fuchsia/qemu/linux-amd64',
|
|
|
|
'version': '9cc486c5b18a0be515c39a280ca9a309c54cf994'
|
|
|
|
},
|
|
|
|
],
|
|
|
|
'condition': 'not build_with_chromium and (host_os == "linux" and checkout_fuchsia)',
|
|
|
|
'dep_type': 'cipd',
|
|
|
|
},
|
|
|
|
|
|
|
|
'{angle_root}/third_party/qemu-mac-x64': {
|
|
|
|
'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
|
|
|
|
|
|
|
'{angle_root}/third_party/rapidjson/src': {
|
|
|
|
'url': '{chromium_git}/external/github.com/Tencent/rapidjson@7484e06c589873e1ed80382d262087e4fa80fb63',
|
|
|
|
},
|
2019-01-22 02:09:15 +03:00
|
|
|
|
2018-09-12 20:36:57 +03:00
|
|
|
'{angle_root}/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
|
|
|
|
2018-09-12 20:36:57 +03:00
|
|
|
'{angle_root}/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
|
|
|
|
2018-09-12 20:36:57 +03:00
|
|
|
'{angle_root}/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}',
|
|
|
|
},
|
|
|
|
|
2018-09-12 20:36:57 +03:00
|
|
|
'{angle_root}/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}',
|
|
|
|
},
|
|
|
|
|
2018-09-12 20:36:57 +03:00
|
|
|
'{angle_root}/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}',
|
|
|
|
},
|
|
|
|
|
2018-09-12 20:36:57 +03:00
|
|
|
'{angle_root}/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
|
|
|
|
2018-09-12 20:36:57 +03:00
|
|
|
'{angle_root}/third_party/zlib': {
|
2018-12-17 22:04:10 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/third_party/zlib@f95aeb0fa7f136ef4a457a6d9ba6f3c2701a444b',
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
2017-08-29 05:53:24 +03:00
|
|
|
|
2018-09-12 20:36:57 +03:00
|
|
|
'{angle_root}/tools/clang': {
|
2019-02-01 22:16:32 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/tools/clang.git@3114fbc11f9644c54dd0a4cdbfa867bac50ff983',
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
2019-01-22 02:09:15 +03:00
|
|
|
|
|
|
|
'{angle_root}/third_party/fuchsia-sdk': {
|
|
|
|
'url': '{chromium_git}/chromium/src/third_party/fuchsia-sdk.git@8e8db13b538ecb251e5ce9d5c781fc142f9752fd',
|
|
|
|
'condition': 'checkout_fuchsia and 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',
|
2018-09-12 20:36:57 +03:00
|
|
|
'-s', '{angle_root}/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',
|
2018-09-12 20:36:57 +03:00
|
|
|
'-s', '{angle_root}/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',
|
2018-09-12 20:36:57 +03:00
|
|
|
'-s', '{angle_root}/buildtools/linux64/clang-format.sha1',
|
2015-07-20 17:14:54 +03:00
|
|
|
],
|
|
|
|
},
|
2016-02-05 23:28:24 +03:00
|
|
|
# Pull GN binaries using checked-in hashes.
|
|
|
|
{
|
|
|
|
'name': 'gn_win',
|
|
|
|
'pattern': '.',
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'host_os == "win" and not build_with_chromium',
|
2016-02-05 23:28:24 +03:00
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--platform=win32',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-gn',
|
2018-09-12 20:36:57 +03:00
|
|
|
'-s', '{angle_root}/buildtools/win/gn.exe.sha1',
|
2016-02-05 23:28:24 +03:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'gn_mac',
|
|
|
|
'pattern': '.',
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'host_os == "mac" and not build_with_chromium',
|
2016-02-05 23:28:24 +03:00
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--platform=darwin',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-gn',
|
2018-09-12 20:36:57 +03:00
|
|
|
'-s', '{angle_root}/buildtools/mac/gn.sha1',
|
2016-02-05 23:28:24 +03:00
|
|
|
],
|
|
|
|
},
|
|
|
|
{
|
|
|
|
'name': 'gn_linux64',
|
|
|
|
'pattern': '.',
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'host_os == "linux" and not build_with_chromium',
|
2016-02-05 23:28:24 +03:00
|
|
|
'action': [ 'download_from_google_storage',
|
|
|
|
'--no_resume',
|
|
|
|
'--platform=linux*',
|
|
|
|
'--no_auth',
|
|
|
|
'--bucket', 'chromium-gn',
|
2018-09-12 20:36:57 +03:00
|
|
|
'-s', '{angle_root}/buildtools/linux64/gn.sha1',
|
2016-02-05 23:28:24 +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)',
|
2018-09-12 20:36:57 +03:00
|
|
|
'action': ['python', '{angle_root}/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)',
|
2018-09-12 20:36:57 +03:00
|
|
|
'action': ['python', '{angle_root}/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',
|
2018-09-12 20:36:57 +03:00
|
|
|
'action': ['python', '{angle_root}/build/vs_toolchain.py', 'update', '--force'],
|
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': '.',
|
2018-09-12 20:36:57 +03:00
|
|
|
'action': ['python', '{angle_root}/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',
|
|
|
|
'action': ['python', '{angle_root}/build/util/lastchange.py',
|
|
|
|
'-o', '{angle_root}/build/util/LASTCHANGE'],
|
|
|
|
},
|
|
|
|
|
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',
|
2018-09-12 20:36:57 +03:00
|
|
|
'-s', '{angle_root}/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',
|
|
|
|
'{angle_root}/build/fuchsia/update_sdk.py',
|
|
|
|
],
|
|
|
|
},
|
2010-04-06 19:42:22 +04:00
|
|
|
]
|
2016-10-28 21:05:26 +03:00
|
|
|
|
|
|
|
recursedeps = [
|
|
|
|
# buildtools provides clang_format.
|
2018-09-12 20:36:57 +03:00
|
|
|
'{angle_root}/buildtools',
|
2016-10-28 21:05:26 +03:00
|
|
|
]
|