OLD | NEW |
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("//mojo/public/mojo_application_manifest.gni") |
6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
7 | 7 |
8 # Target that builders build. | 8 # Target that builders build. |
9 group("all") { | 9 group("all") { |
10 testonly = true | 10 testonly = true |
11 | 11 |
12 deps = [ | 12 deps = [ |
13 ":mash_unittests", | 13 ":mash_unittests", |
14 "//components/leveldb", | 14 "//components/leveldb", |
15 "//mash/catalog_viewer", | 15 "//mash/catalog_viewer", |
16 "//mash/example", | 16 "//mash/example", |
17 "//mash/init", | 17 "//mash/init", |
18 "//mash/login", | 18 "//mash/login", |
19 "//mash/screenlock", | 19 "//mash/screenlock", |
20 "//mash/session", | 20 "//mash/session", |
21 "//mash/task_viewer", | 21 "//mash/task_viewer", |
22 ] | 22 ] |
23 } | 23 } |
24 | 24 |
25 group("browser") { | |
26 testonly = true | |
27 | |
28 deps = [ | |
29 ":all", | |
30 "//mash/browser", | |
31 ] | |
32 } | |
33 | |
34 test("mash_unittests") { | 25 test("mash_unittests") { |
35 deps = [ | 26 deps = [ |
36 "//ash/mus:unittests", | 27 "//ash/mus:unittests", |
37 "//base", | 28 "//base", |
38 "//base/test:test_config", | 29 "//base/test:test_config", |
39 "//base/test:test_support", | 30 "//base/test:test_support", |
40 "//mash/wm:unittests", | 31 "//mash/wm:unittests", |
41 "//mojo/platform_handle:platform_handle_impl", | 32 "//mojo/platform_handle:platform_handle_impl", |
42 "//services/shell/background:main", | 33 "//services/shell/background:main", |
43 "//services/shell/public/cpp/test:run_all_shelltests", | 34 "//services/shell/public/cpp/test:run_all_shelltests", |
44 ] | 35 ] |
45 data_deps = [ | 36 data_deps = [ |
46 ":unittests_manifest", | 37 ":unittests_manifest", |
47 ] | 38 ] |
48 } | 39 } |
49 | 40 |
50 mojo_application_manifest("unittests_manifest") { | 41 mojo_application_manifest("unittests_manifest") { |
51 type = "exe" | 42 type = "exe" |
52 application_name = "mash_unittests" | 43 application_name = "mash_unittests" |
53 source = "unittests_manifest.json" | 44 source = "unittests_manifest.json" |
54 } | 45 } |
OLD | NEW |