-
Notifications
You must be signed in to change notification settings - Fork 533
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[build] r8 now builds on both Windows & MacOS
Context: http://commondatastorage.googleapis.com/chrome-infra-docs/flat/depot_tools/docs/html/depot_tools_tutorial.html Overview of changes: - Fixed tab characters, formatting, spacing - To get `depot_tools`, we now just use the download on all platforms--not using a submodule anymore - Use the `UnzipDirectoryChildren` task from `xa-prep-tasks`, so `r8.csproj` doesn't depend on `Xamarin.Android.Build.Tasks` - `_BootstrapDepotTools` runs the `gclient` command, which *on first run* downloads all dependencies required for `depot_tools`, such as gradle. This was a hard requirement for Windows especially, since it downloads python. - Use the `SetEnvironmentVariable` task to configure `PATH`. `depot_tools` has an odd requirement of being in `PATH`, but the `EnvironmentVariables` property on the `<Exec />` task was not sufficient. On Windows, the way `external\r8\tools\gradle.py` invokes `.bat` files in `depot_tools`--I could not get things to work unless doing it this way. - Various targets for `depot_tools` use Inputs/Outputs so they aren't running every time. - Removed `depot_tools.tpnitems` to `src`, since it is no longer a submodule and we don't redistribute it. Is that correct?
- Loading branch information
1 parent
9bd0fe6
commit 3766aa7
Showing
5 changed files
with
84 additions
and
56 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
Submodule depot_tools
deleted from
a16b4c
This file was deleted.
Oops, something went wrong.
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