Log Message
Try to fix the build after r161017
* gtk/common.py: (is_cmake_build): Instead of checking whether the return value of build_path of the CMakeCache.txt file is None, check if a file actually exists at that path.
Modified Paths
Diff
Modified: trunk/Tools/ChangeLog (161022 => 161023)
--- trunk/Tools/ChangeLog 2013-12-23 22:20:08 UTC (rev 161022)
+++ trunk/Tools/ChangeLog 2013-12-23 22:41:10 UTC (rev 161023)
@@ -1,3 +1,11 @@
+2013-12-23 Martin Robinson <[email protected]>
+
+ Try to fix the build after r161017
+
+ * gtk/common.py:
+ (is_cmake_build): Instead of checking whether the return value of build_path
+ of the CMakeCache.txt file is None, check if a file actually exists at that path.
+
2013-12-23 Gustavo Noronha Silva <[email protected]>
[GTK] [CMake] Add support for generating gtkdoc
Modified: trunk/Tools/gtk/common.py (161022 => 161023)
--- trunk/Tools/gtk/common.py 2013-12-23 22:20:08 UTC (rev 161022)
+++ trunk/Tools/gtk/common.py 2013-12-23 22:41:10 UTC (rev 161023)
@@ -29,13 +29,8 @@
def is_cmake_build():
global is_cmake
-
if is_cmake is None:
- if build_path('CMakeCache.txt'):
- is_cmake = True
- else:
- is_cmake = False
-
+ is_cmake = os.path.exists(build_path('CMakeCache.txt'))
return is_cmake
_______________________________________________ webkit-changes mailing list [email protected] https://lists.webkit.org/mailman/listinfo/webkit-changes
