Changeset 65445 in webkit for trunk/JavaScriptCore/wscript


Ignore:
Timestamp:
Aug 16, 2010, 12:12:19 PM (15 years ago)
Author:
[email protected]
Message:

[wx] Build fix, do not build WebCore as a convenience library as this leads to
errors in the Win build w/export symbols and causes problems with DOM bindings
debugging in gdb.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/wscript

    r65385 r65445  
    4343    jscore_excludes.append('JSStringRefBSTR.cpp')
    4444    jscore_excludes.extend(get_excludes(jscore_dir, ['*Win.cpp']))
    45 
    46 def generate_jscore_derived_sources():
    47     # build the derived sources
    48     js_dir = jscore_dir
    49     if building_on_win32:
    50         js_dir = get_output('cygpath --unix "%s"' % js_dir)
    51     derived_sources_dir = os.path.join(jscore_dir, 'DerivedSources')
    52     if not os.path.exists(derived_sources_dir):
    53         os.mkdir(derived_sources_dir)
    54 
    55     olddir = os.getcwd()
    56     os.chdir(derived_sources_dir)
    57 
    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"]
    62     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))
    63     os.system(command)
    64     if building_on_win32:
    65         os.environ["PATH"] = oldpath
    66     os.chdir(olddir)
    67 
    68 def set_options(opt):
    69     common_set_options(opt)
    70 
    71 def configure(conf):
    72     common_configure(conf)
    73     generate_jscore_derived_sources()
    7445   
    7546def build(bld):
     
    9263        install_path = output_dir)
    9364
    94     jscore.find_sources_in_dirs(full_dirs, excludes = jscore_excludes) 
    95 
    96        
     65    jscore.find_sources_in_dirs(full_dirs, excludes = jscore_excludes)
     66   
    9767    obj = bld.new_task_gen(
    9868        features = 'cxx cprogram',
Note: See TracChangeset for help on using the changeset viewer.