OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'cast_graphics_gyp%': '../../chromecast/chromecast.gyp', | 7 'cast_graphics_gyp%': '../../chromecast/chromecast.gyp', |
8 'libcast_media_gyp%': '../../chromecast/media/media.gyp', | 8 'libcast_media_gyp%': '../../chromecast/media/media.gyp', |
9 'internal_ozone_platform_deps': [ | 9 'internal_ozone_platform_deps': [ |
10 'ozone_platform_cast', | 10 'ozone_platform_cast', |
11 ], | 11 ], |
12 'internal_ozone_platform_unittest_deps': [ ], | 12 'internal_ozone_platform_unittest_deps': [ ], |
13 'internal_ozone_platforms': [ | 13 'internal_ozone_platforms': [ |
14 'cast', | 14 'cast', |
15 ], | 15 ], |
16 }, | 16 }, |
17 'targets': [ | 17 'targets': [ |
| 18 # GN target: //ui/ozone/platform/cast:cast |
18 { | 19 { |
19 'target_name': 'ozone_platform_cast', | 20 'target_name': 'ozone_platform_cast', |
20 'type': 'static_library', | 21 'type': 'static_library', |
21 'dependencies': [ | 22 'dependencies': [ |
22 '<(cast_graphics_gyp):libcast_graphics_1.0', | 23 '<(cast_graphics_gyp):libcast_graphics_1.0', |
23 '<(libcast_media_gyp):libcast_media_1.0', | 24 '<(libcast_media_gyp):libcast_media_1.0', |
24 '../events/events.gyp:events', | 25 '../events/events.gyp:events', |
25 '../gfx/gfx.gyp:gfx', | 26 '../gfx/gfx.gyp:gfx', |
26 '../gfx/gfx.gyp:gfx_geometry', | 27 '../gfx/gfx.gyp:gfx_geometry', |
27 '../../base/base.gyp:base', | 28 '../../base/base.gyp:base', |
28 '../../chromecast/chromecast.gyp:cast_public_api', | 29 '../../chromecast/chromecast.gyp:cast_public_api', |
29 '../../chromecast/media/media.gyp:media_base', | 30 '../../chromecast/media/media.gyp:media_base', |
30 ], | 31 ], |
31 'defines': [ | 32 |
32 'OZONE_IMPLEMENTATION', | |
33 ], | |
34 'sources': [ | 33 'sources': [ |
35 'client_native_pixmap_factory_cast.cc', | 34 'client_native_pixmap_factory_cast.cc', |
36 'client_native_pixmap_factory_cast.h', | 35 'client_native_pixmap_factory_cast.h', |
37 'gpu_platform_support_cast.cc', | 36 'gpu_platform_support_cast.cc', |
38 'gpu_platform_support_cast.h', | 37 'gpu_platform_support_cast.h', |
39 'overlay_manager_cast.cc', | 38 'overlay_manager_cast.cc', |
40 'overlay_manager_cast.h', | 39 'overlay_manager_cast.h', |
41 'ozone_platform_cast.cc', | 40 'ozone_platform_cast.cc', |
42 'ozone_platform_cast.h', | 41 'ozone_platform_cast.h', |
43 'platform_window_cast.cc', | 42 'platform_window_cast.cc', |
44 'platform_window_cast.h', | 43 'platform_window_cast.h', |
45 'surface_factory_cast.cc', | 44 'surface_factory_cast.cc', |
46 'surface_factory_cast.h', | 45 'surface_factory_cast.h', |
47 'surface_ozone_egl_cast.cc', | 46 'surface_ozone_egl_cast.cc', |
48 'surface_ozone_egl_cast.h', | 47 'surface_ozone_egl_cast.h', |
49 ], | 48 ], |
50 }, | 49 }, |
51 ], | 50 ], |
52 } | 51 } |
OLD | NEW |