cmd/ebitenmobile: Add -trimpath

Fixes #1068
This commit is contained in:
Hajime Hoshi 2020-02-16 17:31:57 +09:00
parent f0395bfc80
commit d790c86e8a

View File

@ -67,6 +67,7 @@ var (
buildGcflags string // -gcflags buildGcflags string // -gcflags
buildLdflags string // -ldflags buildLdflags string // -ldflags
buildTarget string // -target buildTarget string // -target
buildTrimpath bool // -trimpath
buildWork bool // -work buildWork bool // -work
buildBundleID string // -bundleid buildBundleID string // -bundleid
buildIOSVersion string // -iosversion buildIOSVersion string // -iosversion
@ -99,6 +100,7 @@ func main() {
flagset.BoolVar(&buildN, "n", false, "") flagset.BoolVar(&buildN, "n", false, "")
flagset.BoolVar(&buildV, "v", false, "") flagset.BoolVar(&buildV, "v", false, "")
flagset.BoolVar(&buildX, "x", false, "") flagset.BoolVar(&buildX, "x", false, "")
flagset.BoolVar(&buildTrimpath, "trimpath", false, "")
flagset.BoolVar(&buildWork, "work", false, "") flagset.BoolVar(&buildWork, "work", false, "")
flagset.StringVar(&bindJavaPkg, "javapkg", "", "") flagset.StringVar(&bindJavaPkg, "javapkg", "", "")
flagset.StringVar(&bindPrefix, "prefix", "", "") flagset.StringVar(&bindPrefix, "prefix", "", "")