| 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 test("mash_unittests") { | 25 test("mash_unittests") { |
| 26 deps = [ | 26 deps = [ |
| 27 "//ash/mus:unittests", |
| 27 "//base", | 28 "//base", |
| 28 "//base/test:test_config", | 29 "//base/test:test_config", |
| 29 "//base/test:test_support", | 30 "//base/test:test_support", |
| 30 "//mash/wm:unittests", | 31 "//mash/wm:unittests", |
| 31 "//mojo/platform_handle:platform_handle_impl", | 32 "//mojo/platform_handle:platform_handle_impl", |
| 32 "//services/shell/background:main", | 33 "//services/shell/background:main", |
| 33 "//services/shell/public/cpp/test:run_all_shelltests", | 34 "//services/shell/public/cpp/test:run_all_shelltests", |
| 34 ] | 35 ] |
| 35 data_deps = [ | 36 data_deps = [ |
| 36 ":unittests_manifest", | 37 ":unittests_manifest", |
| 37 ] | 38 ] |
| 38 } | 39 } |
| 39 | 40 |
| 40 mojo_application_manifest("unittests_manifest") { | 41 mojo_application_manifest("unittests_manifest") { |
| 41 type = "exe" | 42 type = "exe" |
| 42 application_name = "mash_unittests" | 43 application_name = "mash_unittests" |
| 43 source = "unittests_manifest.json" | 44 source = "unittests_manifest.json" |
| 44 } | 45 } |
| OLD | NEW |