Bug 199337 - unable to build WebRTC for iOS Simulator
Summary: unable to build WebRTC for iOS Simulator
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: New Bugs (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Dean Jackson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2019-06-28 13:47 PDT by Dean Jackson
Modified: 2019-06-28 15:50 PDT (History)
4 users (show)

See Also:


Attachments
Patch (1.43 KB, patch)
2019-06-28 13:50 PDT, Dean Jackson
no flags Details | Formatted Diff | Diff
Patch (2.16 KB, patch)
2019-06-28 15:20 PDT, Dean Jackson
thorton: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Dean Jackson 2019-06-28 13:47:01 PDT
unable to build WebRTC for iOS Simulator
Comment 1 Dean Jackson 2019-06-28 13:47:36 PDT
<rdar://problem/52020841>
Comment 2 Dean Jackson 2019-06-28 13:50:30 PDT
Created attachment 373147 [details]
Patch
Comment 3 Dean Jackson 2019-06-28 15:20:28 PDT
Created attachment 373154 [details]
Patch
Comment 4 Tim Horton 2019-06-28 15:29:25 PDT
Comment on attachment 373154 [details]
Patch

View in context: https://bugs.webkit.org/attachment.cgi?id=373154&action=review

> Source/ThirdParty/libwebrtc/libwebrtc.xcodeproj/project.pbxproj:3384
> +			script = "DYLD_ROOT_PATH=/ ${BUILT_PRODUCTS_DIR}/yasm -fmacho64 -I ${SRCROOT}/Source/third_party/libvpx/source/config -I ${SRCROOT}/Source/third_party/libvpx/source/config/mac/x64 -I ${SRCROOT}/Source/third_party/libvpx/source/libvpx -o ${OBJECT_FILE_DIR_normal}/${CURRENT_ARCH}/${INPUT_FILE_BASE}.o ${INPUT_FILE_DIR}/${INPUT_FILE_BASE}.asm\n";

This is /such a hack/ and needs a comment and a bug tracking properly building this for the host.
Comment 5 Dean Jackson 2019-06-28 15:42:37 PDT
(In reply to Tim Horton from comment #4)
> Comment on attachment 373154 [details]
> Patch
> 
> View in context:
> https://bugs.webkit.org/attachment.cgi?id=373154&action=review
> 
> > Source/ThirdParty/libwebrtc/libwebrtc.xcodeproj/project.pbxproj:3384
> > +			script = "DYLD_ROOT_PATH=/ ${BUILT_PRODUCTS_DIR}/yasm -fmacho64 -I ${SRCROOT}/Source/third_party/libvpx/source/config -I ${SRCROOT}/Source/third_party/libvpx/source/config/mac/x64 -I ${SRCROOT}/Source/third_party/libvpx/source/libvpx -o ${OBJECT_FILE_DIR_normal}/${CURRENT_ARCH}/${INPUT_FILE_BASE}.o ${INPUT_FILE_DIR}/${INPUT_FILE_BASE}.asm\n";
> 
> This is /such a hack/ and needs a comment and a bug tracking properly
> building this for the host.

I don't know where to put the comment. I could put it in the script field within the Xcode project, but no one will see that if they are looking at the build output.
Comment 6 Dean Jackson 2019-06-28 15:50:56 PDT
Committed r246945: <https://trac.webkit.org/changeset/246945>