dawn-cmake/DEPS

235 lines
7.4 KiB
Plaintext
Raw Normal View History

use_relative_paths = True
use_relative_hooks = True
vars = {
'chromium_git': 'https://chromium.googlesource.com',
'dawn_git': 'https://dawn.googlesource.com',
'github_git': 'https://github.com',
'dawn_standalone': True,
}
deps = {
# Dependencies required to use GN/Clang in standalone
'build': {
'url': '{chromium_git}/chromium/src/build@e439f6082423106f1fe2afa7e22f8fd4c00691df',
'condition': 'dawn_standalone',
},
'buildtools': {
'url': '{chromium_git}/chromium/buildtools@24ebce4578745db15274e180da1938ebc1358243',
'condition': 'dawn_standalone',
},
'tools/clang': {
'url': '{chromium_git}/chromium/src/tools/clang@1d879cee563167a2b18baffb096cf9e29f2f9376',
'condition': 'dawn_standalone',
},
'third_party/binutils': {
'url': '{chromium_git}/chromium/src/third_party/binutils@2be73f7fbf783d7a0b288e174a5773b67c7656bc',
'condition': 'dawn_standalone',
},
# Testing, GTest and GMock
'testing': {
'url': '{chromium_git}/chromium/src/testing@b07830f6905ce9e33034ad14820bc0a58b6e9e41',
'condition': 'dawn_standalone',
},
'third_party/googletest': {
'url': '{chromium_git}/external/github.com/google/googletest@5ec7f0c4a113e2f18ac2c6cc7df51ad6afc24081',
'condition': 'dawn_standalone',
},
# Jinja2 and MarkupSafe for the code generator
'third_party/jinja2': {
'url': '{chromium_git}/chromium/src/third_party/jinja2@b41863e42637544c2941b574c7877d3e1f663e25',
'condition': 'dawn_standalone',
},
'third_party/markupsafe': {
'url': '{chromium_git}/chromium/src/third_party/markupsafe@8f45f5cfa0009d2a70589bcda0349b8cb2b72783',
'condition': 'dawn_standalone',
},
# SPIRV-Cross
'third_party/spirv-cross': {
Rolling 4 dependencies Roll third_party/SPIRV-Tools/ 5a93e0739..0c4feb643 (5 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools/+log/5a93e0739297..0c4feb643b89 $ git log 5a93e0739..0c4feb643 --date=short --no-merges --format='%ad %ae %s' 2019-07-08 33432579+alan-baker Remove extra semis (#2717) 2019-07-08 33432579+alan-baker Validate usage of 8- and 16-bit types with only storage capabilities (#2704) 2019-07-07 afdx Shrinker for spirv-fuzz (#2708) 2019-07-04 stevenperron Perform merge return with single return in loop. (#2714) 2019-07-04 stevenperron Do not inline OpKill Instructions (#2713) Roll third_party/glslang/ 4b4b41a63..8aa9a7bb8 (1 commit) https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang/+log/4b4b41a63499..8aa9a7bb8f74 $ git log 4b4b41a63..8aa9a7bb8 --date=short --no-merges --format='%ad %ae %s' 2019-07-06 rex.xu Change implementation of gl_SIMDGroupSizeAMD Roll third_party/shaderc/ 77d7b65ee..e9bb8f287 (2 commits) https://chromium.googlesource.com/external/github.com/google/shaderc/+log/77d7b65ee2a1..e9bb8f287417 $ git log 77d7b65ee..e9bb8f287 --date=short --no-merges --format='%ad %ae %s' 2019-07-08 zoddicus Add verbose flag to run_spirv_cross_tests.py (#753) 2019-07-08 zoddicus Rolling 4 dependencies and update known_failures (#755) Roll third_party/spirv-cross/ c5904dd24..53ab2144b (5 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross/+log/c5904dd245ce..53ab2144b90a $ git log c5904dd24..53ab2144b --date=short --no-merges --format='%ad %ae %s' 2019-07-08 post Fall back to complex loop if non-trivial continue block is found. 2019-07-08 post Add test shaders for NonUniformEXT propagation. 2019-07-08 post Propagate NonUniformEXT to dependent expressions. 2019-07-05 post Add simple test for extended debug operations. 2019-07-04 lifeng.pan Parse SPIR-V debug information extended instructions, as well as OpNoLine. Created with: roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers Change-Id: Iabdabe4f0b25f89cbc41f8fbf55bd588b374ba44 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/8740 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-07-09 15:29:29 +00:00
'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Cross@53ab2144b90abede33be5161aec5dfc94ddc3caf',
'condition': 'dawn_standalone',
},
# SPIRV compiler dependencies: SPIRV-Tools, SPIRV-headers, glslang and shaderc
'third_party/SPIRV-Tools': {
Rolling 4 dependencies Roll third_party/SPIRV-Tools/ 5a93e0739..0c4feb643 (5 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools/+log/5a93e0739297..0c4feb643b89 $ git log 5a93e0739..0c4feb643 --date=short --no-merges --format='%ad %ae %s' 2019-07-08 33432579+alan-baker Remove extra semis (#2717) 2019-07-08 33432579+alan-baker Validate usage of 8- and 16-bit types with only storage capabilities (#2704) 2019-07-07 afdx Shrinker for spirv-fuzz (#2708) 2019-07-04 stevenperron Perform merge return with single return in loop. (#2714) 2019-07-04 stevenperron Do not inline OpKill Instructions (#2713) Roll third_party/glslang/ 4b4b41a63..8aa9a7bb8 (1 commit) https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang/+log/4b4b41a63499..8aa9a7bb8f74 $ git log 4b4b41a63..8aa9a7bb8 --date=short --no-merges --format='%ad %ae %s' 2019-07-06 rex.xu Change implementation of gl_SIMDGroupSizeAMD Roll third_party/shaderc/ 77d7b65ee..e9bb8f287 (2 commits) https://chromium.googlesource.com/external/github.com/google/shaderc/+log/77d7b65ee2a1..e9bb8f287417 $ git log 77d7b65ee..e9bb8f287 --date=short --no-merges --format='%ad %ae %s' 2019-07-08 zoddicus Add verbose flag to run_spirv_cross_tests.py (#753) 2019-07-08 zoddicus Rolling 4 dependencies and update known_failures (#755) Roll third_party/spirv-cross/ c5904dd24..53ab2144b (5 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross/+log/c5904dd245ce..53ab2144b90a $ git log c5904dd24..53ab2144b --date=short --no-merges --format='%ad %ae %s' 2019-07-08 post Fall back to complex loop if non-trivial continue block is found. 2019-07-08 post Add test shaders for NonUniformEXT propagation. 2019-07-08 post Propagate NonUniformEXT to dependent expressions. 2019-07-05 post Add simple test for extended debug operations. 2019-07-04 lifeng.pan Parse SPIR-V debug information extended instructions, as well as OpNoLine. Created with: roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers Change-Id: Iabdabe4f0b25f89cbc41f8fbf55bd588b374ba44 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/8740 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-07-09 15:29:29 +00:00
'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Tools@0c4feb643b89d1792b02f7cbef315e9d95633bd7',
'condition': 'dawn_standalone',
},
'third_party/spirv-headers': {
Rolling 5 dependencies Roll third_party/SPIRV-Tools/ 001e823b6..5a93e0739 (17 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools/+log/001e823b6534..5a93e0739297 $ git log 001e823b6..5a93e0739 --date=short --no-merges --format='%ad %ae %s' 2019-07-04 afdx Refactor reducer options (#2709) 2019-07-03 52076061+digit-google Fix BUILD.gn for Fuchsia platform build. (#2692) 2019-07-02 cmarcelo Validate that in OpenGL env block variables have Binding (#2685) 2019-06-28 51214578+jmacnak-nv Update type for loaded builtin GlobalInvocationID in pass instrumentation (#2705) 2019-06-26 afdx Warn when input facts are invalid. (#2699) 2019-06-26 afdx Got rid of redundant declaration. (#2698) 2019-06-26 afdx Disallow movement of unreachable blocks. (#2700) 2019-06-25 afdx Refactor fuzzer transformations (#2694) 2019-06-25 joseph.kucia Fix Component decoration validation for arrays (#2697) 2019-06-21 kpet Replace global static map with an array of pairs (#2691) 2019-06-21 joseph.kucia Basic validation for Component decorations (#2679) 2019-06-20 zoddicus Add infrastructure for maintaining and using DEPS (#2684) 2019-06-20 33432579+alan-baker Fix store to uniform Vulkan check (#2688) 2019-06-20 kpet Add all accepted target environments to the tools' help texts (#2687) 2019-06-19 afdx Represent uniform facts via descriptor set and binding. (#2681) 2019-06-19 zoddicus Roll external/spirv-headers/ 8b911bd2b..de99d4d83 (8 commits) (#2682) 2019-06-19 ehsannas Whitelist SPV_GOOGLE_user_type. (#2673) Roll third_party/glslang/ f9d08a25f..4b4b41a63 (10 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang/+log/f9d08a25fbe1..4b4b41a63499 $ git log f9d08a25f..4b4b41a63 --date=short --no-merges --format='%ad %ae %s' 2019-07-03 cepheus HLSL: Fix #1815: Don't constant fold spec-constant array indexing. 2019-07-02 jbolz update spirv-headers to pick up demote_to_helper_invocation 2019-07-02 cepheus Standalone: Fix #1814: Check that linkage was specified for reflection. 2019-07-02 cepheus Build: Tweak PR #1808 to avoid an implicit conversion warning. 2019-07-01 jbolz Implement GL_EXT_demote_to_helper_invocation 2019-06-25 syoussefi Remove __DATE__ and __TIME__ usage 2019-06-25 syoussefi Remove extraneous semicolons 2019-06-21 jbolz Add a bunch of missing cases to promoteConstantUnion. Use macros to expand all the cases more simply. 2019-06-21 jbolz Add test for constant type conversion 2019-06-21 digit BUILD.gn: Fix file for use with Fuchsia platform build. Roll third_party/shaderc/ 3c76b8aa3..77d7b65ee (39 commits) https://chromium.googlesource.com/external/github.com/google/shaderc/+log/3c76b8aa36fa..77d7b65ee2a1 $ git log 3c76b8aa3..77d7b65ee --date=short --no-merges --format='%ad %ae %s' 2019-07-03 zoddicus Rolling 4 dependencies and updating known_failures (#754) 2019-07-02 dneto Add --target-spv option to set target SPIR-V version (#750) 2019-07-02 zoddicus Remove old logging infra from run_spirv_cross_tests.py (#749) 2019-06-28 zoddicus Enable implicit fallthrough warning and fix examples of (#747) 2019-06-28 zoddicus Rolling 2 dependencies (#748) 2019-06-26 zoddicus Rolling 4 dependencies and update known_failures (#745) 2019-06-26 zoddicus Catch low level exceptions instead of crash (#744) 2019-06-25 zoddicus Add jobs flag to spirv cross tests script (#743) 2019-06-25 zoddicus Extract common test environment bits out into a class (#738) 2019-06-25 52076061+digit-google Fix BUILD.gn for Chromium build. (#741) 2019-06-25 52076061+digit-google BUILD.gn fixes for Fuchsia. (#733) 2019-06-25 dneto Remove Appveyor artifacts link. (#739) 2019-06-24 zoddicus Remove SetShaderModel from API (#734) 2019-06-20 zoddicus Move script fixes from other SPIRV related repos (#732) 2019-06-19 zoddicus Import improvements to DEPS roll script (#729) 2019-06-19 dneto Update CHANGES (#730) 2019-06-19 dneto Add -fnan-clamp (#725) 2019-06-18 zoddicus Add script to generate manual roll patch (#727) 2019-06-18 zoddicus Rolling 4 dependencies (#728) 2019-06-17 google-shaderc-autoroll Roll third_party/glslang def9662348b0..9db72785beb3 (1 commits) (#721) 2019-06-17 google-shaderc-autoroll Roll third_party/spirv-cross 4104e363005a..146dc453bcec (2 commits) (#722) 2019-06-17 zoddicus Manually roll DEPS to get past test failure (#717) 2019-06-17 google-shaderc-autoroll Roll third_party/googletest fd20d1eccef6..176eccfb8f42 (1 commits) (#718) 2019-06-17 google-shaderc-autoroll Roll third_party/googletest e110929a7b49..fd20d1eccef6 (5 commits) (#715) 2019-06-15 google-shaderc-autoroll Roll third_party/re2 0c95bcce2f1f..848dfb7e1d7b (2 commits) (#712) 2019-06-14 google-shaderc-autoroll Roll third_party/googletest f7c178ecb33c..e110929a7b49 (2 commits) (#709) 2019-06-14 google-shaderc-autoroll Roll third_party/googletest 26afdba792e5..f7c178ecb33c (2 commits) (#707) 2019-06-14 google-shaderc-autoroll Roll third_party/spirv-cross 00a8539d1ddf..4104e363005a (3 commits) (#698) 2019-06-14 google-shaderc-autoroll Roll third_party/googletest af4c2cb098a3..26afdba792e5 (1 commits) (#703) 2019-06-13 dneto Update glslc tests for -finvert-y option (#704) 2019-06-13 andrejnau Pass InvertY to glslang (#695) 2019-06-13 google-shaderc-autoroll Roll third_party/googletest 89656ddbe62f..af4c2cb098a3 (2 commits) (#702) 2019-06-13 google-shaderc-autoroll Roll third_party/spirv-headers 9cf7c3a7d2d2..de99d4d834ae (1 commits) (#697) 2019-06-12 google-shaderc-autoroll Roll third_party/googletest 076b7f778883..89656ddbe62f (1 commits) (#694) 2019-06-12 google-shaderc-autoroll Roll third_party/spirv-cross fccf1d046204..00a8539d1ddf (1 commits) (#691) 2019-06-12 google-shaderc-autoroll Roll third_party/spirv-cross 5e9e8918f9a2..fccf1d046204 (1 commits) (#690) 2019-06-12 google-shaderc-autoroll Roll third_party/spirv-headers 9242862c84fe..9cf7c3a7d2d2 (1 commits) (#689) 2019-06-11 zoddicus Roll all DEPS to HEAD (#685) 2019-06-10 google-shaderc-autoroll Roll third_party/effcee 8f0a61dc95e0..b83b58d177b7 (2 commits) (#677) Roll third_party/spirv-cross/ 05ea05509..c5904dd24 (31 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross/+log/05ea055096df..c5904dd245ce $ git log 05ea05509..c5904dd24 --date=short --no-merges --format='%ad %ae %s' 2019-07-03 post Don't use scalar dot(). 2019-07-03 post MSL/HLSL: Support scalar reflect and refract. 2019-07-03 post Fix variable scope when an if or else block dominates a variable. 2019-05-31 cdavis MSL: Support SubgroupLocalInvocationId and SubgroupSize in all stages. 2019-07-01 post MSL/HLSL: Support OpOuterProduct. 2019-05-31 cdavis MSL: Support SPV_KHR_multiview. 2019-06-28 post Deal with scalar input values for distance/length/normalize. 2019-06-27 post Run format_all.sh. 2019-06-27 post HLSL: Does not support case-fallthrough. 2019-06-27 post Handle more cases with FP16 and texture sampling. 2019-06-26 post Add C API for get_declared_struct_member_size. 2019-06-26 post MSL: De-virtualize get_declared_struct_member_size. 2019-06-26 post MSL: Fix minor XCode /analyze warning. 2019-06-25 post Fix declaration of loop variables with a Phi helper copy. 2019-06-24 post MSL: Add support for SubgroupSize / SubgroupInvocationID in fragment. 2019-06-24 post MSL: Support custom bindings for argument buffer itself. 2019-06-24 post Workaround GCC 9 bug. 2019-06-21 post Run format_all.sh. 2019-06-21 post MSL: Actually return the autobinding value in C API. 2019-06-21 post Old MSVC does not like +[] constructs. 2019-06-21 post Deal with OpPhi and case fallthrough. 2019-06-21 post MSL: Add C API for querying automatic resource bindings. 2019-06-21 post MSL: Rewrite how resource indices are fallback-assigned. 2019-06-20 post Deal with switch block fallthrough more correctly ... 2019-06-20 post Rewrite how switch block case labels are emitted. 2019-06-19 post MSL: Error out on int64_t/uint64_t buffer members. 2019-06-11 post MSL: Support 64-bit integers. 2019-06-13 post MSL: Support PrimitiveID in fragment and barycentrics. 2019-06-13 post GLSL: Support NV barycentrics. 2019-06-12 post MSL: Support OpImageQueryLod. 2019-06-11 post MSL: Support MinLod operand. Roll third_party/spirv-headers/ de99d4d83..29c11140b (2 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Headers/+log/de99d4d834ae..29c11140baaf $ git log de99d4d83..29c11140b --date=short --no-merges --format='%ad %ae %s' 2019-07-01 jbolz add SPV_EXT_demote_to_helper_invocation 2019-06-15 antiagainst Reserve ID 23 for MLIR SPIR-V Serializer Created with: roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers Change-Id: Iab9ba95ad6c107a1aa49f7eefde0081347788db7 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/8580 Commit-Queue: Ryan Harrison <rharrison@chromium.org> Commit-Queue: Corentin Wallez <cwallez@chromium.org> Reviewed-by: Corentin Wallez <cwallez@chromium.org>
2019-07-04 14:39:59 +00:00
'url': '{chromium_git}/external/github.com/KhronosGroup/SPIRV-Headers@29c11140baaf9f7fdaa39a583672c556bf1795a1',
'condition': 'dawn_standalone',
},
'third_party/glslang': {
Rolling 4 dependencies Roll third_party/SPIRV-Tools/ 5a93e0739..0c4feb643 (5 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools/+log/5a93e0739297..0c4feb643b89 $ git log 5a93e0739..0c4feb643 --date=short --no-merges --format='%ad %ae %s' 2019-07-08 33432579+alan-baker Remove extra semis (#2717) 2019-07-08 33432579+alan-baker Validate usage of 8- and 16-bit types with only storage capabilities (#2704) 2019-07-07 afdx Shrinker for spirv-fuzz (#2708) 2019-07-04 stevenperron Perform merge return with single return in loop. (#2714) 2019-07-04 stevenperron Do not inline OpKill Instructions (#2713) Roll third_party/glslang/ 4b4b41a63..8aa9a7bb8 (1 commit) https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang/+log/4b4b41a63499..8aa9a7bb8f74 $ git log 4b4b41a63..8aa9a7bb8 --date=short --no-merges --format='%ad %ae %s' 2019-07-06 rex.xu Change implementation of gl_SIMDGroupSizeAMD Roll third_party/shaderc/ 77d7b65ee..e9bb8f287 (2 commits) https://chromium.googlesource.com/external/github.com/google/shaderc/+log/77d7b65ee2a1..e9bb8f287417 $ git log 77d7b65ee..e9bb8f287 --date=short --no-merges --format='%ad %ae %s' 2019-07-08 zoddicus Add verbose flag to run_spirv_cross_tests.py (#753) 2019-07-08 zoddicus Rolling 4 dependencies and update known_failures (#755) Roll third_party/spirv-cross/ c5904dd24..53ab2144b (5 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross/+log/c5904dd245ce..53ab2144b90a $ git log c5904dd24..53ab2144b --date=short --no-merges --format='%ad %ae %s' 2019-07-08 post Fall back to complex loop if non-trivial continue block is found. 2019-07-08 post Add test shaders for NonUniformEXT propagation. 2019-07-08 post Propagate NonUniformEXT to dependent expressions. 2019-07-05 post Add simple test for extended debug operations. 2019-07-04 lifeng.pan Parse SPIR-V debug information extended instructions, as well as OpNoLine. Created with: roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers Change-Id: Iabdabe4f0b25f89cbc41f8fbf55bd588b374ba44 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/8740 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-07-09 15:29:29 +00:00
'url': '{chromium_git}/external/github.com/KhronosGroup/glslang@8aa9a7bb8f74869ab9cfd2c9bd51cef1741004e7',
'condition': 'dawn_standalone',
},
'third_party/shaderc': {
Rolling 4 dependencies Roll third_party/SPIRV-Tools/ 5a93e0739..0c4feb643 (5 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Tools/+log/5a93e0739297..0c4feb643b89 $ git log 5a93e0739..0c4feb643 --date=short --no-merges --format='%ad %ae %s' 2019-07-08 33432579+alan-baker Remove extra semis (#2717) 2019-07-08 33432579+alan-baker Validate usage of 8- and 16-bit types with only storage capabilities (#2704) 2019-07-07 afdx Shrinker for spirv-fuzz (#2708) 2019-07-04 stevenperron Perform merge return with single return in loop. (#2714) 2019-07-04 stevenperron Do not inline OpKill Instructions (#2713) Roll third_party/glslang/ 4b4b41a63..8aa9a7bb8 (1 commit) https://chromium.googlesource.com/external/github.com/KhronosGroup/glslang/+log/4b4b41a63499..8aa9a7bb8f74 $ git log 4b4b41a63..8aa9a7bb8 --date=short --no-merges --format='%ad %ae %s' 2019-07-06 rex.xu Change implementation of gl_SIMDGroupSizeAMD Roll third_party/shaderc/ 77d7b65ee..e9bb8f287 (2 commits) https://chromium.googlesource.com/external/github.com/google/shaderc/+log/77d7b65ee2a1..e9bb8f287417 $ git log 77d7b65ee..e9bb8f287 --date=short --no-merges --format='%ad %ae %s' 2019-07-08 zoddicus Add verbose flag to run_spirv_cross_tests.py (#753) 2019-07-08 zoddicus Rolling 4 dependencies and update known_failures (#755) Roll third_party/spirv-cross/ c5904dd24..53ab2144b (5 commits) https://chromium.googlesource.com/external/github.com/KhronosGroup/SPIRV-Cross/+log/c5904dd245ce..53ab2144b90a $ git log c5904dd24..53ab2144b --date=short --no-merges --format='%ad %ae %s' 2019-07-08 post Fall back to complex loop if non-trivial continue block is found. 2019-07-08 post Add test shaders for NonUniformEXT propagation. 2019-07-08 post Propagate NonUniformEXT to dependent expressions. 2019-07-05 post Add simple test for extended debug operations. 2019-07-04 lifeng.pan Parse SPIR-V debug information extended instructions, as well as OpNoLine. Created with: roll-dep third_party/SPIRV-Tools third_party/glslang third_party/shaderc third_party/spirv-cross third_party/spirv-headers Change-Id: Iabdabe4f0b25f89cbc41f8fbf55bd588b374ba44 Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/8740 Reviewed-by: Corentin Wallez <cwallez@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
2019-07-09 15:29:29 +00:00
'url': '{chromium_git}/external/github.com/google/shaderc@e9bb8f287417084d30c924026de9fa59dd32db41',
'condition': 'dawn_standalone',
},
# GLFW for tests and samples
'third_party/glfw': {
'url': '{chromium_git}/external/github.com/glfw/glfw@2de2589f910b1a85905f425be4d32f33cec092df',
'condition': 'dawn_standalone',
},
# Dependencies for samples: GLM
'third_party/glm': {
'url': '{github_git}/g-truc/glm.git@06f084063fd6d9aa2ef6904517650700ae47b63d',
'condition': 'dawn_standalone',
},
# Our own pre-compiled Linux clang-format 7.0 for presubmit
'third_party/clang-format': {
'url': '{dawn_git}/clang-format@2451c56cd368676cdb230fd5ad11731ab859f1a3',
'condition': 'dawn_standalone and checkout_linux',
},
}
hooks = [
# Pull clang-format binaries using checked-in hashes.
{
'name': 'clang_format_win',
'pattern': '.',
'condition': 'host_os == "win" and dawn_standalone',
'action': [ 'download_from_google_storage',
'--no_resume',
'--platform=win32',
'--no_auth',
'--bucket', 'chromium-clang-format',
'-s', 'buildtools/win/clang-format.exe.sha1',
],
},
{
'name': 'clang_format_mac',
'pattern': '.',
'condition': 'host_os == "mac" and dawn_standalone',
'action': [ 'download_from_google_storage',
'--no_resume',
'--platform=darwin',
'--no_auth',
'--bucket', 'chromium-clang-format',
'-s', 'buildtools/mac/clang-format.sha1',
],
},
{
'name': 'clang_format_linux',
'pattern': '.',
'condition': 'host_os == "linux" and dawn_standalone',
'action': [ 'download_from_google_storage',
'--no_resume',
'--platform=linux*',
'--no_auth',
'--bucket', 'chromium-clang-format',
'-s', 'buildtools/linux64/clang-format.sha1',
],
},
# Pull GN binaries using checked-in hashes.
{
'name': 'gn_win',
'pattern': '.',
'condition': 'host_os == "win" and dawn_standalone',
'action': [ 'download_from_google_storage',
'--no_resume',
'--platform=win32',
'--no_auth',
'--bucket', 'chromium-gn',
'-s', 'buildtools/win/gn.exe.sha1',
],
},
{
'name': 'gn_mac',
'pattern': '.',
'condition': 'host_os == "mac" and dawn_standalone',
'action': [ 'download_from_google_storage',
'--no_resume',
'--platform=darwin',
'--no_auth',
'--bucket', 'chromium-gn',
'-s', 'buildtools/mac/gn.sha1',
],
},
{
'name': 'gn_linux64',
'pattern': '.',
'condition': 'host_os == "linux" and dawn_standalone',
'action': [ 'download_from_google_storage',
'--no_resume',
'--platform=linux*',
'--no_auth',
'--bucket', 'chromium-gn',
'-s', 'buildtools/linux64/gn.sha1',
],
},
# Pull the compilers and system libraries for hermetic builds
{
'name': 'sysroot_x86',
'pattern': '.',
'condition': 'checkout_linux and ((checkout_x86 or checkout_x64) and dawn_standalone)',
'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
'--arch=x86'],
},
{
'name': 'sysroot_x64',
'pattern': '.',
'condition': 'checkout_linux and (checkout_x64 and dawn_standalone)',
'action': ['python', 'build/linux/sysroot_scripts/install-sysroot.py',
'--arch=x64'],
},
{
# Update the Windows toolchain if necessary. Must run before 'clang' below.
'name': 'win_toolchain',
'pattern': '.',
'condition': 'checkout_win and dawn_standalone',
'action': ['python', 'build/vs_toolchain.py', 'update', '--force'],
},
{
# Note: On Win, this should run after win_toolchain, as it may use it.
'name': 'clang',
'pattern': '.',
'action': ['python', 'tools/clang/scripts/update.py'],
'condition': 'dawn_standalone',
},
{
# Pull rc binaries using checked-in hashes.
'name': 'rc_win',
'pattern': '.',
'condition': 'checkout_win and (host_os == "win" and dawn_standalone)',
'action': [ 'download_from_google_storage',
'--no_resume',
'--no_auth',
'--bucket', 'chromium-browser-clang/rc',
'-s', 'build/toolchain/win/rc/win/rc.exe.sha1',
],
},
# Pull binutils for linux hermetic builds
{
'name': 'binutils',
'pattern': 'src/third_party/binutils',
'condition': 'host_os == "linux"',
'action': [
'python',
'third_party/binutils/download.py',
],
},
# Update build/util/LASTCHANGE.
{
'name': 'lastchange',
'pattern': '.',
'action': ['python', 'build/util/lastchange.py',
'-o', 'build/util/LASTCHANGE'],
},
]
recursedeps = [
# buildtools provides clang_format, libc++, and libc++abi
'buildtools',
]