Fix EveryFrameworkSmokeTests test with MediaPlayerLibrary (#1418)
This commit is contained in:
Родитель
ab2548a115
Коммит
cdf3915704
|
@ -95,6 +95,7 @@ namespace XamCore.Foundation {
|
|||
static IntPtr io = Dlfcn.dlopen (Constants.ModelIOLibrary, 1);
|
||||
static IntPtr nc = Dlfcn.dlopen (Constants.NotificationCenterLibrary, 1);
|
||||
static IntPtr pl = Dlfcn.dlopen (Constants.PhotosLibrary, 1);
|
||||
static IntPtr mp = Dlfcn.dlopen (Constants.MediaPlayerLibrary, 1);
|
||||
#endif
|
||||
// ** IF YOU ADD ITEMS HERE PLEASE UPDATE linker/ObjCExtensions.cs and mmp/linker/MonoMac.Tuner/MonoMacNamespaces.cs
|
||||
|
||||
|
|
|
@ -68,6 +68,7 @@ namespace Xamarin.Mac.Tests
|
|||
case "SpriteKitLibrary":
|
||||
case "PhotosLibrary":
|
||||
case "IntentsLibrary":
|
||||
case "MediaPlayerLibrary":
|
||||
return LoadStatus.Acceptable;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -67,6 +67,7 @@ namespace Xamarin.Linker {
|
|||
SceneKit = profile.GetNamespace ("SceneKit");
|
||||
ScriptingBridge = profile.GetNamespace ("ScriptingBridge");
|
||||
WebKit = profile.GetNamespace ("WebKit");
|
||||
MediaPlayer = profile.GetNamespace ("MediaPlayer");
|
||||
#else
|
||||
Registrar = profile.GetNamespace ("Registrar");
|
||||
UIKit = profile.GetNamespace ("UIKit");
|
||||
|
@ -147,6 +148,7 @@ namespace Xamarin.Linker {
|
|||
public static string ScriptingBridge { get; private set; }
|
||||
|
||||
public static string WebKit { get; private set; }
|
||||
public static string MediaPlayer { get; private set; }
|
||||
#else
|
||||
public static string Registrar { get; private set; }
|
||||
|
||||
|
|
|
@ -64,7 +64,8 @@ namespace MonoMac.Tuner {
|
|||
{ Constants.FinderSyncLibrary, Namespaces.FinderSync },
|
||||
{ Constants.NotificationCenterLibrary, Namespaces.NotificationCenter },
|
||||
{ Constants.SceneKitLibrary, Namespaces.SceneKit },
|
||||
{ Constants.StoreKitLibrary, Namespaces.StoreKit } };
|
||||
{ Constants.StoreKitLibrary, Namespaces.StoreKit },
|
||||
{ Constants.MediaPlayerLibrary, Namespaces.MediaPlayer } };
|
||||
|
||||
public void Process (LinkContext context)
|
||||
{
|
||||
|
|
Загрузка…
Ссылка в новой задаче