Commit 6d26e81d authored by tkent@chromium.org's avatar tkent@chromium.org
Browse files

2010-04-27 Kent Tamura <tkent@chromium.org>

        Reviewed by Shinichiro Hamaji.

        [DRT/Chromium] Enable Windows project generation
        https://bugs.webkit.org/show_bug.cgi?id=38103

        - Avoid platform.system(), which causes a crash with python.exe in
          depot_tools. Use sys.platform instead.
        - Process DumpRenderTree.gyp on all platforms.

        * gyp_webkit:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@58377 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 2c4ea47d
2010-04-27 Kent Tamura <tkent@chromium.org>
Reviewed by Shinichiro Hamaji.
[DRT/Chromium] Enable Windows project generation
https://bugs.webkit.org/show_bug.cgi?id=38103
- Avoid platform.system(), which causes a crash with python.exe in
depot_tools. Use sys.platform instead.
- Process DumpRenderTree.gyp on all platforms.
* gyp_webkit:
2010-04-27 Jay Civelli <jcivelli@chromium.org>
Reviewed by Darin Fisher.
......
......@@ -32,7 +32,6 @@
import glob
import os
import platform
import shlex
import sys
......@@ -78,7 +77,7 @@ if __name__ == '__main__':
args.extend(['-I' + i for i in additional_include_files(args)])
# On linux, we want gyp to output a makefile (default is scons).
if platform.system() == 'Linux':
if sys.platform == 'linux2':
args.extend(['-fmake'])
# Other command args:
......@@ -91,12 +90,9 @@ if __name__ == '__main__':
# gyp hack: otherwise gyp assumes its in chromium's src/ dir.
'--depth=./',
# gyp file to execute.
'WebKit.gyp'])
# Generate DRT build files on the platforms that support it.
if platform.system() in ('Darwin', 'Linux'):
args.append('../../WebKitTools/DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp')
# gyp files to execute.
'WebKit.gyp',
'../../WebKitTools/DumpRenderTree/DumpRenderTree.gyp/DumpRenderTree.gyp'])
print 'Updating webkit projects from gyp files...'
sys.stdout.flush()
......
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