[WinCairo] Compile error when environment variable WEBKITLIBRARIESDIR is not defined.
authorpeavo@outlook.com <peavo@outlook.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 16 Apr 2015 17:03:23 +0000 (17:03 +0000)
committerpeavo@outlook.com <peavo@outlook.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 16 Apr 2015 17:03:23 +0000 (17:03 +0000)
https://bugs.webkit.org/show_bug.cgi?id=143828

Reviewed by Brent Fulgham.

Python throws an exception when calling os.environ['WEBKITLIBRARIESDIR'] and
WEBKITLIBRARIESDIR is not defined. WEBKITLIBRARIESDIR is obsolete, we can remove it.

* AVFoundationSupport.py:
(lookFor):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@182891 268f45cc-cd09-0410-ab3c-d52691b4dbfc

Source/WebCore/AVFoundationSupport.py
Source/WebCore/ChangeLog

index 5c1bb2f..41a2159 100644 (file)
@@ -31,7 +31,7 @@ import os
 
 
 def lookFor(relativePath):
-    return os.path.isfile(os.environ['WEBKIT_LIBRARIES'] + relativePath) or os.path.isfile(os.environ['WEBKITLIBRARIESDIR'] + relativePath)
+    return os.path.isfile(os.environ['WEBKIT_LIBRARIES'] + relativePath)
 
 print "/* Identifying AVFoundation Support */"
 if lookFor("/include/AVFoundationCF/AVCFBase.h"):
index 979322d..35ef8ec 100644 (file)
@@ -1,3 +1,16 @@
+2015-04-16  Per Arne Vollan  <peavo@outlook.com>
+
+        [WinCairo] Compile error when environment variable WEBKITLIBRARIESDIR is not defined.
+        https://bugs.webkit.org/show_bug.cgi?id=143828
+
+        Reviewed by Brent Fulgham.
+
+        Python throws an exception when calling os.environ['WEBKITLIBRARIESDIR'] and
+        WEBKITLIBRARIESDIR is not defined. WEBKITLIBRARIESDIR is obsolete, we can remove it.
+
+        * AVFoundationSupport.py:
+        (lookFor):
+
 2015-04-16  Alexey Proskuryakov  <ap@apple.com>
 
         Minor AudioContext cleanup