Unreviewed, build fix.
fix build breakage caused by fix for bug 49380 (r71858).
config_standalone needs to ensure that the packages it needs are
in sys.path.
https://bugs.webkit.org/show_bug.cgi?id=49419
* Scripts/webkitpy/layout_tests/port/config_standalone.py:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@71873
268f45cc-cd09-0410-ab3c-
d52691b4dbfc
+2010-11-11 Dirk Pranke <dpranke@chromium.org>
+
+ Unreviewed, build fix.
+
+ fix build breakage caused by fix for bug 49380 (r71858).
+
+ config_standalone needs to ensure that the packages it needs are
+ in sys.path.
+
+ https://bugs.webkit.org/show_bug.cgi?id=49419
+
+ * Scripts/webkitpy/layout_tests/port/config_standalone.py:
+
2010-11-11 Dirk Pranke <dpranke@chromium.org>
Reviewed by Adam Roben.
import os
import unittest
+import sys
+
+
+# Ensure that webkitpy is in PYTHONPATH.
+this_dir = os.path.abspath(sys.path[0])
+up = os.path.dirname
+script_dir = up(up(up(this_dir)))
+if script_dir not in sys.path:
+ sys.path.append(script_dir)
from webkitpy.common.system import executive
from webkitpy.common.system import executive_mock
from webkitpy.common.system import filesystem
from webkitpy.common.system import filesystem_mock
-import sys
import config