| 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 10 matching lines...) Expand all Loading... |
| 21 deps = [ | 21 deps = [ |
| 22 "//base", | 22 "//base", |
| 23 "//ui/gfx", | 23 "//ui/gfx", |
| 24 ] | 24 ] |
| 25 | 25 |
| 26 public_deps = [ | 26 public_deps = [ |
| 27 "//ui/gl", | 27 "//ui/gl", |
| 28 ] | 28 ] |
| 29 | 29 |
| 30 if (is_android) { | 30 if (is_android) { |
| 31 sources += [ "gl_initializer_android.cc" ] | 31 sources += [ |
| 32 "gl_factory_android.cc", |
| 33 "gl_initializer_android.cc", |
| 34 ] |
| 32 } else if (is_win) { | 35 } else if (is_win) { |
| 33 sources += [ "gl_initializer_win.cc" ] | 36 sources += [ |
| 37 "gl_factory_win.cc", |
| 38 "gl_initializer_win.cc", |
| 39 ] |
| 34 } else if (is_mac) { | 40 } else if (is_mac) { |
| 35 sources += [ "gl_initializer_mac.cc" ] | 41 sources += [ |
| 42 "gl_factory_mac.cc", |
| 43 "gl_initializer_mac.cc", |
| 44 ] |
| 36 | 45 |
| 37 libs = [ "OpenGL.framework" ] | 46 libs = [ "OpenGL.framework" ] |
| 38 } else if (use_x11) { | 47 } else if (use_x11) { |
| 39 sources += [ "gl_initializer_x11.cc" ] | 48 sources += [ |
| 49 "gl_factory_x11.cc", |
| 50 "gl_initializer_x11.cc", |
| 51 ] |
| 40 } else if (use_ozone) { | 52 } else if (use_ozone) { |
| 41 sources += [ "gl_initializer_ozone.cc" ] | 53 sources += [ |
| 54 "gl_factory_ozone.cc", |
| 55 "gl_initializer_ozone.cc", |
| 56 ] |
| 42 } | 57 } |
| 43 } | 58 } |
| OLD | NEW |