Ignore:
Timestamp:
Mar 24, 2012, 6:41:33 PM (13 years ago)
Author:
[email protected]
Message:

[wx] Unreviewed. Fix the build after WTF move.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/wscript

    r111746 r112017  
    3535
    3636    jscore_excludes = ['jsc.cpp', 'ExecutableAllocatorPosix.cpp', 'LLIntOffsetsExtractor.cpp']
    37     jscore_excludes.extend(get_excludes(jscore_dir, ['*CF.cpp', '*Symbian.cpp']))
    38     jscore_excludes.extend(get_excludes(jscore_dir, ['*None.cpp']))
     37    jscore_exclude_patterns = get_port_excludes(Options.options.port)
     38    jscore_exclude_patterns.append('*None.cpp')
    3939
    4040    sources = []
     
    4545        else:
    4646            jscore_excludes.append('JSStringRefBSTR.cpp')
    47             jscore_excludes.extend(get_excludes(jscore_dir, ['*Win.cpp']))
     47
     48    if sys.platform.startswith('darwin'):
     49        jscore_excludes.append('GCActivityCallback.cpp') # this is an empty impl.
    4850
    4951    bld.env.LIBDIR = output_dir
    5052    full_dirs = get_dirs_for_features(jscore_dir, features=[Options.options.port.lower()], dirs=jscore_dirs)
     53    abs_dirs = []
     54    for adir in full_dirs:
     55        abs_dirs.append(os.path.join(jscore_dir, adir))
     56
     57    jscore_excludes.extend(get_excludes_in_dirs(abs_dirs, jscore_exclude_patterns))
    5158
    5259    includes = common_includes + full_dirs
     
    5764    jscore = bld.new_task_gen(
    5865        features = 'cc cxx cshlib',
    59         includes = '. .. assembler ../WTF ../WTF/wtf ' + ' '.join(includes),
     66        includes = '. .. assembler ../WTF ' + ' '.join(includes),
    6067        source = sources,
    6168        defines = ['BUILDING_JavaScriptCore'],
     
    8289        myenv.CXXFLAGS.remove('/EHsc')
    8390        obj.env = myenv
    84 
    85     bld.install_files(os.path.join(output_dir, 'JavaScriptCore'), 'API/*.h')
Note: See TracChangeset for help on using the changeset viewer.