OLD | NEW |
(Empty) | |
| 1 # Copyright 2017 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. |
| 4 |
| 5 from pylib import constants |
| 6 from pylib.output import local_output_manager |
| 7 from pylib.output import remote_output_manager |
| 8 |
| 9 |
| 10 def CreateOutputManager(args): |
| 11 if args.local_output: |
| 12 return local_output_manager.LocalOutputManager( |
| 13 output_dir=constants.GetOutDirectory()) |
| 14 else: |
| 15 return remote_output_manager.RemoteOutputManager( |
| 16 bucket=args.gs_results_bucket) |
OLD | NEW |