Commit e01b3a6c authored by aroben@apple.com's avatar aroben@apple.com

Update react-to-vsprops-changes.py after r74855

* JavaScriptCore.vcproj/JavaScriptCore/react-to-vsprops-changes.py:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@75269 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 8effab9d
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.
......
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment