Add long running gmail memory benchmark for background tab.
[chromium-blink-merge.git] / tools / telemetry / catapult_base / binary_manager.py
blobbfa2c2c014916d81503a7d6fde30ff064543222f
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.
11 """
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.
17 """
18 del platform, arch
19 return support_binaries.FindLocallyBuiltPath(binary_name)