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 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
46 libs = [ "OpenGL.framework" ] | 46 libs = [ "OpenGL.framework" ] |
47 } else if (use_x11) { | 47 } else if (use_x11) { |
48 sources += [ | 48 sources += [ |
49 "gl_factory_x11.cc", | 49 "gl_factory_x11.cc", |
50 "gl_initializer_x11.cc", | 50 "gl_initializer_x11.cc", |
51 ] | 51 ] |
52 } else if (use_ozone) { | 52 } else if (use_ozone) { |
53 sources += [ | 53 sources += [ |
54 "gl_factory_ozone.cc", | 54 "gl_factory_ozone.cc", |
55 "gl_initializer_ozone.cc", | 55 "gl_initializer_ozone.cc", |
| 56 "gl_surface_ozone.cc", |
| 57 "gl_surface_ozone.h", |
56 ] | 58 ] |
57 | 59 |
58 deps += [ "//ui/ozone" ] | 60 deps += [ "//ui/ozone" ] |
59 } | 61 } |
60 } | 62 } |
OLD | NEW |