| OLD | NEW |
| 1 #!/usr/bin/env python | 1 #!/usr/bin/env python |
| 2 # Copyright 2016 The Chromium Authors. All rights reserved. | 2 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
| 4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
| 5 | 5 |
| 6 import os | 6 import os |
| 7 import subprocess | 7 import subprocess |
| 8 | 8 |
| 9 | 9 |
| 10 THIS_DIR = os.path.abspath(os.path.dirname(__file__)) | 10 THIS_DIR = os.path.abspath(os.path.dirname(__file__)) |
| 11 INFRA_DIR = os.path.dirname(THIS_DIR) | 11 INFRA_DIR = os.path.dirname(THIS_DIR) |
| 12 | 12 |
| 13 | 13 |
| 14 def recipes_py(*args): | 14 def recipes_py(*args): |
| 15 subprocess.check_call( | 15 subprocess.check_call([ |
| 16 [os.path.join(INFRA_DIR, 'recipes.py'), '--use-bootstrap'] + list(args)) | 16 os.path.join(INFRA_DIR, 'recipes.py'), |
| 17 '--deps-path=-', |
| 18 '--use-bootstrap', |
| 19 ] + list(args)) |
| 17 | 20 |
| 18 | 21 |
| 19 recipes_py('simulation_test') | 22 recipes_py('simulation_test') |
| 20 recipes_py('lint') | 23 recipes_py('lint') |
| OLD | NEW |