| Index: ui/gl/BUILD.gn
|
| diff --git a/ui/gl/BUILD.gn b/ui/gl/BUILD.gn
|
| index 8f9896b54cde15ba62750257c21b0a3fe57ec56d..51f8584e5b73c3a9d1d20eeeb3f0aa3ba19b1240 100644
|
| --- a/ui/gl/BUILD.gn
|
| +++ b/ui/gl/BUILD.gn
|
| @@ -100,8 +100,6 @@ component("gl") {
|
| "gl_surface_overlay.h",
|
| "gl_surface_stub.cc",
|
| "gl_surface_stub.h",
|
| - "gl_switches.cc",
|
| - "gl_switches.h",
|
| "gl_version_info.cc",
|
| "gl_version_info.h",
|
| "gpu_switching_manager.cc",
|
| @@ -133,6 +131,7 @@ component("gl") {
|
| "//base/third_party/dynamic_annotations",
|
| ]
|
| public_deps = [
|
| + ":switches",
|
| "//base",
|
| "//third_party/mesa:mesa_headers",
|
| "//ui/events/platform",
|
| @@ -264,6 +263,20 @@ component("gl") {
|
| }
|
| }
|
|
|
| +source_set("switches") {
|
| + sources = [
|
| + "gl_export.h",
|
| + "gl_switches.cc",
|
| + "gl_switches.h",
|
| + ]
|
| +
|
| + defines = [ "GL_IMPLEMENTATION" ]
|
| +
|
| + deps = [
|
| + "//base",
|
| + ]
|
| +}
|
| +
|
| static_library("gl_unittest_utils") {
|
| testonly = true
|
| sources = [
|
|
|