| Index: components/exo/wayland/BUILD.gn
|
| diff --git a/components/mime_util/BUILD.gn b/components/exo/wayland/BUILD.gn
|
| similarity index 50%
|
| copy from components/mime_util/BUILD.gn
|
| copy to components/exo/wayland/BUILD.gn
|
| index 0e3a8137a7adfd9b48b781ea6dc5128bf03c126b..2041108cb1d2cd5d61af55867f7ea3fb3e38785f 100644
|
| --- a/components/mime_util/BUILD.gn
|
| +++ b/components/exo/wayland/BUILD.gn
|
| @@ -2,32 +2,34 @@
|
| # Use of this source code is governed by a BSD-style license that can be
|
| # found in the LICENSE file.
|
|
|
| -static_library("mime_util") {
|
| +source_set("wayland") {
|
| sources = [
|
| - "mime_util.cc",
|
| - "mime_util.h",
|
| + "scoped_wl_types.cc",
|
| + "scoped_wl_types.h",
|
| + "server.cc",
|
| + "server.h",
|
| ]
|
|
|
| + defines = [ "EXO_IMPLEMENTATION" ]
|
| +
|
| deps = [
|
| "//base",
|
| - "//net",
|
| + "//components/exo",
|
| + "//skia",
|
| + "//third_party/wayland:wayland_server",
|
| ]
|
| -
|
| - # iOS doesn't use and must not depend on //media
|
| - if (!is_ios) {
|
| - deps += [ "//media" ]
|
| - }
|
| }
|
|
|
| source_set("unit_tests") {
|
| testonly = true
|
| +
|
| sources = [
|
| - "mime_util_unittest.cc",
|
| + "server_unittest.cc",
|
| ]
|
|
|
| deps = [
|
| - ":mime_util",
|
| - "//base",
|
| "//testing/gtest",
|
| + "//third_party/wayland:wayland_client",
|
| + ":wayland",
|
| ]
|
| }
|
|
|