xamarin/xamarin-android-api-compatibility

Name: xamarin-android-api-compatibility

Owner: Xamarin

Description: null

Created: 2017-07-03 15:13:08.0

Updated: 2018-04-09 18:47:54.0

Pushed: 2018-04-09 18:47:52.0

Homepage: null

Size: 6266

Language: Makefile

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

Xamarin.Android API Compatibility

Xamarin.Android assemblies need to provide and maintain backward compatibility; we don't want to break developers and customers investment in our platform.

This is done by maintaining a set of “known good” API descriptions for the assemblies that Xamarin.Android cares about, and then on every build comparing the built assemblies against the tracked API descriptions to check for or alert about API breakage.

The mono-api-info utility is used to create the API descriptions. The output of the mono-api-info utility is preserved in the reference directory.

The mono-api-html utility is used to compare API descriptions and check for API breakage between the descriptions.

Usage

The make check target will compare assemblies against the reference API description.

The make update target will update the API descriptions.

Both make check and make update accept the following optional make(1) variables:

make check

Use the make check target to compare a set of Xamarin.Android assemblies against the reference API description. It accepts the following optional make(1) variables:

For example, to check a local Xamarin.Android build against the reference APIs:

make check XA_FRAMEWORK_DIR=/path/to/xamarin-android/bin/Debug/lib/xamarin.android/xbuild-frameworks/MonoAndroid

make update

Use the make update target to update the reference API description against the set of Xamarin.Android assemblies located in $(XA_FRAMEWORK_DIR):

make update XA_FRAMEWORK_DIR=/path/to/xamarin-android/bin/Debug/lib/xamarin.android/xbuild-frameworks/MonoAndroid

This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.