From 4323c806380c8603d0a17a1cccf3033d8d4d095d Mon Sep 17 00:00:00 2001 From: dpranke Date: Mon, 10 Aug 2015 15:53:54 -0700 Subject: [PATCH] Add missing 'gpu_tests' config to MB, fix typo in MB. These errors were discovered when I tried to land https://codereview.chromium.org/1274043003/. TBR=phajdan.jr@chromium.org BUG=481692 Review URL: https://codereview.chromium.org/1280803003 Cr-Commit-Position: refs/heads/master@{#342720} --- tools/mb/mb.py | 3 ++- tools/mb/mb_config.pyl | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/tools/mb/mb.py b/tools/mb/mb.py index 80f2979189e2..86ffa6e8de25 100755 --- a/tools/mb/mb.py +++ b/tools/mb/mb.py @@ -228,7 +228,8 @@ class MetaBuildWrapper(object): errs.append('Unreferenced mixin "%s".' % mixin) if errs: - raise MBErr('mb config file %s has problems:\n ' + '\n '.join(errs)) + raise MBErr(('mb config file %s has problems:' % self.args.config_file) + + + '\n ' + '\n '.join(errs)) if not self.args.quiet: self.Print('mb config file %s looks ok.' % self.args.config_file) diff --git a/tools/mb/mb_config.pyl b/tools/mb/mb_config.pyl index 4386f9d09c09..649a4d0b2315 100644 --- a/tools/mb/mb_config.pyl +++ b/tools/mb/mb_config.pyl @@ -149,6 +149,11 @@ 'gyp_defines': 'goma=1 gomadir=$(goma_dir)', }, + 'gpu_tests': { + 'gn_args': 'archive_gpu_tests=true', + 'gyp_defines': 'archive_gpu_tests=1', + }, + 'gyp': {'type': 'gyp'}, 'minimal_symbols': { -- 2.11.4.GIT