Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(485)

Side by Side Diff: slave/skia_slave_scripts/flavor_utils/arm64model_build_step_utils.py

Issue 344183004: Use new common utils where possible. (Closed) Base URL: https://skia.googlesource.com/buildbot.git@master
Patch Set: rebase Created 6 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 py.utils import shell_utils
10 from utils import ssh_utils 10 from py.utils import ssh_utils
11 from flavor_utils.ssh_build_step_utils import SshBuildStepUtils 11 from flavor_utils.ssh_build_step_utils import SshBuildStepUtils
12 12
13 class Arm64ModelBuildStepUtils(SshBuildStepUtils): 13 class Arm64ModelBuildStepUtils(SshBuildStepUtils):
14 # make sure deps_target_os = 'barelinux' so that all dependencies 14 # make sure deps_target_os = 'barelinux' so that all dependencies
15 # can be installed. 15 # can be installed.
16 def __init__(self, build_step_instance): 16 def __init__(self, build_step_instance):
17 SshBuildStepUtils.__init__(self, build_step_instance) 17 SshBuildStepUtils.__init__(self, build_step_instance)
18 18
19 self._remote_dir = 'skia' 19 self._remote_dir = 'skia'
20 self._build_dir = os.path.join('out', 'config', 'arm64linux') 20 self._build_dir = os.path.join('out', 'config', 'arm64linux')
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after
62 62
63 make_cmd = [ 63 make_cmd = [
64 'sh', '-x', 64 'sh', '-x',
65 os.path.join(platform_bin, 'arm64_make'), 65 os.path.join(platform_bin, 'arm64_make'),
66 '-o', self._build_dir, 66 '-o', self._build_dir,
67 '-c', os.path.join(toolchain_bin, 'aarch64-linux-gnu-gcc'), 67 '-c', os.path.join(toolchain_bin, 'aarch64-linux-gnu-gcc'),
68 '-x', os.path.join(toolchain_bin, 'aarch64-linux-gnu-g++'), 68 '-x', os.path.join(toolchain_bin, 'aarch64-linux-gnu-g++'),
69 '-t', self._step.configuration, 69 '-t', self._step.configuration,
70 ] 70 ]
71 shell_utils.run(make_cmd) 71 shell_utils.run(make_cmd)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698