def _get_browsers(): """Uses the platform name to configure which browsers will be tested.""" browsers = None if shakaBuildHelpers.is_linux(): # For MP4 support on Linux Firefox, install gstreamer1.0-libav. # Opera on Linux only supports MP4 for Ubuntu 15.04+, so it is not in the # default list of browsers for Linux at this time. browsers = 'Chrome,Firefox' elif shakaBuildHelpers.is_darwin(): browsers = 'Chrome,Firefox,Safari' elif shakaBuildHelpers.is_windows() or shakaBuildHelpers.is_cygwin(): browsers = 'Chrome,Firefox,IE' return browsers
def _get_browsers(): """Uses the platform name to configure which browsers will be tested.""" browsers = None if shakaBuildHelpers.is_linux(): # For MP4 support on Linux Firefox, install gstreamer1.0-libav. # Opera on Linux only supports MP4 for Ubuntu 15.04+, so it is not in the # default list of browsers for Linux at this time. browsers = "Chrome,Firefox" elif shakaBuildHelpers.is_darwin(): browsers = "Chrome,Firefox,Safari" elif shakaBuildHelpers.is_windows() or shakaBuildHelpers.is_cygwin(): browsers = "Chrome,Firefox,IE" return browsers
def _GetDefaultBrowsers(): """Use the platform name to get which browsers can be tested.""" if shakaBuildHelpers.is_linux(): # For MP4 support on Linux Firefox, install gstreamer1.0-libav. # Opera on Linux only supports MP4 for Ubuntu 15.04+, so it is not in the # default list of browsers for Linux at this time. return ['Chrome', 'Firefox'] if shakaBuildHelpers.is_darwin(): return ['Chrome', 'Firefox', 'Safari'] if shakaBuildHelpers.is_windows() or shakaBuildHelpers.is_cygwin(): return ['Chrome', 'Firefox', 'IE'] raise Error('Unrecognized system: %s' % platform.uname()[0])
def _GetDefaultBrowsers(): """Use the platform name to get which browsers can be tested.""" if shakaBuildHelpers.is_linux(): # For MP4 support on Linux Firefox, install gstreamer1.0-libav. # Opera on Linux only supports MP4 for Ubuntu 15.04+, so it is not in the # default list of browsers for Linux at this time. return ['Chrome','Firefox'] if shakaBuildHelpers.is_darwin(): return ['Chrome','Firefox','Safari'] if shakaBuildHelpers.is_windows() or shakaBuildHelpers.is_cygwin(): return ['Chrome','Firefox','IE'] raise Error('Unrecognized system: %s' % platform.uname()[0])