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: -o flag must represent an output directory #11311

Closed
rakyll opened this issue Jun 20, 2015 · 2 comments
Closed

x/mobile/cmd/gomobile: -o flag must represent an output directory #11311

rakyll opened this issue Jun 20, 2015 · 2 comments
Milestone

Comments

@rakyll
Copy link
Contributor

rakyll commented Jun 20, 2015

gomobile build will be supporting iOS builds soon, and this change will require a significant change in the tool. The -o is used to be a filename of the final output file.

gomobile build -o /path/to/example.apk .
gomobile build -o /path/to/example.aar .

With the merge of the iOS build support, we will building both an apk and app file if the source package is a main package. So, the -o flag must represent an output directory, so the tool can output both files.

cc/ @crawshaw @hyangah

@crawshaw
Copy link
Member

With the new -target flag I'm trialling a semantics change, so the tool only builds for one platform at a time.

That said, I'm still trying to work out what to do with the header file for gomobile bind.

@rakyll
Copy link
Contributor Author

rakyll commented Jun 30, 2015

Obsolete due to the target flag, closing.

@rakyll rakyll closed this as completed Jun 30, 2015
@golang golang locked and limited conversation to collaborators Jun 29, 2016
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

3 participants