1 # Copyright 2013 The Chromium Authors
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
10 return sys.platform in ['win32', 'cygwin']
14 return sys.platform.startswith(('linux', 'freebsd', 'netbsd', 'openbsd'))
18 return sys.platform == 'darwin'
23 Returns a string representing the host_os of the current system.
24 Possible values: 'win', 'mac', 'linux', 'unknown'.