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

Build tool only #154

Closed
dschrempf opened this issue Jan 19, 2022 · 2 comments · Fixed by #157
Closed

Build tool only #154

dschrempf opened this issue Jan 19, 2022 · 2 comments · Fixed by #157

Comments

@dschrempf
Copy link

Hello!

Is it possible to build single components using robotnix? I would like to build dicttool_aosp only.

Thanks for your help!

@danielfullmer
Copy link
Collaborator

Indeed it is. Here's an example I had previously done for someone wanting to build the bionic libc:
https://gist.github.com/danielfullmer/5f959d8f42c7a916b597ab95d8a414a6
Run nix-build on this file at the root of the robotnix git checkout and it would output a built libc. It does, however, still download a ton of unnecessary repositories for building bionic, since the android build system doesn't seem to work well on partial checkouts of the repo tree.

Currently, it requires knowing where the build system puts the output to know how to copy the relevant files in installPhase, but I have an idea that might work to make it even simpler: #155

@dschrempf
Copy link
Author

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants