package config

import "go.skia.org/infra/go/buildskia"

const (
	// BUILD_TYPE is the type of build we use throughout fiddle.
	BUILD_TYPE = buildskia.RELEASE_BUILD
)

var (
	// GN_FLAGS are the flags to pass to GN.
	GN_FLAGS = []string{"is_debug=false", "skia_use_egl=true", "extra_cflags_cc=[\"-Wno-error\"]"}

	// EGL_LIB_PATH is the path where the correct libEGL.so can be found.
	EGL_LIB_PATH = "/usr/lib/nvidia-367/"
)

package config

import "go.skia.org/infra/go/buildskia"

const (
	// BUILD_TYPE is the type of build we use throughout fiddle.
	BUILD_TYPE = buildskia.RELEASE_BUILD
)

var (
	// GN_FLAGS are the flags to pass to GN.
	GN_FLAGS = []string{"is_debug=false", "skia_use_egl=true", "extra_cflags_cc=[\"-Wno-error\" \"-DEGL_NO_IMAGE_EXTERNAL=1\"]"}

	// EGL_LIB_PATH is the path where the correct libEGL.so can be found.
	EGL_LIB_PATH = "/usr/lib/nvidia-367/"
)

Add flag to work around the GL calls in CreatePlatformGLTestContext_egl.cpp.
[fiddle] Add flag to work around the GL calls in CreatePlatformGLTestContext_egl.cpp.

Bug: skia:
Change-Id: Icbf76346cb8ea9ce6fbf31922d599f4846ff2f22
Reviewed-on: https://skia-review.googlesource.com/74500
Reviewed-by: Ravi Mistry <9fa2e7438b8cb730f96b74865492597170561628@google.com>
Commit-Queue: Joe Gregorio <b9cf2471ff6d33504cafe8e6f356b732b2cadced@google.com>
