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_factory.h", |
16 "gl_init_export.h", | 17 "gl_init_export.h", |
17 "gl_initializer.h", | 18 "gl_initializer.h", |
18 ] | 19 ] |
19 defines = [ "GL_INIT_IMPLEMENTATION" ] | 20 defines = [ "GL_INIT_IMPLEMENTATION" ] |
20 | 21 |
21 deps = [ | 22 deps = [ |
22 "//base", | 23 "//base", |
23 "//ui/gfx", | 24 "//ui/gfx", |
24 ] | 25 ] |
25 | 26 |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
61 } else if (use_ozone) { | 62 } else if (use_ozone) { |
62 sources += [ | 63 sources += [ |
63 "gl_factory_ozone.cc", | 64 "gl_factory_ozone.cc", |
64 "gl_initializer_ozone.cc", | 65 "gl_initializer_ozone.cc", |
65 "ozone_util.h", | 66 "ozone_util.h", |
66 ] | 67 ] |
67 | 68 |
68 deps += [ "//ui/ozone" ] | 69 deps += [ "//ui/ozone" ] |
69 } | 70 } |
70 } | 71 } |
OLD | NEW |