Update react-to-vsprops-changes.py after r74855
authoraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 Jan 2011 21:21:01 +0000 (21:21 +0000)
committeraroben@apple.com <aroben@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 7 Jan 2011 21:21:01 +0000 (21:21 +0000)
* JavaScriptCore.vcproj/JavaScriptCore/react-to-vsprops-changes.py:

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

Source/JavaScriptCore/ChangeLog
Source/JavaScriptCore/JavaScriptCore.vcproj/JavaScriptCore/react-to-vsprops-changes.py

index 52dc6a9aadf0b517a133677c1fe434554a8c537f..25b0dceda7816589afe96317cf60c8e277bf9f23 100644 (file)
@@ -1,3 +1,9 @@
+2011-01-07  Adam Roben  <aroben@apple.com>
+
+        Update react-to-vsprops-changes.py after r74855
+
+        * JavaScriptCore.vcproj/JavaScriptCore/react-to-vsprops-changes.py:
+
 2011-01-07  Carlos Garcia Campos  <cgarcia@igalia.com>
 
         Reviewed by Martin Robinson.
index 0112c85efeb160f03e2081581c4306837e6fe5b8..ab1df839254fdc71bff08e1d9b319ede167e85c9 100644 (file)
@@ -7,9 +7,9 @@ import sys
 
 
 def main():
-    # It's a little unfortunate that we're relying on the location of this
-    # script to find the top-level source directory.
-    top_level_directory = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__)))))
+    # It's fragile to rely on the location of this script to find the top-level
+    # source directory.
+    top_level_directory = os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(os.path.dirname(os.path.abspath(__file__))))))
 
     vsprops_directory = os.path.join(top_level_directory, 'WebKitLibraries', 'win', 'tools', 'vsprops')
     vsprops_files = glob.glob(os.path.join(vsprops_directory, '*.vsprops'))
@@ -27,7 +27,7 @@ def main():
 
     # Touch wtf/Platform.h so all files will be recompiled. This is necessary
     # to pick up changes to preprocessor macros (e.g., ENABLE_*).
-    wtf_platform_h = os.path.join(top_level_directory, 'JavaScriptCore', 'wtf', 'Platform.h')
+    wtf_platform_h = os.path.join(top_level_directory, 'Source', 'JavaScriptCore', 'wtf', 'Platform.h')
     if os.path.getmtime(wtf_platform_h) < newest_vsprops_time:
         print 'Touching wtf/Platform.h'
         os.utime(wtf_platform_h, None)