Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c3ea0df079031dd5efc2e545eb9431b452496ea8
      
https://github.com/WebKit/WebKit/commit/c3ea0df079031dd5efc2e545eb9431b452496ea8
  Author: Kimmo Kinnunen <[email protected]>
  Date:   2025-06-03 (Tue, 03 Jun 2025)

  Changed paths:
    M Source/ThirdParty/ANGLE/ANGLE.xcodeproj/project.pbxproj
    M Source/ThirdParty/ANGLE/ANGLE.xcodeproj/xcshareddata/xcschemes/ANGLE 
(static).xcscheme
    A Source/ThirdParty/ANGLE/Configurations/ANGLE-static.xcconfig
    A Source/ThirdParty/ANGLE/Configurations/ANGLEEnd2EndTests.xcconfig
    A Source/ThirdParty/ANGLE/Configurations/ANGLEUnitTests.xcconfig
    M Source/ThirdParty/ANGLE/Configurations/BaseTarget.xcconfig
    A Source/ThirdParty/ANGLE/Configurations/utils.xcconfig
    A Source/ThirdParty/ANGLE/WebKit/End2EndTestsSourcesPlatform.cpp
    A Source/ThirdParty/ANGLE/WebKit/TestUtilSourcesPlatform.mm
    A Source/ThirdParty/ANGLE/WebKit/UtilsSourcesPlatform-mm.mm
    A Source/ThirdParty/ANGLE/WebKit/UtilsSourcesPlatform.cpp
    M Source/ThirdParty/ANGLE/src/common/debug.h
    M Source/ThirdParty/ANGLE/src/tests/angle_unittest_main.cpp
    M 
Source/ThirdParty/ANGLE/src/tests/egl_tests/EGLContextCompatibilityTest.cpp
    M Source/ThirdParty/ANGLE/src/tests/egl_tests/EGLDisplayTest.cpp
    M Source/ThirdParty/ANGLE/src/tests/gl_tests/CopyCompressedTextureTest.cpp
    M Source/ThirdParty/ANGLE/src/tests/gl_tests/ImageTestMetal.mm
    M Source/ThirdParty/ANGLE/src/tests/gl_tests/PixelLocalStorageTest.cpp
    M Source/ThirdParty/ANGLE/src/tests/gl_tests/ProvokingVertexTest.cpp
    M Source/ThirdParty/ANGLE/src/tests/gl_tests/RobustResourceInitTest.cpp
    M Source/ThirdParty/ANGLE/src/tests/gl_tests/SamplersTest.cpp
    M Source/ThirdParty/ANGLE/src/tests/gl_tests/TextureTest.cpp
    M Source/ThirdParty/ANGLE/src/tests/gl_tests/TransformFeedbackTest.cpp
    M Source/ThirdParty/ANGLE/src/tests/gl_tests/UniformTest.cpp
    M Source/ThirdParty/ANGLE/util/ios/ios_main.mm
    M Source/ThirdParty/ANGLE/util/posix/test_utils_posix.cpp

  Log Message:
  -----------
  Add support for building ANGLE tests
https://bugs.webkit.org/show_bug.cgi?id=293798
rdar://152301676

Reviewed by Elliott Williams.

Build relevant parts of angle_end2end_tests and angle_unittests.

Adds following:
 - libutils static library for test utils
 - libANGLE static library for test compilation of ANGLE
   - links libtranslator
 - ANGLEEnd2EndTests
   - links libANGLE
   - links libutil
 - ANGLEUnitTests
   - links libANGLE
   - links libutils

libutils depends on gtest headers, so add Product Dependencies build
phase that depends on then gtest-framework.

Does not yet modify anything with libANGLE-dynamic build, the shipping
configuration.

Does not yet modify any default build, so all targets are built outside
of the main "Everything up to WebKit + Tools".

Build the tests with:
   make debug SCHEME="Tools (ANGLE)"

Tools (ANGLE) is an existing scheme.

Later commits will add more tests in, support for test expectations,
DEQP test runner, fix iosmac to actually run the tests.

* Source/ThirdParty/ANGLE/ANGLE.xcodeproj/project.pbxproj:
* Source/ThirdParty/ANGLE/ANGLE.xcodeproj/xcshareddata/xcschemes/ANGLE 
(static).xcscheme:
* Source/ThirdParty/ANGLE/Configurations/ANGLE-static.xcconfig: Copied from 
Source/ThirdParty/ANGLE/Configurations/BaseTarget.xcconfig.
* Source/ThirdParty/ANGLE/Configurations/ANGLEEnd2EndTests.xcconfig: Added.
* Source/ThirdParty/ANGLE/Configurations/ANGLEUnitTests.xcconfig: Added.
* Source/ThirdParty/ANGLE/Configurations/BaseTarget.xcconfig:
* Source/ThirdParty/ANGLE/Configurations/utils.xcconfig: Copied from 
Source/ThirdParty/ANGLE/Configurations/BaseTarget.xcconfig.
* Source/ThirdParty/ANGLE/WebKit/End2EndTestsSourcesPlatform.cpp: Added.
* Source/ThirdParty/ANGLE/WebKit/TestUtilSourcesPlatform.mm: Added.
* Source/ThirdParty/ANGLE/WebKit/UtilsSourcesPlatform-mm.mm: Added.
* Source/ThirdParty/ANGLE/WebKit/UtilsSourcesPlatform.cpp: Added.
* Source/ThirdParty/ANGLE/src/common/debug.h:
* Source/ThirdParty/ANGLE/src/tests/angle_unittest_main.cpp:
(main):
* Source/ThirdParty/ANGLE/src/tests/egl_tests/EGLContextCompatibilityTest.cpp:
(RegisterContextCompatibilityTests):
* Source/ThirdParty/ANGLE/src/tests/egl_tests/EGLDisplayTest.cpp:
(TEST_P):
* Source/ThirdParty/ANGLE/src/tests/gl_tests/CopyCompressedTextureTest.cpp:
(angle::CopyCompressedTextureTest::checkExtensions const):
* Source/ThirdParty/ANGLE/src/tests/gl_tests/ImageTestMetal.mm:
* Source/ThirdParty/ANGLE/src/tests/gl_tests/PixelLocalStorageTest.cpp:
* Source/ThirdParty/ANGLE/src/tests/gl_tests/ProvokingVertexTest.cpp:
* Source/ThirdParty/ANGLE/src/tests/gl_tests/RobustResourceInitTest.cpp:
* Source/ThirdParty/ANGLE/src/tests/gl_tests/SamplersTest.cpp:
* Source/ThirdParty/ANGLE/src/tests/gl_tests/TextureTest.cpp:
* Source/ThirdParty/ANGLE/src/tests/gl_tests/TransformFeedbackTest.cpp:
* Source/ThirdParty/ANGLE/src/tests/gl_tests/UniformTest.cpp:
* Source/ThirdParty/ANGLE/util/ios/ios_main.mm:
(-[AngleUtilAppDelegate application:didFinishLaunchingWithOptions:]):
(ios_main):
* Source/ThirdParty/ANGLE/util/posix/test_utils_posix.cpp:
(angle::WriteDebugMessage):

Canonical link: https://commits.webkit.org/295737@main



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to