Index: ui/gl/init/BUILD.gn |
diff --git a/ui/gl/init/BUILD.gn b/ui/gl/init/BUILD.gn |
index 35df78355aef40fb88c2c7513432b4d7a0cd5af6..99620df32a99958218df123e08f7641cc40fe111 100644 |
--- a/ui/gl/init/BUILD.gn |
+++ b/ui/gl/init/BUILD.gn |
@@ -28,16 +28,31 @@ component("init") { |
] |
if (is_android) { |
- sources += [ "gl_initializer_android.cc" ] |
+ sources += [ |
+ "gl_factory_android.cc", |
+ "gl_initializer_android.cc", |
+ ] |
} else if (is_win) { |
- sources += [ "gl_initializer_win.cc" ] |
+ sources += [ |
+ "gl_factory_win.cc", |
+ "gl_initializer_win.cc", |
+ ] |
} else if (is_mac) { |
- sources += [ "gl_initializer_mac.cc" ] |
+ sources += [ |
+ "gl_factory_mac.cc", |
+ "gl_initializer_mac.cc", |
+ ] |
libs = [ "OpenGL.framework" ] |
} else if (use_x11) { |
- sources += [ "gl_initializer_x11.cc" ] |
+ sources += [ |
+ "gl_factory_x11.cc", |
+ "gl_initializer_x11.cc", |
+ ] |
} else if (use_ozone) { |
- sources += [ "gl_initializer_ozone.cc" ] |
+ sources += [ |
+ "gl_factory_ozone.cc", |
+ "gl_initializer_ozone.cc", |
+ ] |
} |
} |