Changeset 60315 in webkit for trunk/JavaScriptCore/wscript


Ignore:
Timestamp:
May 27, 2010, 12:02:53 PM (15 years ago)
Author:
[email protected]
Message:

[wx] Build fixes for Windows after recent changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wscript

    r56309 r60315  
    3030from settings import *
    3131
    32 jscore_excludes = ['jsc.cpp', 'ucptable.cpp']
     32jscore_excludes = ['jsc.cpp', 'ucptable.cpp','ProfilerServer.mm']
    3333jscore_excludes.extend(get_excludes(jscore_dir, ['*Brew.cpp', '*CF.cpp', '*Symbian.cpp']))
    3434
     
    5656    os.chdir(derived_sources_dir)
    5757
     58    # DerivedSources.make expects Cygwin (i.e. Unix-style) python, so use that instead.
     59    if building_on_win32:
     60        oldpath = os.environ["PATH"]
     61        os.environ["PATH"] = "/usr/bin" + os.pathsep + os.environ["PATH"]
    5862    command = 'make -f %s/DerivedSources.make JavaScriptCore=%s BUILT_PRODUCTS_DIR=%s all FEATURE_DEFINES="%s"' % (js_dir, js_dir, js_dir, ' '.join(feature_defines))
    5963    os.system(command)
     64    if building_on_win32:
     65        os.environ["PATH"] = oldpath
    6066    os.chdir(olddir)
    6167
     
    8793
    8894    jscore.find_sources_in_dirs(full_dirs, excludes = jscore_excludes) 
     95
    8996       
    9097    obj = bld.new_task_gen(
Note: See TracChangeset for help on using the changeset viewer.