Title: [253884] trunk/Source/ThirdParty/libwebrtc
Revision
253884
Author
[email protected]
Date
2019-12-23 08:07:57 -0800 (Mon, 23 Dec 2019)

Log Message

Do not build yasm for iOS and iOS simulator
https://bugs.webkit.org/show_bug.cgi?id=205556
<rdar://problem/58159497>

Reviewed by Eric Carlson.

Now that we no longer need yasm for iOS simulator, we can stop building it for iOS and iOS simulator.
We can also remove the hack to run yasm.

* Configurations/yasm.xcconfig:
* libwebrtc.xcodeproj/project.pbxproj:

Modified Paths

Diff

Modified: trunk/Source/ThirdParty/libwebrtc/ChangeLog (253883 => 253884)


--- trunk/Source/ThirdParty/libwebrtc/ChangeLog	2019-12-23 10:42:26 UTC (rev 253883)
+++ trunk/Source/ThirdParty/libwebrtc/ChangeLog	2019-12-23 16:07:57 UTC (rev 253884)
@@ -1,3 +1,17 @@
+2019-12-23  youenn fablet  <[email protected]>
+
+        Do not build yasm for iOS and iOS simulator
+        https://bugs.webkit.org/show_bug.cgi?id=205556
+        <rdar://problem/58159497>
+
+        Reviewed by Eric Carlson.
+
+        Now that we no longer need yasm for iOS simulator, we can stop building it for iOS and iOS simulator.
+        We can also remove the hack to run yasm.
+
+        * Configurations/yasm.xcconfig:
+        * libwebrtc.xcodeproj/project.pbxproj:
+
 2019-12-22  youenn fablet  <[email protected]>
 
         Compile libwebrtc without hardware acceleration for iOS simulator

Modified: trunk/Source/ThirdParty/libwebrtc/Configurations/yasm.xcconfig (253883 => 253884)


--- trunk/Source/ThirdParty/libwebrtc/Configurations/yasm.xcconfig	2019-12-23 10:42:26 UTC (rev 253883)
+++ trunk/Source/ThirdParty/libwebrtc/Configurations/yasm.xcconfig	2019-12-23 16:07:57 UTC (rev 253884)
@@ -16,8 +16,9 @@
 CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
 CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
 
-EXCLUDED_SOURCE_FILE_NAMES[sdk=macos*] = *_neon.c arm_cpudetect.c *_arm.c sad.c;
-EXCLUDED_SOURCE_FILE_NAMES[sdk=iphonesimulator*] = *_neon.c arm_cpudetect.c *_arm.c sad.c;
-EXCLUDED_SOURCE_FILE_NAMES[sdk=iphoneos*] = *_sse2.c *_ssse3.c *_sse4.c *_avx2.c *_avx.c *_sse2.asm.o *_sse3.asm.o;
+EXCLUDED_SOURCE_FILE_NAMES[sdk=iphonesimulator*] = *;
+EXCLUDED_SOURCE_FILE_NAMES[sdk=iphoneos*] = *;
 
 WK_ASAN_DISALLOWED = YES;
+
+SUPPORTED_PLATFORMS = macosx;

Modified: trunk/Source/ThirdParty/libwebrtc/libwebrtc.xcodeproj/project.pbxproj (253883 => 253884)


--- trunk/Source/ThirdParty/libwebrtc/libwebrtc.xcodeproj/project.pbxproj	2019-12-23 10:42:26 UTC (rev 253883)
+++ trunk/Source/ThirdParty/libwebrtc/libwebrtc.xcodeproj/project.pbxproj	2019-12-23 16:07:57 UTC (rev 253884)
@@ -3544,7 +3544,7 @@
 			outputFiles = (
 				"${OBJECT_FILE_DIR_normal}/${CURRENT_ARCH}/${INPUT_FILE_BASE}.o",
 			);
-			script = "# This DYLD_ROOT_PATH hack is there to allow the yasm binary to run on macOS if it was built for another platform (e.g. iphonesimulator) - rdar://52020841 and rdar://50479465\nDYLD_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";
+			script = "${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";
 		};
 /* End PBXBuildRule section */
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to