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 static_library("mime_util") { | 5 source_set("wayland") { |
6 sources = [ | 6 sources = [ |
7 "mime_util.cc", | 7 "scoped_wl_types.cc", |
8 "mime_util.h", | 8 "scoped_wl_types.h", |
| 9 "server.cc", |
| 10 "server.h", |
9 ] | 11 ] |
10 | 12 |
| 13 defines = [ "EXO_IMPLEMENTATION" ] |
| 14 |
11 deps = [ | 15 deps = [ |
12 "//base", | 16 "//base", |
13 "//net", | 17 "//components/exo", |
| 18 "//skia", |
| 19 "//third_party/wayland:wayland_server", |
14 ] | 20 ] |
15 | |
16 # iOS doesn't use and must not depend on //media | |
17 if (!is_ios) { | |
18 deps += [ "//media" ] | |
19 } | |
20 } | 21 } |
21 | 22 |
22 source_set("unit_tests") { | 23 source_set("unit_tests") { |
23 testonly = true | 24 testonly = true |
| 25 |
24 sources = [ | 26 sources = [ |
25 "mime_util_unittest.cc", | 27 "server_unittest.cc", |
26 ] | 28 ] |
27 | 29 |
28 deps = [ | 30 deps = [ |
29 ":mime_util", | |
30 "//base", | |
31 "//testing/gtest", | 31 "//testing/gtest", |
| 32 "//third_party/wayland:wayland_client", |
| 33 ":wayland", |
32 ] | 34 ] |
33 } | 35 } |
OLD | NEW |