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 { | 5 { |
6 'variables': { | 6 'variables': { |
7 'internal_ozone_platform_deps': [ | 7 'internal_ozone_platform_deps': [ |
8 'ozone_platform_wayland', | 8 'ozone_platform_wayland', |
9 ], | 9 ], |
| 10 'internal_ozone_platform_unittest_deps': [ |
| 11 'ozone_platform_wayland_unittests', |
| 12 ], |
10 'internal_ozone_platforms': [ | 13 'internal_ozone_platforms': [ |
11 'wayland' | 14 'wayland' |
12 ], | 15 ], |
13 }, | 16 }, |
14 'targets': [ | 17 'targets': [ |
15 { | 18 { |
16 'target_name': 'ozone_platform_wayland', | 19 'target_name': 'ozone_platform_wayland', |
17 'type': 'static_library', | 20 'type': 'static_library', |
18 'defines': [ | 21 'defines': [ |
19 'OZONE_IMPLEMENTATION', | 22 'OZONE_IMPLEMENTATION', |
20 ], | 23 ], |
21 'dependencies': [ | 24 'dependencies': [ |
22 '../../base/base.gyp:base', | 25 '../../base/base.gyp:base', |
23 '../../skia/skia.gyp:skia', | 26 '../../skia/skia.gyp:skia', |
24 '../../third_party/wayland-protocols/wayland-protocols.gyp:xdg_shell_pro
tocol', | 27 '../../third_party/wayland-protocols/wayland-protocols.gyp:xdg_shell_pro
tocol', |
25 '../../third_party/wayland/wayland.gyp:wayland_client', | 28 '../../third_party/wayland/wayland.gyp:wayland_client', |
26 '../events/platform/events_platform.gyp:events_platform', | 29 '../events/platform/events_platform.gyp:events_platform', |
27 ], | 30 ], |
28 'sources': [ | 31 'sources': [ |
29 "client_native_pixmap_factory_wayland.cc", | 32 'client_native_pixmap_factory_wayland.cc', |
30 "client_native_pixmap_factory_wayland.h", | 33 'client_native_pixmap_factory_wayland.h', |
31 "ozone_platform_wayland.cc", | 34 'ozone_platform_wayland.cc', |
32 "ozone_platform_wayland.h", | 35 'ozone_platform_wayland.h', |
33 "wayland_display.cc", | 36 'wayland_display.cc', |
34 "wayland_display.h", | 37 'wayland_display.h', |
35 "wayland_object.h", | 38 'wayland_object.h', |
36 "wayland_surface_factory.cc", | 39 'wayland_surface_factory.cc', |
37 "wayland_surface_factory.h", | 40 'wayland_surface_factory.h', |
38 "wayland_window.cc", | 41 'wayland_window.cc', |
39 "wayland_window.h", | 42 'wayland_window.h', |
40 ], | 43 ], |
41 }, | 44 }, |
| 45 { |
| 46 'target_name': 'ozone_platform_wayland_unittests', |
| 47 'type': 'none', |
| 48 'dependencies': [ |
| 49 '../../skia/skia.gyp:skia', |
| 50 '../../testing/gmock.gyp:gmock', |
| 51 '../../third_party/wayland-protocols/wayland-protocols.gyp:xdg_shell_pro
tocol', |
| 52 '../../third_party/wayland/wayland.gyp:wayland_server', |
| 53 '../gfx/gfx.gyp:gfx_test_support', |
| 54 ], |
| 55 'export_dependent_settings': [ |
| 56 '../../skia/skia.gyp:skia', |
| 57 '../../testing/gmock.gyp:gmock', |
| 58 '../../third_party/wayland-protocols/wayland-protocols.gyp:xdg_shell_pro
tocol', |
| 59 '../../third_party/wayland/wayland.gyp:wayland_server', |
| 60 '../gfx/gfx.gyp:gfx_test_support', |
| 61 ], |
| 62 'direct_dependent_settings': { |
| 63 'sources': [ |
| 64 'fake_server.cc', |
| 65 'fake_server.h', |
| 66 'mock_platform_window_delegate.cc', |
| 67 'wayland_display_unittest.cc', |
| 68 'wayland_surface_factory_unittest.cc', |
| 69 'wayland_window_unittest.cc', |
| 70 ], |
| 71 }, |
| 72 }, |
42 ], | 73 ], |
43 } | 74 } |
OLD | NEW |