2018-09-11 15:09:37 +03:00
|
|
|
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',
|
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,
|
|
|
|
|
|
|
|
# Current revision of dEQP.
|
2018-06-05 21:37:00 +03:00
|
|
|
'deqp_revision': '4c0f2a4fba813e1046115c43c887eccb749b7bb3',
|
2018-06-01 21:18:28 +03:00
|
|
|
|
|
|
|
# Current revision of glslang, the Khronos SPIRV compiler.
|
2018-08-30 00:17:05 +03:00
|
|
|
'glslang_revision': '312dcfb070a7274066d3e85e10970f57b1e3af6e',
|
2018-06-01 21:18:28 +03:00
|
|
|
|
|
|
|
# Current revision fo the SPIRV-Headers Vulkan support library.
|
2018-07-09 23:43:16 +03:00
|
|
|
'spirv_headers_revision': 'ff684ffc6a35d2a58f0f63108877d0064ea33feb',
|
2018-06-01 21:18:28 +03:00
|
|
|
|
|
|
|
# Current revision of SPIRV-Tools for Vulkan.
|
2018-07-09 23:43:16 +03:00
|
|
|
'spirv_tools_revision': '48326d443e434f55eb50a7cfc9acdc968daad5e3',
|
2018-06-01 21:18:28 +03:00
|
|
|
|
2018-05-24 19:56:17 +03:00
|
|
|
# Current revision of Khronos Vulkan-Headers.
|
2018-08-30 00:17:05 +03:00
|
|
|
'vulkan_headers_revision': 'db09f95ac00e44149f3894bf82c918e58277cfdb',
|
2018-05-24 19:56:17 +03:00
|
|
|
|
|
|
|
# Current revision of Khronos Vulkan-Loader.
|
2018-08-30 00:17:05 +03:00
|
|
|
'vulkan_loader_revision': '808c5cb8f5b420adb3cf5e28aee6b6112076e27c',
|
2018-05-24 19:56:17 +03:00
|
|
|
|
|
|
|
# Current revision of Khronos Vulkan-Tools.
|
2018-08-30 00:17:05 +03:00
|
|
|
'vulkan_tools_revision': '31030a11a6425701566d8f5194b528f4d911eab5',
|
2018-05-24 19:56:17 +03:00
|
|
|
|
|
|
|
# Current revision of Khronos Vulkan-ValidationLayers.
|
2018-08-30 00:17:05 +03:00
|
|
|
'vulkan_validation_revision': '1ffea21fdebb90f314274b8b7dadaae0ca1ffe65',
|
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-11 15:09:37 +03:00
|
|
|
'build': {
|
2018-08-23 03:08:47 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/build.git@ee922ea8f8ed211d485add7906a64ccd2ffc358b',
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
2017-08-29 05:53:24 +03:00
|
|
|
|
2018-09-11 15:09:37 +03:00
|
|
|
'buildtools': {
|
2018-08-14 22:58:12 +03:00
|
|
|
'url': '{chromium_git}/chromium/buildtools.git@2dff9c9c74e9d732e6fe57c84ef7fd044cc45d96',
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
2017-08-29 05:53:24 +03:00
|
|
|
|
2018-09-11 15:09:37 +03:00
|
|
|
'testing': {
|
2018-08-23 03:08:47 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/testing@f6b3243e8ba941f4dfa6b579137738803f43aa18',
|
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-11 15:09:37 +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
|
|
|
|
2018-09-11 15:09:37 +03:00
|
|
|
'third_party/deqp/src': {
|
2018-06-01 21:18:28 +03:00
|
|
|
'url': '{android_git}/platform/external/deqp@{deqp_revision}',
|
|
|
|
},
|
2016-12-13 23:18:58 +03:00
|
|
|
|
2018-09-11 15:09:37 +03:00
|
|
|
'third_party/glslang/src': {
|
2018-06-02 00:03:40 +03:00
|
|
|
'url': '{android_git}/platform/external/shaderc/glslang@{glslang_revision}',
|
2018-06-01 21:18:28 +03:00
|
|
|
},
|
2016-12-13 23:18:58 +03:00
|
|
|
|
2018-09-11 15:09:37 +03:00
|
|
|
'third_party/googletest/src': {
|
2018-06-01 21:18:28 +03:00
|
|
|
'url': '{chromium_git}/external/github.com/google/googletest.git@145d05750b15324899473340c8dd5af50d125d33',
|
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
2017-10-11 20:28:22 +03:00
|
|
|
|
2018-09-11 15:09:37 +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
|
|
|
|
2018-09-11 15:09:37 +03:00
|
|
|
'third_party/jsoncpp': {
|
2018-09-06 17:58:26 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/third_party/jsoncpp@fd0ac8ce63a47e99b71a58f1489136fbb19c9137',
|
|
|
|
},
|
|
|
|
|
2018-09-11 15:09:37 +03:00
|
|
|
'third_party/jsoncpp/source': {
|
2018-09-06 17:58:26 +03:00
|
|
|
'url' : '{chromium_git}/external/github.com/open-source-parsers/jsoncpp@f572e8e42e22cfcf5ab0aea26574f408943edfa4'
|
2018-08-28 18:20:57 +03:00
|
|
|
},
|
|
|
|
|
2018-09-11 15:09:37 +03:00
|
|
|
'third_party/spirv-headers/src': {
|
2018-06-02 00:03:40 +03:00
|
|
|
'url': '{android_git}/platform/external/shaderc/spirv-headers@{spirv_headers_revision}',
|
2018-06-01 21:18:28 +03:00
|
|
|
},
|
2015-07-20 17:14:54 +03:00
|
|
|
|
2018-09-11 15:09:37 +03:00
|
|
|
'third_party/spirv-tools/src': {
|
2018-06-02 00:03:40 +03:00
|
|
|
'url': '{android_git}/platform/external/shaderc/spirv-tools@{spirv_tools_revision}',
|
2018-06-01 21:18:28 +03:00
|
|
|
},
|
2016-12-13 23:18:58 +03:00
|
|
|
|
2018-09-11 15:09:37 +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}',
|
|
|
|
},
|
|
|
|
|
2018-09-11 15:09:37 +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}',
|
|
|
|
},
|
|
|
|
|
2018-09-11 15:09:37 +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}',
|
|
|
|
},
|
|
|
|
|
2018-09-11 15:09:37 +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
|
|
|
|
2018-09-11 15:09:37 +03:00
|
|
|
'third_party/zlib': {
|
2018-08-23 03:08:47 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/third_party/zlib@de0fe056df0577ea69cbf5f46dfe66debe046e5c',
|
2018-06-01 21:18:28 +03:00
|
|
|
'condition': 'not build_with_chromium',
|
|
|
|
},
|
2017-08-29 05:53:24 +03:00
|
|
|
|
2018-09-11 15:09:37 +03:00
|
|
|
'tools/clang': {
|
2018-08-23 03:08:47 +03:00
|
|
|
'url': '{chromium_git}/chromium/src/tools/clang.git@99ac9bf4ad0d629e1168a0bda9a82f87062ce106',
|
2018-06-01 21:18:28 +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',
|
2018-09-11 15:09:37 +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',
|
2018-09-11 15:09:37 +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',
|
2018-09-11 15:09:37 +03:00
|
|
|
'-s', '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-11 15:09:37 +03:00
|
|
|
'-s', '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-11 15:09:37 +03:00
|
|
|
'-s', '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-11 15:09:37 +03:00
|
|
|
'-s', '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-11 15:09:37 +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)',
|
2018-09-11 15:09:37 +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',
|
2018-09-11 15:09:37 +03:00
|
|
|
'action': ['python', '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-11 15:09:37 +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
|
|
|
|
|
|
|
# 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-11 15:09:37 +03:00
|
|
|
'-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
|
2017-10-24 06:25:17 +03:00
|
|
|
],
|
|
|
|
},
|
2010-04-06 19:42:22 +04:00
|
|
|
]
|
2016-10-28 21:05:26 +03:00
|
|
|
|
|
|
|
recursedeps = [
|
|
|
|
# buildtools provides clang_format.
|
2018-09-11 15:09:37 +03:00
|
|
|
'buildtools',
|
2016-10-28 21:05:26 +03:00
|
|
|
]
|