| OLD | NEW |
| 1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 # Copyright (c) 2014 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 import datetime | 5 import datetime |
| 6 import os | 6 import os |
| 7 import sys | 7 import sys |
| 8 | 8 |
| 9 from utils import shell_utils | 9 from utils import shell_utils |
| 10 from utils import ssh_utils | 10 from utils import ssh_utils |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 54 | 54 |
| 55 assert os.path.isdir(self._working_dir) | 55 assert os.path.isdir(self._working_dir) |
| 56 | 56 |
| 57 toolchain_bin = os.path.join( | 57 toolchain_bin = os.path.join( |
| 58 self._working_dir, | 58 self._working_dir, |
| 59 'gcc-linaro-aarch64-linux-gnu-4.8-2013.12_linux', | 59 'gcc-linaro-aarch64-linux-gnu-4.8-2013.12_linux', |
| 60 'bin') | 60 'bin') |
| 61 assert os.path.isdir(toolchain_bin) | 61 assert os.path.isdir(toolchain_bin) |
| 62 | 62 |
| 63 make_cmd = [ | 63 make_cmd = [ |
| 64 'sh', '-x', |
| 64 os.path.join(platform_bin, 'arm64_make'), | 65 os.path.join(platform_bin, 'arm64_make'), |
| 65 '-o', self._build_dir, | 66 '-o', self._build_dir, |
| 66 '-c', os.path.join(toolchain_bin, 'aarch64-linux-gnu-gcc'), | 67 '-c', os.path.join(toolchain_bin, 'aarch64-linux-gnu-gcc'), |
| 67 '-x', os.path.join(toolchain_bin, 'aarch64-linux-gnu-g++'), | 68 '-x', os.path.join(toolchain_bin, 'aarch64-linux-gnu-g++'), |
| 68 '-t', self._step.configuration, | 69 '-t', self._step.configuration, |
| 69 ] | 70 ] |
| 70 shell_utils.run(make_cmd, log_in_real_time=False) | 71 shell_utils.run(make_cmd) |
| OLD | NEW |