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

Side by Side Diff: content/test/gpu/gpu_tests/__init__.py

Issue 1582793006: [Telemetry] Update all clients to use chromium_config.GetTelemetryDir() (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 11 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) 2012 The Chromium Authors. All rights reserved. 1 # Copyright (c) 2012 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 """A library for Chrome GPU test code.""" 4 """A library for Chrome GPU test code."""
5 import os 5 import os
6 import sys 6 import sys
7 7
8 def Init(): 8 def Init():
9 telemetry_path = os.path.join( 9 perf_path = os.path.join(
10 os.path.dirname(__file__), 10 os.path.dirname(__file__),
aiolos (Not reviewing) 2016/01/15 00:33:04 you should take the abspath of __file__ before tak
eakuefner 2016/01/19 17:21:18 Done.
11 '..', '..', '..', '..', 'tools', 'telemetry') 11 '..', '..', '..', '..', 'tools', 'perf')
12 absolute_telemetry_path = os.path.abspath(telemetry_path) 12 absolute_perf_path = os.path.abspath(perf_path)
13 sys.path.append(absolute_telemetry_path) 13 sys.path.append(absolute_perf_path)
14 from chrome_telemetry_build import chromium_config
15 sys.path.append(chromium_config.GetTelemetryDir())
14 16
15 Init() 17 Init()
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698