if sys.platform.startswith("win"):
wk_includes.append(os.path.join(wk_root, 'WebCore','platform','win'))
if sys.platform.startswith("win"):
wk_includes.append(os.path.join(wk_root, 'WebCore','platform','win'))
webcore_sources['wx-win'] = [
'WebCore/platform/graphics/win/GlyphPageTreeNodeCairoWin.cpp',
'WebCore/platform/graphics/win/TransformationMatrixWin.cpp',
webcore_sources['wx-win'] = [
'WebCore/platform/graphics/win/GlyphPageTreeNodeCairoWin.cpp',
'WebCore/platform/graphics/win/TransformationMatrixWin.cpp',
# wxTimer on Windows has a bug that causes it to eat crashes in callbacks
# so we need to use the Win port's implementation until the wx bug fix is
# widely available (it was fixed in 2.8.10).
# wxTimer on Windows has a bug that causes it to eat crashes in callbacks
# so we need to use the Win port's implementation until the wx bug fix is
# widely available (it was fixed in 2.8.10).
for api_file in glob.glob(os.path.join(jscore_dir, 'API/*.h')):
shutil.copy(api_file, os.path.join(jscore_out_dir, os.path.basename(api_file)))
for api_file in glob.glob(os.path.join(jscore_dir, 'API/*.h')):
shutil.copy(api_file, os.path.join(jscore_out_dir, os.path.basename(api_file)))
common_configure(conf)
conf.check_tool('swig', tooldir='WebKit/wx/bindings/python')
conf.check_swig_version('1.3.29')
common_configure(conf)
conf.check_tool('swig', tooldir='WebKit/wx/bindings/python')
conf.check_swig_version('1.3.29')