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

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

Issue 2221063003: Make ui/gl/... consistently use on Swiftshader includes on Windows official builds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 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/BUILD.gn ('k') | no next file » | 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 = [
11 "gl_factory.h", 11 "gl_factory.h",
12 ] 12 ]
13 13
14 sources = [ 14 sources = [
15 "gl_factory.cc", 15 "gl_factory.cc",
16 "gl_init_export.h", 16 "gl_init_export.h",
17 "gl_initializer.h", 17 "gl_initializer.h",
18 ] 18 ]
19 defines = [ "GL_INIT_IMPLEMENTATION" ] 19 defines = [ "GL_INIT_IMPLEMENTATION" ]
20 20
kylechar 2016/08/08 21:54:02 This include_dirs is still needed in //ui/gl/init
Kevin M 2016/08/08 22:06:55 Re-added include_dir to gl/init, and made the incl
21 include_dirs = [ "//third_party/swiftshader/include" ]
22
23 deps = [ 21 deps = [
24 "//base", 22 "//base",
25 "//ui/gfx", 23 "//ui/gfx",
26 ] 24 ]
27 25
28 public_deps = [ 26 public_deps = [
29 "//ui/gl", 27 "//ui/gl",
30 ] 28 ]
31 29
32 if (is_android) { 30 if (is_android) {
(...skipping 25 matching lines...) Expand all
58 deps += [ "//ui/gfx/x" ] 56 deps += [ "//ui/gfx/x" ]
59 } else if (use_ozone) { 57 } else if (use_ozone) {
60 sources += [ 58 sources += [
61 "gl_factory_ozone.cc", 59 "gl_factory_ozone.cc",
62 "gl_initializer_ozone.cc", 60 "gl_initializer_ozone.cc",
63 ] 61 ]
64 62
65 deps += [ "//ui/ozone" ] 63 deps += [ "//ui/ozone" ]
66 } 64 }
67 } 65 }
OLDNEW
« no previous file with comments | « ui/gl/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698