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

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: Rename the class 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 output_name = "clipboard_apptests"
27
28 testonly = true
29
26 sources = [ 30 sources = [
27 "clipboard_standalone_unittest.cc", 31 "clipboard_apptest.cc",
msw 2014/12/04 22:20:22 optional nit: one-liner without trailing comma:
28 ] 32 ]
29 33
30 deps = [ 34 deps = [
31 "//base", 35 "//base",
32 "//base/test:run_all_unittests",
33 "//base/test:test_support",
34 "//mojo/application", 36 "//mojo/application",
35 "//mojo/application_manager", 37 "//mojo/application:test_support",
36 "//mojo/common", 38 "//mojo/common",
37 "//mojo/edk/system", 39 "//mojo/public/cpp/bindings",
38 "//mojo/environment:chromium", 40 "//mojo/services/public/interfaces/clipboard",
39 "//mojo/services/public/interfaces/clipboard:clipboard", 41 ]
40 "//mojo/shell:test_support", 42
41 "//testing/gtest", 43 datadeps = [
msw 2014/12/04 22:20:22 ditto optional nit: one-liner without trailing com
44 ":clipboard",
42 ] 45 ]
43 } 46 }
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