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

Side by Side Diff: third_party/WebKit/Tools/Scripts/webkitpy/layout_tests/port/base.py

Issue 1480303002: Implement a basic PPAPI plugin for Blink layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix Android after https://codereview.chromium.org/1478633002 Created 5 years 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
« no previous file with comments | « third_party/WebKit/LayoutTests/plugins/webview-plugin-type-change.html ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright (C) 2010 Google Inc. All rights reserved. 1 # Copyright (C) 2010 Google Inc. All rights reserved.
2 # 2 #
3 # Redistribution and use in source and binary forms, with or without 3 # Redistribution and use in source and binary forms, with or without
4 # modification, are permitted provided that the following conditions are 4 # modification, are permitted provided that the following conditions are
5 # met: 5 # met:
6 # 6 #
7 # * Redistributions of source code must retain the above copyright 7 # * Redistributions of source code must retain the above copyright
8 # notice, this list of conditions and the following disclaimer. 8 # notice, this list of conditions and the following disclaimer.
9 # * Redistributions in binary form must reproduce the above 9 # * Redistributions in binary form must reproduce the above
10 # copyright notice, this list of conditions and the following disclaimer 10 # copyright notice, this list of conditions and the following disclaimer
(...skipping 1087 matching lines...) Expand 10 before | Expand all | Expand 10 after
1098 'XAUTHORITY', 1098 'XAUTHORITY',
1099 'HOME', 1099 'HOME',
1100 'LANG', 1100 'LANG',
1101 'LD_LIBRARY_PATH', 1101 'LD_LIBRARY_PATH',
1102 'DBUS_SESSION_BUS_ADDRESS', 1102 'DBUS_SESSION_BUS_ADDRESS',
1103 'XDG_DATA_DIRS', 1103 'XDG_DATA_DIRS',
1104 ] 1104 ]
1105 clean_env['DISPLAY'] = self._value_or_default_from_environ('DISPLAY' , ':1') 1105 clean_env['DISPLAY'] = self._value_or_default_from_environ('DISPLAY' , ':1')
1106 if self.host.platform.is_mac(): 1106 if self.host.platform.is_mac():
1107 clean_env['DYLD_LIBRARY_PATH'] = self._build_path() 1107 clean_env['DYLD_LIBRARY_PATH'] = self._build_path()
1108 clean_env['DYLD_FRAMEWORK_PATH'] = self._build_path()
1109 variables_to_copy += [ 1108 variables_to_copy += [
1110 'HOME', 1109 'HOME',
1111 ] 1110 ]
1112 if self.host.platform.is_win(): 1111 if self.host.platform.is_win():
1113 variables_to_copy += [ 1112 variables_to_copy += [
1114 'PATH', 1113 'PATH',
1115 'GYP_DEFINES', # Required to locate win sdk. 1114 'GYP_DEFINES', # Required to locate win sdk.
1116 ] 1115 ]
1117 if self.host.platform.is_cygwin(): 1116 if self.host.platform.is_cygwin():
1118 variables_to_copy += [ 1117 variables_to_copy += [
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
1796 class PhysicalTestSuite(object): 1795 class PhysicalTestSuite(object):
1797 def __init__(self, base, args, reference_args=None): 1796 def __init__(self, base, args, reference_args=None):
1798 self.name = base 1797 self.name = base
1799 self.base = base 1798 self.base = base
1800 self.args = args 1799 self.args = args
1801 self.reference_args = args if reference_args is None else reference_args 1800 self.reference_args = args if reference_args is None else reference_args
1802 self.tests = set() 1801 self.tests = set()
1803 1802
1804 def __repr__(self): 1803 def __repr__(self):
1805 return "PhysicalTestSuite('%s', '%s', %s, %s)" % (self.name, self.base, self.args, self.reference_args) 1804 return "PhysicalTestSuite('%s', '%s', %s, %s)" % (self.name, self.base, self.args, self.reference_args)
OLDNEW
« no previous file with comments | « third_party/WebKit/LayoutTests/plugins/webview-plugin-type-change.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698