OLD | NEW |
1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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/chromecast_build.gni") | 5 import("//build/config/chromecast_build.gni") |
6 import("//ui/ozone/ozone.gni") | 6 import("//ui/ozone/ozone.gni") |
7 | 7 |
8 visibility = [ | 8 visibility = [ |
9 "//ui/ozone/*", | 9 "//ui/ozone/*", |
10 "//chromecast/*", | 10 "//chromecast/*", |
11 ] | 11 ] |
12 | 12 |
13 # GYP version: cast.gypi:ozone_platform_cast | 13 # GYP version: cast.gypi:ozone_platform_cast |
14 # TODO(slan): gn check needs deps on ozone and media to pass. Correct this. | 14 # TODO(slan): gn check needs deps on ozone and media to pass. Correct this. |
15 source_set("cast") { | 15 source_set("cast") { |
16 sources = [ | 16 sources = [ |
17 "client_native_pixmap_factory_cast.cc", | 17 "client_native_pixmap_factory_cast.cc", |
18 "client_native_pixmap_factory_cast.h", | 18 "client_native_pixmap_factory_cast.h", |
| 19 "gl_surface_cast.cc", |
| 20 "gl_surface_cast.h", |
19 "gpu_platform_support_cast.cc", | 21 "gpu_platform_support_cast.cc", |
20 "gpu_platform_support_cast.h", | 22 "gpu_platform_support_cast.h", |
21 "overlay_manager_cast.cc", | 23 "overlay_manager_cast.cc", |
22 "overlay_manager_cast.h", | 24 "overlay_manager_cast.h", |
23 "ozone_platform_cast.cc", | 25 "ozone_platform_cast.cc", |
24 "ozone_platform_cast.h", | 26 "ozone_platform_cast.h", |
25 "platform_window_cast.cc", | 27 "platform_window_cast.cc", |
26 "platform_window_cast.h", | 28 "platform_window_cast.h", |
27 "surface_factory_cast.cc", | 29 "surface_factory_cast.cc", |
28 "surface_factory_cast.h", | 30 "surface_factory_cast.h", |
29 "surface_ozone_egl_cast.cc", | |
30 "surface_ozone_egl_cast.h", | |
31 ] | 31 ] |
32 | 32 |
33 defines = [ "OZONE_IMPLEMENTATION" ] | 33 defines = [ "OZONE_IMPLEMENTATION" ] |
34 | 34 |
35 # For EGL header included in surface_factory_cast.cc (needs EGL types). | 35 # For EGL header included in surface_factory_cast.cc (needs EGL types). |
36 configs += [ "//third_party/khronos:khronos_headers" ] | 36 configs += [ "//third_party/khronos:khronos_headers" ] |
37 | 37 |
38 # For loading EGL functions using dlsym in surface_factory_cast.cc because we | 38 # For loading EGL functions using dlsym in surface_factory_cast.cc because we |
39 # do not want to statically link against EGL library. | 39 # do not want to statically link against EGL library. |
40 libs = [ "dl" ] | 40 libs = [ "dl" ] |
41 | 41 |
42 deps = [ | 42 deps = [ |
43 "//base", | 43 "//base", |
44 "//chromecast:chromecast_features", | 44 "//chromecast:chromecast_features", |
45 "//chromecast/base:base", | 45 "//chromecast/base:base", |
46 "//chromecast/graphics:libcast_graphics_1.0", | 46 "//chromecast/graphics:libcast_graphics_1.0", |
47 "//ui/gfx", | 47 "//ui/gfx", |
48 "//ui/gfx/geometry", | 48 "//ui/gfx/geometry", |
49 "//ui/ozone:ozone_base", | 49 "//ui/ozone:ozone_base", |
50 "//ui/ozone/common", | 50 "//ui/ozone/common", |
51 "//ui/platform_window", | 51 "//ui/platform_window", |
52 ] | 52 ] |
53 } | 53 } |
OLD | NEW |