-
Notifications
You must be signed in to change notification settings - Fork 519
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Pass custom steps separately from msbuild
- Loading branch information
Showing
7 changed files
with
97 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using Mono.Linker.Steps; | ||
using Xamarin.Linker; | ||
|
||
namespace Xamarin.Linker.Steps { | ||
class ApplyPreserveDispatcher : MarkSubStepsDispatcher { | ||
public ApplyPreserveDispatcher () | ||
: base (new [] { new ApplyPreserveAttribute () }) | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using Mono.Linker.Steps; | ||
using Xamarin.Linker; | ||
|
||
namespace Xamarin.Linker.Steps { | ||
class MarkNSObjectsDispatcher : MarkSubStepsDispatcher { | ||
public MarkNSObjectsDispatcher () | ||
: base (new [] { new MarkNSObjects () }) | ||
{ | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using Mono.Linker.Steps; | ||
using Xamarin.Linker; | ||
|
||
namespace Xamarin.Linker.Steps { | ||
class RemoveAttributesDispatcher : SubStepsDispatcher { | ||
public RemoveAttributesDispatcher () | ||
: base (new [] { new RemoveAttributesStep () }) | ||
{ | ||
} | ||
} | ||
} |
11 changes: 11 additions & 0 deletions
11
tools/dotnet-linker/Steps/RemoveUserResourcesDispatcher.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
using Mono.Linker.Steps; | ||
using Xamarin.Linker; | ||
|
||
namespace Xamarin.Linker.Steps { | ||
class RemoveUserResourcesDispatcher : SubStepsDispatcher { | ||
public RemoveUserResourcesDispatcher () | ||
: base (new [] { new RemoveUserResourcesSubStep () }) | ||
{ | ||
} | ||
} | ||
} |
14 changes: 14 additions & 0 deletions
14
tools/dotnet-linker/Steps/StoreMembersAndAttributesDispatcher.cs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
using Mono.Linker.Steps; | ||
using Xamarin.Linker; | ||
|
||
namespace Xamarin.Linker.Steps { | ||
class StoreMembersAndAttributesDispatcher : SubStepsDispatcher { | ||
public StoreMembersAndAttributesDispatcher () | ||
: base (new BaseSubStep [] { | ||
new CollectUnmarkedMembersSubStep (), | ||
new StoreAttributesStep () | ||
}) | ||
{ | ||
} | ||
} | ||
} |