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

Side by Side Diff: mash/BUILD.gn

Issue 1822133002: Converts mash_wm_apptests to unit tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: update Created 4 years, 9 months 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 | « BUILD.gn ('k') | mash/unittests_manifest.json » ('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 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 import("//mojo/public/mojo_application_manifest.gni")
5 import("//testing/test.gni") 6 import("//testing/test.gni")
6 7
7 # Target that builders build. 8 # Target that builders build.
8 group("all") { 9 group("all") {
9 testonly = true 10 testonly = true
10 11
11 deps = [ 12 deps = [
12 ":tests", 13 ":mash_unittests",
13 "//components/leveldb", 14 "//components/leveldb",
14 "//mash/example", 15 "//mash/example",
15 "//mash/init", 16 "//mash/init",
16 "//mash/login", 17 "//mash/login",
17 "//mash/screenlock", 18 "//mash/screenlock",
18 "//mash/session", 19 "//mash/session",
19 "//mash/task_viewer", 20 "//mash/task_viewer",
20 ] 21 ]
21 } 22 }
22 23
23 group("tests") {
24 testonly = true
25
26 deps = [
27 ":mash_unittests",
28 "//mash/wm:tests",
29 ]
30 }
31
32 test("mash_unittests") { 24 test("mash_unittests") {
33 deps = [ 25 deps = [
34 "//base", 26 "//base",
35 "//base/test:run_all_unittests",
36 "//base/test:test_config", 27 "//base/test:test_config",
37 "//base/test:test_support", 28 "//base/test:test_support",
38 "//mash/wm:unittests", 29 "//mash/wm:unittests",
39 "//mojo/platform_handle:platform_handle_impl", 30 "//mojo/platform_handle:platform_handle_impl",
31 "//mojo/shell/background:main",
32 "//mojo/shell/public/cpp/test:run_all_shelltests",
33 ]
34 data_deps = [
35 ":unittests_manifest",
40 ] 36 ]
41 } 37 }
38
39 mojo_application_manifest("unittests_manifest") {
40 type = "exe"
41 application_name = "mash_unittests"
42 source = "unittests_manifest.json"
43 }
OLDNEW
« no previous file with comments | « BUILD.gn ('k') | mash/unittests_manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698