Changeset 213468 in webkit


Ignore:
Timestamp:
Mar 6, 2017, 2:46:57 PM (8 years ago)
Author:
achristensen@apple.com
Message:

Fix Production libwebrtc build after r213418
https://bugs.webkit.org/show_bug.cgi?id=169217
<rdar://problem/30876775>

Reviewed by Tim Horton.

  • Source/webrtc/base/checks.h:
  • libwebrtc.xcodeproj/project.pbxproj:

MakeCheckOpString was a weak export, and it wasn't needed.
There is an internal build that checks for weak exports and fails if there is one.
Run the check-for-weak-vtables-and-externals script for libwebrtc.dylib like we do for the other frameworks.

Location:
trunk/Source/ThirdParty/libwebrtc
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/ThirdParty/libwebrtc/ChangeLog

    r213432 r213468  
     12017-03-06  Alex Christensen  <achristensen@webkit.org>
     2
     3        Fix Production libwebrtc build after r213418
     4        https://bugs.webkit.org/show_bug.cgi?id=169217
     5        <rdar://problem/30876775>
     6
     7        Reviewed by Tim Horton.
     8
     9        * Source/webrtc/base/checks.h:
     10        * libwebrtc.xcodeproj/project.pbxproj:
     11        MakeCheckOpString was a weak export, and it wasn't needed.
     12        There is an internal build that checks for weak exports and fails if there is one.
     13        Run the check-for-weak-vtables-and-externals script for libwebrtc.dylib like we do for the other frameworks.
     14
    1152017-03-04  Dan Bernstein  <mitz@apple.com>
    216
  • trunk/Source/ThirdParty/libwebrtc/Source/webrtc/base/checks.h

    r213418 r213468  
    137137
    138138// MSVC doesn't like complex extern templates and DLLs.
    139 #if !defined(COMPILER_MSVC)
     139#if 0
    140140// Commonly used instantiations of MakeCheckOpString<>. Explicitly instantiated
    141141// in logging.cc.
     
    143143    const int&, const int&, const char* names);
    144144extern template
    145 WEBRTC_DYLIB_EXPORT std::string* MakeCheckOpString<unsigned long, unsigned long>(
     145std::string* MakeCheckOpString<unsigned long, unsigned long>(
    146146    const unsigned long&, const unsigned long&, const char* names);
    147147extern template
  • trunk/Source/ThirdParty/libwebrtc/libwebrtc.xcodeproj/project.pbxproj

    r213418 r213468  
    1059210592                                FB39D0CE1200F0E300088E69 /* Sources */,
    1059310593                                FB39D0CF1200F0E300088E69 /* Frameworks */,
     10594                                5CD286461E6E154E0094FDC8 /* Check for Weak VTables and Externals */,
    1059410595                                312BDB0B15FECAB00097EBC7 /* CopyFiles */,
    1059510596                                312BDB0D15FECACE0097EBC7 /* CopyFiles */,
     
    1066510666                        shellPath = /bin/sh;
    1066610667                        shellScript = "PRIVATE_HEADERS_FOLDER_PATH=usr/local/include\n\nif [[ \"${DEPLOYMENT_LOCATION}\" == \"NO\" ]]; then\n    PRIVATE_HEADERS_PATH=\"${TARGET_BUILD_DIR%/}/${PRIVATE_HEADERS_FOLDER_PATH}\"\nelse\n    PRIVATE_HEADERS_PATH=\"${DSTROOT}${INSTALL_PATH_PREFIX%/}/${PRIVATE_HEADERS_FOLDER_PATH}\"\nfi;\n\nmkdir -p \"${PRIVATE_HEADERS_PATH}\"\n\nrsync -av --no-owner --no-group --prune-empty-dirs --exclude \".svn\" --exclude \"usr\" --include \"*/\" --include \"*.h\" --exclude \"*\" \"${SRCROOT}/Source/webrtc\" \"${PRIVATE_HEADERS_PATH}\"\n";
     10668                };
     10669                5CD286461E6E154E0094FDC8 /* Check for Weak VTables and Externals */ = {
     10670                        isa = PBXShellScriptBuildPhase;
     10671                        buildActionMask = 2147483647;
     10672                        files = (
     10673                        );
     10674                        inputPaths = (
     10675                                "$(TARGET_BUILD_DIR)/$(EXECUTABLE_PATH)",
     10676                        );
     10677                        name = "Check for Weak VTables and Externals";
     10678                        outputPaths = (
     10679                        );
     10680                        runOnlyForDeploymentPostprocessing = 0;
     10681                        shellPath = /bin/sh;
     10682                        shellScript = "if [ \"${ACTION}\" = \"installhdrs\" ] || [ \"${ACTION}\" = \"installapi\" ]; then\n    exit 0;\nfi\n\nif [ -f ../../../Tools/Scripts/check-for-weak-vtables-and-externals ]; then\n    ../../../Tools/Scripts/check-for-weak-vtables-and-externals || exit $?\nfi";
    1066710683                };
    1066810684/* End PBXShellScriptBuildPhase section */
Note: See TracChangeset for help on using the changeset viewer.