| 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 sys | 7 import sys |
| 8 | 8 |
| 9 _CATAPULT_PATH = os.path.abspath(os.path.join( | 9 _CATAPULT_PATH = os.path.abspath(os.path.join( |
| 10 os.path.dirname(__file__), '..', '..')) | 10 os.path.dirname(__file__), '..', '..', '..')) |
| 11 _DEVIL_PATH = os.path.abspath(os.path.join( | 11 _BATTOR_PATH = os.path.abspath(os.path.join( |
| 12 os.path.dirname(__file__), '..')) | 12 os.path.dirname(__file__), '..')) |
| 13 | 13 |
| 14 sys.path.append(_CATAPULT_PATH) | 14 sys.path.append(_CATAPULT_PATH) |
| 15 from catapult_build import run_with_typ | 15 from catapult_build import run_with_typ |
| 16 | 16 |
| 17 | 17 |
| 18 def main(): | 18 def main(): |
| 19 return run_with_typ.Run(top_level_dir=_DEVIL_PATH) | 19 return run_with_typ.Run(top_level_dir=_BATTOR_PATH) |
| 20 |
| 20 | 21 |
| 21 if __name__ == '__main__': | 22 if __name__ == '__main__': |
| 22 sys.exit(main()) | 23 sys.exit(main()) |
| OLD | NEW |