Skip to content

Commit

Permalink
Remove all the ignored #cgo directives.
Browse files Browse the repository at this point in the history
  • Loading branch information
pmuetschard committed Sep 12, 2018
1 parent d413b14 commit 1a3259d
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 10 deletions.
1 change: 0 additions & 1 deletion core/image/astc/astc.go
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@
// slow builds.
package astc

// #cgo LDFLAGS: -lastc-encoder
// #include "astc.h"
import "C"

Expand Down
2 changes: 0 additions & 2 deletions core/memory/arena/arena.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ import (
"github.com/google/gapid/core/context/keys"
)

// #cgo LDFLAGS: -lcc-core -lcc-arena
//
// #include "core/memory/arena/cc/arena.h"
import "C"

Expand Down
1 change: 0 additions & 1 deletion core/os/device/host/host_c.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@

package host

// #cgo LDFLAGS: -ldeviceinfo-static -lcc-core -lprotobuf -lprotobuf_lite -lpthread -lm -lcityhash
// #include "core/os/device/deviceinfo/cc/instance.h"
import "C"

Expand Down
1 change: 0 additions & 1 deletion core/os/device/host/host_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@

package host

// #cgo LDFLAGS: -framework Cocoa -framework OpenGL
import "C"
1 change: 0 additions & 1 deletion core/os/device/host/host_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@

package host

// #cgo LDFLAGS: -ldl
import "C"
1 change: 0 additions & 1 deletion core/os/device/host/host_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -16,5 +16,4 @@

package host

// #cgo LDFLAGS: -lgdi32
import "C"
3 changes: 0 additions & 3 deletions gapis/shadertools/shadertools.go
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,9 @@
// Package shadertools wraps around external C code for manipulating shaders.
package shadertools

//#cgo LDFLAGS: -lspv -lkhronos -lpthread -lm
//#include "cc/libmanager.h"
//#include <stdlib.h>
//#include <third_party/SPIRV-Reflect/spirv_reflect.h>
//// Workaround for https://github.com/golang/go/issues/8756 (fixed in go 1.8):
//#cgo windows LDFLAGS: -Wl,--allow-multiple-definition
import "C"

import (
Expand Down

0 comments on commit 1a3259d

Please sign in to comment.