| OLD | NEW |
| (Empty) |
| 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 | |
| 3 # found in the LICENSE file. | |
| 4 | |
| 5 { | |
| 6 'variables': { | |
| 7 'internal_ozone_platform_deps': [ | |
| 8 'ozone_platform_wayland', | |
| 9 ], | |
| 10 'internal_ozone_platform_unittest_deps': [ | |
| 11 'ozone_platform_wayland_unittests', | |
| 12 ], | |
| 13 'internal_ozone_platforms': [ | |
| 14 'wayland' | |
| 15 ], | |
| 16 'use_wayland_egl%': 0, | |
| 17 }, | |
| 18 'targets': [ | |
| 19 { | |
| 20 'target_name': 'ozone_platform_wayland', | |
| 21 'type': 'static_library', | |
| 22 'defines': [ | |
| 23 'OZONE_IMPLEMENTATION', | |
| 24 ], | |
| 25 'dependencies': [ | |
| 26 'ozone.gyp:ozone_base', | |
| 27 'ozone.gyp:ozone_common', | |
| 28 '../../base/base.gyp:base', | |
| 29 '../../skia/skia.gyp:skia', | |
| 30 '../../third_party/wayland-protocols/wayland-protocols.gyp:xdg_shell_pro
tocol', | |
| 31 '../../third_party/wayland/wayland.gyp:wayland_client', | |
| 32 '../events/events.gyp:events', | |
| 33 '../events/platform/events_platform.gyp:events_platform', | |
| 34 ], | |
| 35 'sources': [ | |
| 36 'client_native_pixmap_factory_wayland.cc', | |
| 37 'client_native_pixmap_factory_wayland.h', | |
| 38 'ozone_platform_wayland.cc', | |
| 39 'ozone_platform_wayland.h', | |
| 40 'wayland_connection.cc', | |
| 41 'wayland_connection.h', | |
| 42 'wayland_object.cc', | |
| 43 'wayland_object.h', | |
| 44 'wayland_pointer.cc', | |
| 45 'wayland_pointer.h', | |
| 46 'wayland_surface_factory.cc', | |
| 47 'wayland_surface_factory.h', | |
| 48 'wayland_window.cc', | |
| 49 'wayland_window.h', | |
| 50 ], | |
| 51 'conditions': [ | |
| 52 ['use_wayland_egl==1', { | |
| 53 'defines': [ | |
| 54 'USE_WAYLAND_EGL', | |
| 55 ], | |
| 56 'dependencies': [ | |
| 57 '../../build/linux/system.gyp:wayland-egl', | |
| 58 '../../third_party/khronos/khronos.gyp:khronos_headers', | |
| 59 ], | |
| 60 'sources': [ | |
| 61 'gl_surface_wayland.cc', | |
| 62 'gl_surface_wayland.h', | |
| 63 ], | |
| 64 }], | |
| 65 ], | |
| 66 }, | |
| 67 { | |
| 68 'target_name': 'ozone_platform_wayland_unittests', | |
| 69 'type': 'none', | |
| 70 'dependencies': [ | |
| 71 'ozone.gyp:ozone_platform', | |
| 72 '../../skia/skia.gyp:skia', | |
| 73 '../../testing/gmock.gyp:gmock', | |
| 74 '../../third_party/wayland-protocols/wayland-protocols.gyp:xdg_shell_pro
tocol', | |
| 75 '../../third_party/wayland/wayland.gyp:wayland_server', | |
| 76 '../gfx/gfx.gyp:gfx_test_support', | |
| 77 ], | |
| 78 'export_dependent_settings': [ | |
| 79 '../../skia/skia.gyp:skia', | |
| 80 '../../testing/gmock.gyp:gmock', | |
| 81 '../../third_party/wayland-protocols/wayland-protocols.gyp:xdg_shell_pro
tocol', | |
| 82 '../../third_party/wayland/wayland.gyp:wayland_server', | |
| 83 '../gfx/gfx.gyp:gfx_test_support', | |
| 84 ], | |
| 85 'direct_dependent_settings': { | |
| 86 'defines': [ | |
| 87 'WL_HIDE_DEPRECATED', | |
| 88 ], | |
| 89 'sources': [ | |
| 90 'fake_server.cc', | |
| 91 'fake_server.h', | |
| 92 'mock_platform_window_delegate.cc', | |
| 93 'wayland_connection_unittest.cc', | |
| 94 'wayland_pointer_unittest.cc', | |
| 95 'wayland_surface_factory_unittest.cc', | |
| 96 'wayland_test.cc', | |
| 97 'wayland_test.h', | |
| 98 'wayland_window_unittest.cc', | |
| 99 ], | |
| 100 }, | |
| 101 }, | |
| 102 ], | |
| 103 } | |
| OLD | NEW |