Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(98)

Side by Side Diff: services/clipboard/BUILD.gn

Issue 768683003: Switch clipboard_unittests to clipboard_apptests. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: oneliners Created 6 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « mojo/tools/data/unittests ('k') | services/clipboard/clipboard_apptest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 import("//mojo/public/mojo_application.gni") 5 import("//mojo/public/mojo_application.gni")
6 6
7 mojo_native_application("clipboard") { 7 mojo_native_application("clipboard") {
8 sources = [ 8 sources = [
9 "clipboard_standalone_impl.cc", 9 "clipboard_standalone_impl.cc",
10 "clipboard_standalone_impl.h", 10 "clipboard_standalone_impl.h",
11 "main.cc", 11 "main.cc",
12 ] 12 ]
13 13
14 deps = [ 14 deps = [
15 "//base", 15 "//base",
16 "//mojo/application", 16 "//mojo/application",
17 "//mojo/common", 17 "//mojo/common",
18 "//mojo/environment:chromium", 18 "//mojo/environment:chromium",
19 "//mojo/public/cpp/bindings", 19 "//mojo/public/cpp/bindings",
20 "//mojo/services/public/interfaces/clipboard", 20 "//mojo/services/public/interfaces/clipboard",
21 "//ui/base", 21 "//ui/base",
22 ] 22 ]
23 } 23 }
24 24
25 test("clipboard_unittests") { 25 mojo_native_application("apptests") {
26 sources = [ 26 output_name = "clipboard_apptests"
27 "clipboard_standalone_unittest.cc", 27
28 ] 28 testonly = true
29
30 sources = [ "clipboard_apptest.cc" ]
29 31
30 deps = [ 32 deps = [
31 "//base", 33 "//base",
32 "//base/test:run_all_unittests",
33 "//base/test:test_support",
34 "//mojo/application", 34 "//mojo/application",
35 "//mojo/application_manager", 35 "//mojo/application:test_support",
36 "//mojo/common", 36 "//mojo/common",
37 "//mojo/edk/system", 37 "//mojo/public/cpp/bindings",
38 "//mojo/environment:chromium", 38 "//mojo/services/public/interfaces/clipboard",
39 "//mojo/services/public/interfaces/clipboard:clipboard",
40 "//mojo/shell:test_support",
41 "//testing/gtest",
42 ] 39 ]
40
41 datadeps = [ ":clipboard" ]
43 } 42 }
OLDNEW
« no previous file with comments | « mojo/tools/data/unittests ('k') | services/clipboard/clipboard_apptest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698