summaryrefslogtreecommitdiff
path: root/Tools/gtk/common.py
diff options
context:
space:
mode:
authorSimon Hausmann <simon.hausmann@nokia.com>2012-07-11 13:45:28 +0200
committerSimon Hausmann <simon.hausmann@nokia.com>2012-07-11 13:45:28 +0200
commitd6a599dbc9d824a462b2b206316e102bf8136446 (patch)
treeecb257a5e55b2239d74b90fdad62fccd661cf286 /Tools/gtk/common.py
parent3ccc3a85f09a83557b391aae380d3bf5f81a2911 (diff)
downloadqtwebkit-d6a599dbc9d824a462b2b206316e102bf8136446.tar.gz
Imported WebKit commit 8ff1f22783a32de82fee915abd55bd1b298f2644 (http://svn.webkit.org/repository/webkit/trunk@122325)
New snapshot that should work with the latest Qt build system changes
Diffstat (limited to 'Tools/gtk/common.py')
-rw-r--r--Tools/gtk/common.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Tools/gtk/common.py b/Tools/gtk/common.py
index 220a8cf62..7b057e7d1 100644
--- a/Tools/gtk/common.py
+++ b/Tools/gtk/common.py
@@ -40,7 +40,8 @@ def get_build_path():
return build_dir
def is_valid_build_directory(path):
- return os.path.exists(os.path.join(path, 'GNUmakefile'))
+ return os.path.exists(os.path.join(path, 'GNUmakefile')) or \
+ os.path.exists(os.path.join(path, 'Programs', 'DumpRenderTree'))
if len(sys.argv[1:]) > 1 and os.path.exists(sys.argv[-1]) and is_valid_build_directory(sys.argv[-1]):
return sys.argv[-1]