Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(558)

Unified Diff: ui/gl/BUILD.gn

Issue 2297993003: [linux] remove dependency between nacl_helper and media (Closed)
Patch Set: remove some files from "sandbox_linux" target Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« content/common/BUILD.gn ('K') | « content/common/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 = [
« content/common/BUILD.gn ('K') | « content/common/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698