-
Notifications
You must be signed in to change notification settings - Fork 531
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add Conditional Inputs for _GeneratePackageManagerJava and _GenerateJavaStubs #9319
Conversation
Draft Commit Message: [Xamarin.Android.Build.Tasks] Add Inputs for _GenerateJavaStubs (#9319)
Context: https://github.com/xamarin/monodroid/pull/1547
This commit updates the Inputs for the `_GenerateJavaStubs` and
`_GeneratePackageManagerJava` targets so that the
`@(AndroidEnvironment)` and `@(LibraryEnvironments)` items are only
included when we are building a release build, or a build which
embeds the assemblies into the apk.
This is so that we can eventually fast deploy these files to the
device; see also xamarin/monodroid#1547.
To *not* attempt to (eventually) fast deploy `@(AndroidEnvironment)`
and `@(LibraryEnvironments)`, set the (*internal*!) MSBuild property
`$(_AndroidFastDeployEnvironmentFiles)` to False.
A new unit test has been added to make sure that the environment
values can be used correctly on device. I'm not certain about the |
I found a bug, don't merge it. |
@dellis1972:
I've restarted the tests just in case it's sporadic… |
This test is going to fail untl the monodroid side is merged. |
Context: xamarin/monodroid#1547 This commit updates the Inputs for the `_GenerateJavaStubs` and `_GeneratePackageManagerJava` targets so that the `@(AndroidEnvironment)` and `@(LibraryEnvironments)` items are only included when we are building a release build, or a build which embeds the assemblies into the apk. This is so that we can eventually fast deploy these files to the device; see also xamarin/monodroid#1547. To *not* attempt to (eventually) fast deploy `@(AndroidEnvironment)` and `@(LibraryEnvironments)`, set the (*internal*!) MSBuild property `$(_AndroidFastDeployEnvironmentFiles)` to False. A new unit test has been added to make sure that the environment values can be used correctly on device.
This commit updates the inputs for
_GenerateJavaStubs
and_GeneratePackageManagerJava
so that the@(AndroidEnvironment)
and@(LibraryEnvironments)
items are only included if we are building a release build. Or a build which embeds the assemblies into the apk.This is so that we can evantually fast deploy these files to the device via https://github.com/xamarin/monodroid/pull/1547.
A new unit test has been added to make sure that the environment values can be used correctly on device.