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

Add android example #1545

Merged
merged 2 commits into from
Sep 8, 2022
Merged

Conversation

keith
Copy link
Member

@keith keith commented Sep 8, 2022

This is mostly mirrored from https://github.com/keith/bazel-rust-mobile-demo but serves as a test / example to validate changes pushed to this repo. It requires you have an Android NDK / SDK setup to run.

@keith keith force-pushed the ks/add-android-example branch 2 times, most recently from 8dd5a8f to 6617732 Compare September 8, 2022 16:14
This is mostly mirrored from
https://github.com/keith/bazel-rust-mobile-demo but serves as a test /
example to validate changes pushed to this repo. It requires you have an
Android NDK / SDK setup to run.
Copy link
Collaborator

@UebelAndre UebelAndre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you so much! One question but otherwise looks awesome to me 😄

@@ -0,0 +1,50 @@
workspace(name = "android_examples")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Does this need to be it's own workspace? I feel we'd get better coverage by having it be a part of rules_rust_examples

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the only annoyance is if you want to run those locally, you have to have the android SDK / NDK setup which I imagine most testers won't, I'm happy to merge them if you want though!

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it can be done at a later date but in general, fewer workspaces would be better

Copy link
Collaborator

@illicitonion illicitonion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM - thanks!

@UebelAndre UebelAndre enabled auto-merge (squash) September 8, 2022 16:35
@UebelAndre
Copy link
Collaborator

@keith You wouldn't happen to have an iOS example project lying around would you 😄 (Thanks again!)

@UebelAndre UebelAndre merged commit 4845af6 into bazelbuild:main Sep 8, 2022
@keith keith deleted the ks/add-android-example branch September 8, 2022 21:56
@keith
Copy link
Member Author

keith commented Sep 8, 2022

Thanks! iOS example here #1546

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 this pull request may close these issues.

None yet

3 participants