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/"
)

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/"
)

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

This reverts commit 8d1aa53fd920b6c8c879f4979c153c98c229e72b.

Reason for revert: Crashes on run.

Original change's description:
> [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 <rmistry@google.com>
> Commit-Queue: Joe Gregorio <b9cf2471ff6d33504cafe8e6f356b732b2cadced@google.com>

TBR=rmistry@google.com,b9cf2471ff6d33504cafe8e6f356b732b2cadced@google.com

Change-Id: I13c34e3f82a0dcdd2e143565bfe4e60067e1754a
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Bug: skia:
Reviewed-on: https://skia-review.googlesource.com/74740
Reviewed-by: Joe Gregorio <b9cf2471ff6d33504cafe8e6f356b732b2cadced@google.com>
Commit-Queue: Joe Gregorio <b9cf2471ff6d33504cafe8e6f356b732b2cadced@google.com>
