From 6a029fc9d84edb5ddfb88c6be6c02c5dbc1ccd63 Mon Sep 17 00:00:00 2001 From: Jiajie Hu Date: Wed, 27 May 2020 01:21:53 +0000 Subject: [PATCH] Only download binutils in standalone build This condition is most useful in non-standalone build AND the higher level DEPS file recurses into Dawn via recursedeps. Bug: dawn:437 Change-Id: Ib0aa8366a1a45a80a1dc11b911dbb208455af2fc Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/22103 Reviewed-by: Kai Ninomiya Reviewed-by: Austin Eng Reviewed-by: Corentin Wallez Commit-Queue: Jiajie Hu --- DEPS | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DEPS b/DEPS index ba943b7975..68089876d9 100644 --- a/DEPS +++ b/DEPS @@ -212,7 +212,7 @@ hooks = [ { 'name': 'binutils', 'pattern': 'src/third_party/binutils', - 'condition': 'host_os == "linux"', + 'condition': 'host_os == "linux" and dawn_standalone', 'action': [ 'python', 'third_party/binutils/download.py',