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 = [ |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 } |
OLD | NEW |