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

Side by Side 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/ui.gni") 5 import("//build/config/ui.gni")
6 6
7 component("init") { 7 component("init") {
8 output_name = "gl_init" 8 output_name = "gl_init"
9 9
10 public = [ 10 public = [
(...skipping 10 matching lines...) Expand all
21 deps = [ 21 deps = [
22 "//base", 22 "//base",
23 "//ui/gfx", 23 "//ui/gfx",
24 ] 24 ]
25 25
26 public_deps = [ 26 public_deps = [
27 "//ui/gl", 27 "//ui/gl",
28 ] 28 ]
29 29
30 if (is_android) { 30 if (is_android) {
31 sources += [ "gl_initializer_android.cc" ] 31 sources += [
32 "gl_factory_android.cc",
33 "gl_initializer_android.cc",
34 ]
32 } else if (is_win) { 35 } else if (is_win) {
33 sources += [ "gl_initializer_win.cc" ] 36 sources += [
37 "gl_factory_win.cc",
38 "gl_initializer_win.cc",
39 ]
34 } else if (is_mac) { 40 } else if (is_mac) {
35 sources += [ "gl_initializer_mac.cc" ] 41 sources += [
42 "gl_factory_mac.cc",
43 "gl_initializer_mac.cc",
44 ]
36 45
37 libs = [ "OpenGL.framework" ] 46 libs = [ "OpenGL.framework" ]
38 } else if (use_x11) { 47 } else if (use_x11) {
39 sources += [ "gl_initializer_x11.cc" ] 48 sources += [
49 "gl_factory_x11.cc",
50 "gl_initializer_x11.cc",
51 ]
40 } else if (use_ozone) { 52 } else if (use_ozone) {
41 sources += [ "gl_initializer_ozone.cc" ] 53 sources += [
54 "gl_factory_ozone.cc",
55 "gl_initializer_ozone.cc",
56 ]
42 } 57 }
43 } 58 }
OLDNEW
« 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