From ce850736090cfcf19a604e6d487d2898cc2a0af5 Mon Sep 17 00:00:00 2001 From: Rolf Bjarne Kvinge Date: Thu, 22 Jun 2023 08:15:56 +0200 Subject: [PATCH] [msbuild] Remove some logic for watchOS on .NET. (#18473) We don't support watchOS on .NET, so this is just useless code. --- msbuild/Makefile | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/msbuild/Makefile b/msbuild/Makefile index 919ed94faa5..145960e346a 100644 --- a/msbuild/Makefile +++ b/msbuild/Makefile @@ -439,14 +439,6 @@ DOTNET_TARGETS += \ endif -# watchOS: contains all of the files for iOS as well (for now, we don't need all of them, so this is optimizable) -ifdef INCLUDE_WATCH -DOTNET_TARGETS += \ - $(foreach target,$(DOTNET_SHARED_FILES) ,$(DOTNET_DESTDIR)/$(WATCHOS_NUGET).Sdk/tools/msbuild/iOS/$(notdir $(target))) \ - $(foreach target,$(DOTNET_WATCHOS_FILES) ,$(DOTNET_DESTDIR)/$(WATCHOS_NUGET).Sdk/tools/msbuild/watchOS/$(notdir $(target))) \ - -endif - # macOS ifdef INCLUDE_MAC DOTNET_TARGETS += \ @@ -467,8 +459,6 @@ DOTNET_DIRECTORIES += \ $(DOTNET_DESTDIR)/$(IOS_WINDOWS_NUGET).Sdk/tools/msbuild/iOS \ $(DOTNET_DESTDIR)/$(TVOS_NUGET).Sdk/tools/msbuild/iOS \ $(DOTNET_DESTDIR)/$(TVOS_NUGET).Sdk/tools/msbuild/tvOS \ - $(DOTNET_DESTDIR)/$(WATCHOS_NUGET).Sdk/tools/msbuild/iOS \ - $(DOTNET_DESTDIR)/$(WATCHOS_NUGET).Sdk/tools/msbuild/watchOS \ $(DOTNET_DESTDIR)/$(MACOS_NUGET).Sdk/tools/msbuild/macOS \ $(DOTNET_DESTDIR)/$(MACCATALYST_NUGET).Sdk/tools/msbuild/iOS \ $(DOTNET_DESTDIR)/$(MACCATALYST_NUGET).Sdk/tools/msbuild/MacCatalyst \ @@ -485,12 +475,6 @@ $(DOTNET_DESTDIR)/$(TVOS_NUGET).Sdk/tools/msbuild/%: $(IOS_DESTDIR)$(MONOTOUCH_P $(DOTNET_DESTDIR)/$(TVOS_NUGET).Sdk/tools/msbuild/tvOS/%: $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/msbuild/TVOS/% | $(DOTNET_DIRECTORIES) $(Q) $(CP) $< $@ -$(DOTNET_DESTDIR)/$(WATCHOS_NUGET).Sdk/tools/msbuild/%: $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/msbuild/% | $(DOTNET_DIRECTORIES) - $(Q) $(CP) $< $@ - -$(DOTNET_DESTDIR)/$(WATCHOS_NUGET).Sdk/tools/msbuild/watchOS/%: $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/msbuild/WatchOS/% | $(DOTNET_DIRECTORIES) - $(Q) $(CP) $< $@ - $(DOTNET_DESTDIR)/$(MACCATALYST_NUGET).Sdk/tools/msbuild/%: $(IOS_DESTDIR)$(MONOTOUCH_PREFIX)/lib/msbuild/% | $(DOTNET_DIRECTORIES) $(Q) $(CP) $< $@