-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Android releases now build directly in android-lantern #130
Conversation
android/app/src/main/java/org/getlantern/lantern/vpn/LanternVpnService.java
Show resolved
Hide resolved
@@ -13,6 +13,10 @@ This project uses some shared code from a submodule that needs to be initialized | |||
|
|||
`git submodule update --init` | |||
|
|||
## Protocol Buffers | |||
If you update the protocol buffer definitions in protos_shared, make sure to run `make protos` to | |||
update the generated dart code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's not necessary for this PR, but could you also just have Make itself rebuild the generated dart code whenever it detects any of the protocol definition files in protos_shared
have changed (while building Lantern)? Then we wouldn't have to remember to run this?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'll make the debug APK depend on that. I think release shouldn't, because that could cause us to use different compiled protos in release than what we tested with. Does that sound good?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yep sounds great! Thanks, @oxtoacart
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is done.
@atavism Are you okay with me merging this or is there still some other stuff you want to look at? |
Fine to merge, @oxtoacart! |
For getlantern/lantern-internal#4878.
Depends on getlantern/flashlight#1110