Changeset 106606 in webkit


Ignore:
Timestamp:
Feb 2, 2012 5:01:59 PM (12 years ago)
Author:
morrita@google.com
Message:

[Mac] eliminate JavaScriptCore.exp
https://bugs.webkit.org/show_bug.cgi?id=72854

Reviewed by Darin Adler.

  • Removed exp files and corresponding makefile entries.
  • Changed the build configuration no to use exp file.
Location:
trunk/Source/JavaScriptCore
Files:
3 deleted
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/JavaScriptCore/ChangeLog

    r106600 r106606  
     12012-01-31  Hajime Morrita  <morrita@chromium.org>
     2
     3        [Mac] eliminate JavaScriptCore.exp
     4        https://bugs.webkit.org/show_bug.cgi?id=72854
     5
     6        Reviewed by Darin Adler.
     7
     8        - Removed exp files and corresponding makefile entries.
     9        - Changed the build configuration no to use exp file.
     10
     11        * Configurations/JavaScriptCore.xcconfig:
     12        * DerivedSources.make:
     13        * JavaScriptCore.JSVALUE32_64only.exp: Removed.
     14        * JavaScriptCore.JSVALUE64only.exp: Removed.
     15        * JavaScriptCore.exp: Removed.
     16        * JavaScriptCore.xcodeproj/project.pbxproj:
     17        * wtf/Platform.h:
     18
    1192012-02-02  Benjamin Poulain  <bpoulain@apple.com>
    220
  • trunk/Source/JavaScriptCore/Configurations/JavaScriptCore.xcconfig

    r106429 r106606  
    3434JSVALUE_MODEL_x86_64 = 64;
    3535
    36 EXPORTED_SYMBOLS_FILE = $(BUILT_PRODUCTS_DIR)/DerivedSources/JavaScriptCore/JavaScriptCore.JSVALUE$(JSVALUE_MODEL).exp;
    37 OTHER_LDFLAGS_BASE = -lobjc -Wl,-Y,3;
     36// Prevent C++ standard library operator new, delete and their related exception types from being exported as weak symbols.
     37OTHER_LDFLAGS_HIDE_SYMBOLS = -Wl,-unexported_symbol -Wl,__ZTISt9bad_alloc -Wl,-unexported_symbol -Wl,__ZTISt9exception -Wl,-unexported_symbol -Wl,__ZTSSt9bad_alloc -Wl,-unexported_symbol -Wl,__ZTSSt9exception -Wl,-unexported_symbol -Wl,__ZdlPvS_ -Wl,-unexported_symbol -Wl,__ZnwmPv;
     38OTHER_LDFLAGS_BASE = -lobjc -Wl,-Y,3 $(OTHER_LDFLAGS_HIDE_SYMBOLS);
    3839OTHER_LDFLAGS = $(OTHER_LDFLAGS_$(REAL_PLATFORM_NAME));
    3940OTHER_LDFLAGS_iphoneos = $(OTHER_LDFLAGS_BASE);
     
    4445OTHER_LDFLAGS_macosx_1090 = $(OTHER_LDFLAGS_macosx_1070);
    4546GCC_PREFIX_HEADER = JavaScriptCorePrefix.h;
     47GCC_SYMBOLS_PRIVATE_EXTERN = YES;
    4648HEADER_SEARCH_PATHS = "${BUILT_PRODUCTS_DIR}/DerivedSources/JavaScriptCore" $(HEADER_SEARCH_PATHS);
    4749INFOPLIST_FILE = Info.plist;
  • trunk/Source/JavaScriptCore/DerivedSources.make

    r88076 r106606  
    4444    HeaderDetection.h \
    4545    JSONObject.lut.h \
    46     JavaScriptCore.JSVALUE32_64.exp \
    47     JavaScriptCore.JSVALUE64.exp \
    4846    JSGlobalObject.lut.h \
    4947    KeywordLookup.h \
     
    8179        python $^ > $@
    8280
    83 # export files
    84 
    85 JavaScriptCore.JSVALUE32_64.exp: JavaScriptCore.exp JavaScriptCore.JSVALUE32_64only.exp
    86         cat $^ > $@
    87 
    88 JavaScriptCore.JSVALUE64.exp: JavaScriptCore.exp JavaScriptCore.JSVALUE64only.exp
    89         cat $^ > $@
    90 
    91 
    9281# header detection
    9382
  • trunk/Source/JavaScriptCore/JavaScriptCore.xcodeproj/project.pbxproj

    r106197 r106606  
    10161016                14B7233F12D7D0DA003BD5ED /* MachineStackMarker.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = MachineStackMarker.cpp; sourceTree = "<group>"; };
    10171017                14B7234012D7D0DA003BD5ED /* MachineStackMarker.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MachineStackMarker.h; sourceTree = "<group>"; };
    1018                 14B8ECA60A5653980062BE54 /* JavaScriptCore.exp */ = {isa = PBXFileReference; fileEncoding = 30; lastKnownFileType = sourcecode.exports; path = JavaScriptCore.exp; sourceTree = "<group>"; tabWidth = 4; usesTabs = 0; };
    10191018                14BA78F013AAB88F005B7C2C /* SlotVisitor.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SlotVisitor.h; sourceTree = "<group>"; };
    10201019                14BA7A9513AADFF8005B7C2C /* Heap.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = Heap.cpp; sourceTree = "<group>"; };
     
    11651164                86704B8212DBA33700A9FE7B /* YarrPattern.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = YarrPattern.cpp; path = yarr/YarrPattern.cpp; sourceTree = "<group>"; };
    11661165                86704B8312DBA33700A9FE7B /* YarrPattern.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = YarrPattern.h; path = yarr/YarrPattern.h; sourceTree = "<group>"; };
    1167                 867FC35F11B763950025105E /* JavaScriptCore.JSVALUE32_64only.exp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.exports; path = JavaScriptCore.JSVALUE32_64only.exp; sourceTree = "<group>"; };
    1168                 867FC36111B763950025105E /* JavaScriptCore.JSVALUE64only.exp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.exports; path = JavaScriptCore.JSVALUE64only.exp; sourceTree = "<group>"; };
    11691166                86880F1B14328BB900B08D42 /* DFGSpeculativeJIT32_64.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = DFGSpeculativeJIT32_64.cpp; path = dfg/DFGSpeculativeJIT32_64.cpp; sourceTree = "<group>"; };
    11701167                86880F4C14353B2100B08D42 /* DFGSpeculativeJIT64.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = DFGSpeculativeJIT64.cpp; path = dfg/DFGSpeculativeJIT64.cpp; sourceTree = "<group>"; };
     
    16701667                                A7C225CC139981F100FF1662 /* KeywordLookupGenerator.py */,
    16711668                                F692A8540255597D01FF60F7 /* create_hash_table */,
    1672                                 14B8ECA60A5653980062BE54 /* JavaScriptCore.exp */,
    1673                                 867FC35F11B763950025105E /* JavaScriptCore.JSVALUE32_64only.exp */,
    1674                                 867FC36111B763950025105E /* JavaScriptCore.JSVALUE64only.exp */,
    16751669                                F5C290E60284F98E018635CA /* JavaScriptCorePrefix.h */,
    16761670                                45E12D8806A49B0F00E9DF84 /* jsc.cpp */,
  • trunk/Source/JavaScriptCore/wtf/Platform.h

    r106295 r106606  
    11141114   to WTF causes many ports to break, and so this way we can address the build
    11151115   breakages one port at a time. */
     1116#if PLATFORM(MAC)
     1117#define WTF_USE_EXPORT_MACROS 1
     1118#else
    11161119#define WTF_USE_EXPORT_MACROS 0
     1120#endif
    11171121
    11181122#if (PLATFORM(QT) && !OS(DARWIN)) || PLATFORM(GTK) || PLATFORM(EFL)
Note: See TracChangeset for help on using the changeset viewer.