Use correct runloop type in the WebContent process.
[WebKit-https.git] / Source / WebKit / Configurations / WebContentService.xcconfig
index bfd1556..58fd2ba 100644 (file)
@@ -60,7 +60,9 @@ WK_WEBCONTENT_SERVICE_NEEDS_VERSIONED_FRAMEWORK_PATH_LDFLAG_ = $(WK_WEBCONTENT_S
 WK_WEBCONTENT_SERVICE_NEEDS_VERSIONED_FRAMEWORK_PATH_LDFLAG_NO = $(WK_WEBCONTENT_SERVICE_NEEDS_VERSIONED_FRAMEWORK_PATH_LDFLAG);
 WK_WEBCONTENT_SERVICE_NEEDS_VERSIONED_FRAMEWORK_PATH_LDFLAG_YES = $(USE_STAGING_INSTALL_PATH);
 
-RUNLOOP_TYPE[sdk=macosx*] = NSRunLoop;
-RUNLOOP_TYPE[sdk=macosx10.13*] = _NSApplicationMain;
-RUNLOOP_TYPE[sdk=macosx10.12*] = _NSApplicationMain;
-RUNLOOP_TYPE[sdk=macosx10.11*] = _NSApplicationMain;
+RUNLOOP_TYPE = $(RUNLOOP_TYPE_$(PLATFORM_NAME)_$(TARGET_MAC_OS_X_VERSION_MAJOR));
+RUNLOOP_TYPE_macosx_101100 = _NSApplicationMain;
+RUNLOOP_TYPE_macosx_101200 = _NSApplicationMain;
+RUNLOOP_TYPE_macosx_101300 = _NSApplicationMain;
+RUNLOOP_TYPE_macosx_101400 = NSRunLoop;
+RUNLOOP_TYPE_macosx_101500 = NSRunLoop;