-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Build for selected Android targets (#119)
Fixes #106 According to [The Big O of Code Reviews](https://www.egorand.dev/the-big-o-of-code-reviews/), this is a O(_n_) change. This issue is conceptually simple: we need to add one line to the `build.gradle` template. Driving that line in the file is data about the targets being built. `targets` comes from the `ProjectConfig` (a.k.a. `ubrn.config.yaml`), which makes this straightforward. HOWEVER, `--targets` can be used when building! SO, we can mutate the `ProjectConfig` while we're building. BUT we don't want the second command overwriting the `build.gradle` so carefully specified in the first. ```sh ubrn build android --and-generate --config ubrn.config.yaml --targets aarch64-linux-android,armv7-linux-androideabi ubrn build ios --and-generate --config ubrn.config.yaml ``` THIS MEANT: adding platform specificity to the each of the generated files. Drive-by Review also requested from @Johennes , if interested.
- Loading branch information
Showing
12 changed files
with
188 additions
and
59 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
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
Oops, something went wrong.