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