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

Side by Side Diff: ui/gl/init/BUILD.gn

Issue 2715563002: Moving SwiftShader from component to bundled library (Closed)
Patch Set: Update past extension test fixes Created 3 years, 9 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_switches.cc ('k') | ui/gl/init/gl_initializer_win.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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 "gl_initializer_mac.cc", 47 "gl_initializer_mac.cc",
48 ] 48 ]
49 49
50 libs = [ "OpenGL.framework" ] 50 libs = [ "OpenGL.framework" ]
51 } else if (use_x11) { 51 } else if (use_x11) {
52 sources += [ 52 sources += [
53 "gl_factory_x11.cc", 53 "gl_factory_x11.cc",
54 "gl_initializer_x11.cc", 54 "gl_initializer_x11.cc",
55 ] 55 ]
56 56
57 deps += [ "//ui/gfx/x" ] 57 deps += [
58 "//ui/gfx/x",
59 "//ui/gl:gl_features",
60 ]
58 } else if (use_ozone) { 61 } else if (use_ozone) {
59 sources += [ 62 sources += [
60 "gl_factory_ozone.cc", 63 "gl_factory_ozone.cc",
61 "gl_initializer_ozone.cc", 64 "gl_initializer_ozone.cc",
62 "ozone_util.h", 65 "ozone_util.h",
63 ] 66 ]
64 67
65 deps += [ "//ui/ozone" ] 68 deps += [ "//ui/ozone" ]
66 } 69 }
67 } 70 }
OLDNEW
« no previous file with comments | « ui/gl/gl_switches.cc ('k') | ui/gl/init/gl_initializer_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698