forked from golang/mobile
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cmd/gomobile: add CGO_ENABLED=1 to gobind runs
A previous CL switched gobind to use the "source" importer so go files using cgo can be type checked. However, CGO_ENABLED=1 also have to be passed in for such files not be ignored. Also add -tags ios to the gomobile test output missing from CL 99777. Fixes golang/go#24941 Change-Id: I868469af3061b82ab592899e365a8a90a0333e58 Reviewed-on: https://go-review.googlesource.com/108336 Reviewed-by: Hyang-Ah Hana Kim <[email protected]>
- Loading branch information
Elias Naur
committed
Apr 20, 2018
1 parent
18bb643
commit 6ede5c3
Showing
5 changed files
with
13 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
package cgopkg | ||
|
||
import ( | ||
_ "golang.org/x/mobile/gl" | ||
) | ||
|
||
func Dummy() {} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters