OLD | NEW |
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 |
| 21 include_dirs = [ "//third_party/swiftshader/include" ] |
| 22 |
21 deps = [ | 23 deps = [ |
22 "//base", | 24 "//base", |
23 "//ui/gfx", | 25 "//ui/gfx", |
24 ] | 26 ] |
25 | 27 |
26 public_deps = [ | 28 public_deps = [ |
27 "//ui/gl", | 29 "//ui/gl", |
28 ] | 30 ] |
29 | 31 |
30 if (is_android) { | 32 if (is_android) { |
(...skipping 22 matching lines...) Expand all Loading... |
53 sources += [ | 55 sources += [ |
54 "gl_factory_ozone.cc", | 56 "gl_factory_ozone.cc", |
55 "gl_initializer_ozone.cc", | 57 "gl_initializer_ozone.cc", |
56 "gl_surface_ozone.cc", | 58 "gl_surface_ozone.cc", |
57 "gl_surface_ozone.h", | 59 "gl_surface_ozone.h", |
58 ] | 60 ] |
59 | 61 |
60 deps += [ "//ui/ozone" ] | 62 deps += [ "//ui/ozone" ] |
61 } | 63 } |
62 } | 64 } |
OLD | NEW |