1 # Copyright 2015 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.
5 from catapult_base
import support_binaries
8 def FetchPath(binary_name
, platform
, arch
):
9 """ Return a path to the appropriate executable for <binary_name>, downloading
10 from cloud storage if needed, or None if it cannot be found.
12 return support_binaries
.FindPath(binary_name
, platform
, arch
)
14 def LocalPath(binary_name
, platform
, arch
):
15 """ Return a local path to the given binary name, or None if an executable
16 cannot be found. Will not download the executable.
19 return support_binaries
.FindLocallyBuiltPath(binary_name
)