| OLD | NEW |
| 1 # Copyright 2015 The Chromium Authors. All rights reserved. | 1 # Copyright 2015 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 import("//build/config/ui.gni") | 5 import("//build/config/ui.gni") |
| 6 | 6 |
| 7 source_set("wayland") { | 7 source_set("wayland") { |
| 8 sources = [ | 8 sources = [ |
| 9 "scoped_wl_types.cc", | 9 "scoped_wl_types.cc", |
| 10 "scoped_wl_types.h", | 10 "scoped_wl_types.h", |
| 11 "server.cc", | 11 "server.cc", |
| 12 "server.h", | 12 "server.h", |
| 13 ] | 13 ] |
| 14 | 14 |
| 15 defines = [ "EXO_IMPLEMENTATION" ] | 15 defines = [ "EXO_IMPLEMENTATION" ] |
| 16 | 16 |
| 17 deps = [ | 17 deps = [ |
| 18 "//base", | 18 "//base", |
| 19 "//components/exo", | 19 "//components/exo", |
| 20 "//skia", | 20 "//skia", |
| 21 "//third_party/wayland:wayland_server", | 21 "//third_party/wayland:wayland_server", |
| 22 "//third_party/wayland-protocols:xdg_shell_protocol", |
| 22 ] | 23 ] |
| 23 | 24 |
| 24 if (use_ozone) { | 25 if (use_ozone) { |
| 25 deps += [ "//third_party/mesa:wayland_drm_protocol" ] | 26 deps += [ "//third_party/mesa:wayland_drm_protocol" ] |
| 26 } | 27 } |
| 27 } | 28 } |
| 28 | 29 |
| 29 source_set("unit_tests") { | 30 source_set("unit_tests") { |
| 30 testonly = true | 31 testonly = true |
| 31 | 32 |
| 32 sources = [ | 33 sources = [ |
| 33 "server_unittest.cc", | 34 "server_unittest.cc", |
| 34 ] | 35 ] |
| 35 | 36 |
| 36 deps = [ | 37 deps = [ |
| 37 ":wayland", | 38 ":wayland", |
| 38 "//testing/gtest", | 39 "//testing/gtest", |
| 39 "//third_party/wayland:wayland_client", | 40 "//third_party/wayland:wayland_client", |
| 40 ] | 41 ] |
| 41 } | 42 } |
| OLD | NEW |