| 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 visibility = [ "//ui/ozone/*" ] | 5 visibility = [ "//ui/ozone/*" ] |
| 6 | 6 |
| 7 source_set("wayland") { | 7 source_set("wayland") { |
| 8 sources = [ | 8 sources = [ |
| 9 "client_native_pixmap_factory_wayland.cc", | 9 "client_native_pixmap_factory_wayland.cc", |
| 10 "client_native_pixmap_factory_wayland.h", | 10 "client_native_pixmap_factory_wayland.h", |
| 11 "ozone_platform_wayland.cc", | 11 "ozone_platform_wayland.cc", |
| 12 "ozone_platform_wayland.h", | 12 "ozone_platform_wayland.h", |
| 13 "wayland_display.cc", | 13 "wayland_display.cc", |
| 14 "wayland_display.h", | 14 "wayland_display.h", |
| 15 "wayland_object.cc", | 15 "wayland_object.cc", |
| 16 "wayland_object.h", | 16 "wayland_object.h", |
| 17 "wayland_pointer.cc", |
| 18 "wayland_pointer.h", |
| 17 "wayland_surface_factory.cc", | 19 "wayland_surface_factory.cc", |
| 18 "wayland_surface_factory.h", | 20 "wayland_surface_factory.h", |
| 19 "wayland_window.cc", | 21 "wayland_window.cc", |
| 20 "wayland_window.h", | 22 "wayland_window.h", |
| 21 ] | 23 ] |
| 22 | 24 |
| 23 deps = [ | 25 deps = [ |
| 24 "//base", | 26 "//base", |
| 25 "//skia", | 27 "//skia", |
| 26 "//third_party/wayland:wayland_client", | 28 "//third_party/wayland:wayland_client", |
| 27 "//third_party/wayland-protocols:xdg_shell_protocol", | 29 "//third_party/wayland-protocols:xdg_shell_protocol", |
| 30 "//ui/events", |
| 28 "//ui/events/platform", | 31 "//ui/events/platform", |
| 29 "//ui/gfx", | 32 "//ui/gfx", |
| 30 "//ui/gfx/geometry", | 33 "//ui/gfx/geometry", |
| 31 "//ui/ozone:ozone_base", | 34 "//ui/ozone:ozone_base", |
| 32 "//ui/ozone/common", | 35 "//ui/ozone/common", |
| 33 "//ui/platform_window", | 36 "//ui/platform_window", |
| 34 ] | 37 ] |
| 35 | 38 |
| 36 defines = [ "OZONE_IMPLEMENTATION" ] | 39 defines = [ "OZONE_IMPLEMENTATION" ] |
| 37 } | 40 } |
| 38 | 41 |
| 39 source_set("wayland_unittests") { | 42 source_set("wayland_unittests") { |
| 40 testonly = true | 43 testonly = true |
| 41 | 44 |
| 42 sources = [ | 45 sources = [ |
| 43 "fake_server.cc", | 46 "fake_server.cc", |
| 44 "fake_server.h", | 47 "fake_server.h", |
| 45 "mock_platform_window_delegate.cc", | 48 "mock_platform_window_delegate.cc", |
| 46 "wayland_display_unittest.cc", | 49 "wayland_display_unittest.cc", |
| 50 "wayland_pointer_unittest.cc", |
| 47 "wayland_surface_factory_unittest.cc", | 51 "wayland_surface_factory_unittest.cc", |
| 48 "wayland_test.cc", | 52 "wayland_test.cc", |
| 49 "wayland_test.h", | 53 "wayland_test.h", |
| 50 "wayland_window_unittest.cc", | 54 "wayland_window_unittest.cc", |
| 51 ] | 55 ] |
| 52 | 56 |
| 53 deps = [ | 57 deps = [ |
| 54 ":wayland", | 58 ":wayland", |
| 55 "//testing/gmock", | 59 "//testing/gmock", |
| 56 "//testing/gtest", | 60 "//testing/gtest", |
| 57 "//third_party/wayland:wayland_server", | 61 "//third_party/wayland:wayland_server", |
| 58 "//third_party/wayland-protocols:xdg_shell_protocol", | 62 "//third_party/wayland-protocols:xdg_shell_protocol", |
| 59 "//ui/gfx:test_support", | 63 "//ui/gfx:test_support", |
| 60 "//ui/ozone:platform", | 64 "//ui/ozone:platform", |
| 61 ] | 65 ] |
| 66 |
| 67 defines = [ "WL_HIDE_DEPRECATED" ] |
| 62 } | 68 } |
| OLD | NEW |