1 # Copyright 2014 The Chromium OS 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. 4 5 """Common to set up import path.""" 6 7 import os, sys 8 dirname = os.path.dirname(sys.modules[__name__].__file__) 9 cros_dir = os.path.abspath(os.path.join(dirname, "..")) 10 sys.path.insert(0, cros_dir) 11