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