Changeset 255086 in webkit


Ignore:
Timestamp:
Jan 24, 2020 12:00:16 PM (4 years ago)
Author:
keith_miller@apple.com
Message:

JSC should produce a module map.
https://bugs.webkit.org/show_bug.cgi?id=206717

Reviewed by Mark Lam.

Location:
trunk/Source/JavaScriptCore
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r255077 r255086  
     12020-01-24  Keith Miller  <keith_miller@apple.com>
     2
     3        JSC should produce a module map.
     4        https://bugs.webkit.org/show_bug.cgi?id=206717
     5
     6        Reviewed by Mark Lam.
     7
     8        * Configurations/JavaScriptCore.xcconfig:
     9        * JavaScriptCore.modulemap:
     10
    1112020-01-24  Commit Queue  <commit-queue@webkit.org>
    212
  • trunk/Source/JavaScriptCore/Configurations/JavaScriptCore.xcconfig

    r252551 r255086  
    2525#include "Version.xcconfig"
    2626
    27 DEFINES_MODULE = $(DEFINES_MODULE_$(WK_PLATFORM_NAME))
    28 DEFINES_MODULE_maccatalyst = YES;
    29 DEFINES_MODULE_macosx = YES;
    30 DEFINES_MODULE_ = NO;
     27DEFINES_MODULE = YES;
    3128MODULEMAP_FILE = $(SRCROOT)/JavaScriptCore.modulemap;
    3229
  • trunk/Source/JavaScriptCore/JavaScriptCore.modulemap

    r237575 r255086  
    1 framework module JavaScriptCore {
     1framework module JavaScriptCore [extern_c] {
    22  umbrella header "JavaScriptCore.h"
    33
     
    66    export *
    77  }
    8 
    9   explicit module JSVirtualMachine {
    10     // FIXME: 32-bit x86 is a poor way to say "fragile Objective-C ABI"
    11     requires x86_32
    12     exclude header "JSValue.h"
    13     exclude header "JSContext.h"
    14     exclude header "JSExport.h"
    15     exclude header "JSManagedValue.h"
    16     exclude header "JSVirtualMachine.h"
    17   }
    188}
Note: See TracChangeset for help on using the changeset viewer.