Index: components/viz/common/BUILD.gn |
diff --git a/components/viz/common/BUILD.gn b/components/viz/common/BUILD.gn |
index b074c745e294c69a0322e0571653733d6eea9c00..a0c6c48eb51192289dcba89d44d7e2627f3e54e4 100644 |
--- a/components/viz/common/BUILD.gn |
+++ b/components/viz/common/BUILD.gn |
@@ -6,7 +6,10 @@ import("//components/viz/viz.gni") |
import("//testing/test.gni") |
viz_source_set("common") { |
+ defines = [ "VIZ_COMMON_IMPLEMENTATION" ] |
+ |
sources = [ |
+ "export.h", |
"gl_helper.cc", |
"gl_helper.h", |
"gl_helper_readback_support.cc", |
@@ -44,6 +47,8 @@ viz_source_set("common") { |
"surfaces/surface_sequence.h", |
"surfaces/surface_sequence_generator.cc", |
"surfaces/surface_sequence_generator.h", |
+ "switches.cc", |
+ "switches.h", |
] |
deps = [ |