mirror of
https://github.com/hajimehoshi/ebiten.git
synced 2025-01-12 20:18:59 +01:00
Change the build tag strategy: GopehrJS or not GopherJS
This commit is contained in:
parent
15ebf9bdb5
commit
f50875ff4b
@ -13,6 +13,7 @@
|
||||
// limitations under the License.
|
||||
|
||||
// +build js
|
||||
// +build !wasm
|
||||
|
||||
package mp3
|
||||
|
@ -12,7 +12,7 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build !js
|
||||
// +build !js wasm
|
||||
|
||||
// Package mp3 provides MP3 decoder.
|
||||
//
|
@ -12,6 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build js !wasm
|
||||
|
||||
package stb
|
||||
|
||||
import (
|
@ -12,6 +12,8 @@
|
||||
// See the License for the specific language governing permissions and
|
||||
// limitations under the License.
|
||||
|
||||
// +build js !wasm
|
||||
|
||||
package stb
|
||||
|
||||
// stbvorbis.js
|
||||
@ -19,4 +21,4 @@ package stb
|
||||
// License: Apache License 2.0
|
||||
// Commit: ac1c2ee9d24eb6085eb1e968f55e0fb32cacc03a
|
||||
|
||||
//go:generate file2byteslice -package=stb -input=stbvorbis.js -output=stbvorbisjs_file.go -var=stbvorbis_js
|
||||
//go:generate file2byteslice -package=stb -input=stbvorbis.js -output=stbvorbis.js.go -var=stbvorbis_js -buildtags "js !wasm"
|
||||
|
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user