OLD | NEW |
| (Empty) |
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 | |
3 # found in the LICENSE file. | |
4 | |
5 { | |
6 'variables': { | |
7 'disable_display%': 0, | |
8 'internal_ozone_platform_deps': [ | |
9 'ozone_platform_cast', | |
10 ], | |
11 'internal_ozone_platform_unittest_deps': [ ], | |
12 'internal_ozone_platforms': [ | |
13 'cast', | |
14 ], | |
15 }, | |
16 'targets': [ | |
17 # GN target: //ui/ozone/platform/cast:cast | |
18 { | |
19 'target_name': 'ozone_platform_cast', | |
20 'type': 'static_library', | |
21 'dependencies': [ | |
22 'ozone.gyp:ozone_base', | |
23 'ozone.gyp:ozone_common', | |
24 '../events/events.gyp:events', | |
25 '../gfx/gfx.gyp:gfx', | |
26 '../gfx/gfx.gyp:gfx_geometry', | |
27 '../../base/base.gyp:base', | |
28 '../../chromecast/chromecast.gyp:cast_public_api', | |
29 '../../chromecast/chromecast.gyp:libcast_graphics_1.0', | |
30 ], | |
31 'include_dirs': [ | |
32 '<(DEPTH)/third_party/khronos', | |
33 ], | |
34 'conditions': [ | |
35 ['disable_display==1', { | |
36 'defines': ['DISABLE_DISPLAY'], | |
37 }], | |
38 ], | |
39 | |
40 'sources': [ | |
41 'client_native_pixmap_factory_cast.cc', | |
42 'client_native_pixmap_factory_cast.h', | |
43 'gl_surface_cast.cc', | |
44 'gl_surface_cast.h', | |
45 'overlay_manager_cast.cc', | |
46 'overlay_manager_cast.h', | |
47 'ozone_platform_cast.cc', | |
48 'ozone_platform_cast.h', | |
49 'platform_window_cast.cc', | |
50 'platform_window_cast.h', | |
51 'surface_factory_cast.cc', | |
52 'surface_factory_cast.h', | |
53 ], | |
54 'link_settings': { | |
55 'libraries': [ | |
56 '-ldl', | |
57 ], | |
58 }, | |
59 }, | |
60 ], | |
61 } | |
OLD | NEW |