OLD | NEW |
(Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 import("//mojo/public/mojo_application.gni") |
| 6 import("//mojo/public/mojo_application_manifest.gni") |
| 7 import("//testing/test.gni") |
| 8 |
| 9 source_set("lib") { |
| 10 sources = [ |
| 11 "clipboard_impl.cc", |
| 12 "clipboard_impl.h", |
| 13 ] |
| 14 |
| 15 deps = [ |
| 16 "//base", |
| 17 "//components/mus/public/interfaces", |
| 18 "//mojo/public/cpp/bindings", |
| 19 "//mojo/public/cpp/bindings:callback", |
| 20 "//services/shell/public/cpp", |
| 21 "//services/tracing/public/cpp", |
| 22 ] |
| 23 } |
| 24 |
| 25 group("tests") { |
| 26 testonly = true |
| 27 deps = [ |
| 28 ":mus_clipboard_unittests", |
| 29 ] |
| 30 } |
| 31 |
| 32 test("mus_clipboard_unittests") { |
| 33 sources = [ |
| 34 "clipboard_unittest.cc", |
| 35 ] |
| 36 |
| 37 deps = [ |
| 38 "//base", |
| 39 "//components/mus/public/interfaces", |
| 40 "//mojo/common", |
| 41 "//services/shell/public/cpp:shell_test_support", |
| 42 "//services/shell/public/cpp:sources", |
| 43 "//services/shell/public/cpp/test:run_all_shelltests", |
| 44 ] |
| 45 |
| 46 data_deps = [ |
| 47 ":test_manifest", |
| 48 ":lib", |
| 49 "//components/mus:mus", |
| 50 ] |
| 51 } |
| 52 |
| 53 mojo_application_manifest("test_manifest") { |
| 54 type = "exe" |
| 55 application_name = "mus_clipboard_unittests" |
| 56 source = "test_manifest.json" |
| 57 } |
OLD | NEW |