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

x/mobile/cmd/gomobile: passing -X flag for setting constants to gomobile command #11645

Closed
uaalto opened this issue Jul 9, 2015 · 2 comments
Closed

Comments

@uaalto
Copy link

uaalto commented Jul 9, 2015

We would like to pass some values to the command line, as it is currently possible with the go build -X flag. Is there any support in the gomobile command currently or the possibility to add it?

Thank you for this great project!

@bradfitz bradfitz changed the title Passing -X flag for setting constants to gomobile command x/mobile/cmd/gomobile: passing -X flag for setting constants to gomobile command Jul 9, 2015
@ianlancetaylor ianlancetaylor added this to the Unreleased milestone Jul 11, 2015
@crawshaw crawshaw self-assigned this Jul 11, 2015
@gopherbot
Copy link

CL https://golang.org/cl/12333 mentions this issue.

@uaalto
Copy link
Author

uaalto commented Jul 18, 2015

Awesome! Testing.
Thank you!!

@golang golang locked and limited conversation to collaborators Jul 18, 2016
imWildCat pushed a commit to imWildCat/go-mobile that referenced this issue Apr 10, 2021
Allows the use of -X, and similar flags.

Fixes golang/go#11645.

Change-Id: I0ca097059f5f70c277c79eb89f2cbb10890db802
Reviewed-on: https://go-review.googlesource.com/12333
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
imWildCat pushed a commit to imWildCat/go-mobile that referenced this issue Apr 11, 2021
Allows the use of -X, and similar flags.

Fixes golang/go#11645.

Change-Id: I0ca097059f5f70c277c79eb89f2cbb10890db802
Reviewed-on: https://go-review.googlesource.com/12333
Reviewed-by: Hyang-Ah Hana Kim <hyangah@gmail.com>
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants