OLD | NEW |
1 # Copyright 2015 The Swarming Authors. All rights reserved. | 1 # Copyright 2015 The LUCI Authors. All rights reserved. |
2 # Use of this source code is governed by the Apache v2.0 license that can be | 2 # Use of this source code is governed by the Apache v2.0 license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 """OS abstraction OS specific utility functions.""" | 5 """OS abstraction OS specific utility functions.""" |
6 | 6 |
7 import sys | 7 import sys |
8 | 8 |
9 | 9 |
10 if sys.platform == 'cygwin': | 10 if sys.platform == 'cygwin': |
11 import gce | 11 import gce |
(...skipping 12 matching lines...) Expand all Loading... |
24 import win | 24 import win |
25 from gce import is_gce | 25 from gce import is_gce |
26 | 26 |
27 | 27 |
28 if sys.platform == 'linux2': | 28 if sys.platform == 'linux2': |
29 import android | 29 import android |
30 import gce | 30 import gce |
31 import linux | 31 import linux |
32 import posix | 32 import posix |
33 from gce import is_gce | 33 from gce import is_gce |
OLD | NEW |