2 # Copyright 2014 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file.
17 filter_tests
= json
.load(args
.filter_file
)
19 with common
.temporary_file() as tempfile_path
:
20 rc
= common
.run_command([
22 os
.path
.join(common
.SRC_DIR
, 'chrome', 'test', 'nacl_test_injection',
23 'buildbot_nacl_integration.py'),
24 '--mode', args
.build_config_fs
,
25 '--json_build_results_output_file', tempfile_path
,
28 with
open(tempfile_path
) as f
:
29 results
= json
.load(f
)
34 'failures': [f
['raw_name'] for f
in results
],
40 def main_compile_targets(args
):
41 json
.dump(['chrome'], args
.output
)
44 if __name__
== '__main__':
47 'compile_targets': main_compile_targets
,
49 sys
.exit(common
.run_script(sys
.argv
[1:], funcs
))