OLD | NEW |
1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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 # GYP version: mojo/mojo_services.gypi:mojo_clipboard | 5 import("//mojo/public/mojo_application.gni") |
6 shared_library("clipboard") { | 6 |
| 7 mojo_binary_application("clipboard") { |
7 sources = [ | 8 sources = [ |
8 "clipboard_standalone_impl.cc", | 9 "clipboard_standalone_impl.cc", |
9 "clipboard_standalone_impl.h", | 10 "clipboard_standalone_impl.h", |
10 "main.cc", | 11 "main.cc", |
11 ] | 12 ] |
12 | 13 |
13 deps = [ | 14 deps = [ |
14 "//base", | 15 "//base", |
15 "//mojo/application", | 16 "//mojo/application", |
16 "//mojo/common", | 17 "//mojo/common", |
17 "//mojo/environment:chromium", | 18 "//mojo/environment:chromium", |
18 "//mojo/public/c/system:for_shared_library", | 19 "//mojo/public/c/system:for_shared_library", |
19 "//mojo/public/cpp/bindings", | 20 "//mojo/public/cpp/bindings", |
20 "//mojo/services/public/interfaces/clipboard", | 21 "//mojo/services/public/interfaces/clipboard", |
21 "//ui/base", | 22 "//ui/base", |
22 ] | 23 ] |
23 } | 24 } |
24 | 25 |
25 # GYP version: mojo/mojo_services.gypi:mojo_clipboard_unittests | |
26 test("clipboard_unittests") { | 26 test("clipboard_unittests") { |
27 sources = [ | 27 sources = [ |
28 "clipboard_standalone_unittest.cc", | 28 "clipboard_standalone_unittest.cc", |
29 ] | 29 ] |
30 | 30 |
31 deps = [ | 31 deps = [ |
32 "//base", | 32 "//base", |
33 "//base/test:test_support", | 33 "//base/test:test_support", |
34 "//mojo/application", | 34 "//mojo/application", |
35 "//mojo/application_manager", | 35 "//mojo/application_manager", |
36 "//mojo/common", | 36 "//mojo/common", |
37 "//mojo/edk/system", | 37 "//mojo/edk/system", |
38 "//mojo/edk/test:run_all_unittests", | 38 "//mojo/edk/test:run_all_unittests", |
39 "//mojo/environment:chromium", | 39 "//mojo/environment:chromium", |
40 "//mojo/services/public/interfaces/clipboard:clipboard", | 40 "//mojo/services/public/interfaces/clipboard:clipboard", |
41 "//mojo/shell:test_support", | 41 "//mojo/shell:test_support", |
42 "//testing/gtest", | 42 "//testing/gtest", |
43 ] | 43 ] |
44 } | 44 } |
OLD | NEW |