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 <kainino@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Commit-Queue: Jiajie Hu <jiajie.hu@intel.com>
This commit is contained in:
Jiajie Hu 2020-05-27 01:21:53 +00:00 committed by Commit Bot service account
parent 0cd6533d1a
commit 6a029fc9d8
1 changed files with 1 additions and 1 deletions

2
DEPS
View File

@ -212,7 +212,7 @@ hooks = [
{ {
'name': 'binutils', 'name': 'binutils',
'pattern': 'src/third_party/binutils', 'pattern': 'src/third_party/binutils',
'condition': 'host_os == "linux"', 'condition': 'host_os == "linux" and dawn_standalone',
'action': [ 'action': [
'python', 'python',
'third_party/binutils/download.py', 'third_party/binutils/download.py',