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

Unified Diff: ui/gl/init/BUILD.gn

Issue 2037793002: Move GLContext creation from //ui/gl to //ui/gl/init. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gl_init
Patch Set: Change to scoped_refptr. Created 4 years, 6 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
« no previous file with comments | « ui/gl/gl_surface_egl.cc ('k') | ui/gl/init/gl_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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",
+ ]
}
}
« no previous file with comments | « ui/gl/gl_surface_egl.cc ('k') | ui/gl/init/gl_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698