Skip to content
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

Xamarin.Android build preparation utility #3051

Merged
merged 3 commits into from
Jun 7, 2019

Commits on Jun 7, 2019

  1. Xamarin.Android build preparation utility

    Testing:
    
     * Default mode: run `make prepare`
     * Verbose debug: run `make V=1 prepare`
     * CI mode: run `make PREPARE_CI=1 prepare`
     * Help: run `make prepare-help`
     * Logs: `bin/BuildDebug`
    
    Supported operating systems:
    
     * macOS
     * Linux
    
    Windows support is planned, present but not fully implemented or tested.
    
    This commit implements a `make prepare` replacement that does not rely on shell
    scripts or MSBuild. The idea is that a standalone C# program can perform all the
    steps in a more streamlined, more clear way than the current solution. One of
    the main goals is to make the process more approachable by external
    contributors, but also by the core developers who may want to change some
    aspects of XA build preparation (e.g. Android platforms, Mono version etc) but
    are not familiar with the build system. Towards that goal, the codebase is
    designed so that the minimum amount of searching around it is necessary to
    figure out where to make the desired change. Main location serving this purpose
    is the `build-tools/xaprepare/xaprepare/ConfigAndData` directory. It should
    be the *only* location where one needs to look in order to change all and any
    aspects of XA preparation.
    
    [TBC]
    grendello committed Jun 7, 2019
    Configuration menu
    Copy the full SHA
    bce78fe View commit details
    Browse the repository at this point in the history
  2. [xaprepare] Add AndroidToolchain scenario

    Usage: `xaprepare.exe -s=AndroidToolchain`
    
    The step will *only* install Android SDK+NDK as well as the OpenJDK distribution
    we provision. No other programs are installed or updated.
    pjcollins authored and grendello committed Jun 7, 2019
    Configuration menu
    Copy the full SHA
    5217736 View commit details
    Browse the repository at this point in the history
  3. [xaprepare] Update ExternalGitDependency usage (#2)

    Allows a non-authorized https-based clone for local use cases, and cleans
    up various logging events to ensure we don't leak secrets. Also includes
    some minor azure-pipelines.yaml cleanup.
    pjcollins authored and grendello committed Jun 7, 2019
    Configuration menu
    Copy the full SHA
    0f65bbd View commit details
    Browse the repository at this point in the history