| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 import("//mojo/public/mojo_application_manifest.gni") | 6 import("//mojo/public/mojo_application_manifest.gni") |
| 7 import("//mojo/public/tools/bindings/mojom.gni") | 7 import("//mojo/public/tools/bindings/mojom.gni") |
| 8 import("//testing/test.gni") | 8 import("//testing/test.gni") |
| 9 | 9 |
| 10 group("tests") { | 10 group("tests") { |
| 11 testonly = true | 11 testonly = true |
| 12 deps = [ | 12 deps = [ |
| 13 ":mojo_shell_unittests", | 13 ":mojo_shell_unittests", |
| 14 ] | 14 ] |
| 15 } | 15 } |
| 16 | 16 |
| 17 test("mojo_shell_unittests") { | 17 test("mojo_shell_unittests") { |
| 18 sources = [ | 18 sources = [ |
| 19 "loader_unittest.cc", | 19 "loader_unittest.cc", |
| 20 "mojo_shell_unittests.cc", | |
| 21 ] | 20 ] |
| 22 | 21 |
| 23 deps = [ | 22 deps = [ |
| 24 ":interfaces", | 23 ":interfaces", |
| 25 "//base", | 24 "//base", |
| 26 "//base/test:test_support", | 25 "//base/test:test_support", |
| 27 "//mojo/edk/system", | 26 "//mojo/edk/system", |
| 27 "//mojo/public/cpp/bindings", |
| 28 "//mojo/public/cpp/system", | 28 "//mojo/public/cpp/system", |
| 29 "//mojo/services/catalog:unittests", | 29 "//mojo/services/catalog:unittests", |
| 30 "//mojo/shell", | 30 "//mojo/shell", |
| 31 "//mojo/shell/background:lib", | 31 "//mojo/shell/background:lib", |
| 32 "//mojo/shell/background:main", | 32 "//mojo/shell/background:main", |
| 33 "//mojo/shell/background/tests:unittests", | 33 "//mojo/shell/background/tests:unittests", |
| 34 "//mojo/shell/public/cpp", | 34 "//mojo/shell/public/cpp", |
| 35 "//mojo/shell/public/cpp/test:run_all_shelltests", |
| 36 "//mojo/shell/public/interfaces", |
| 35 "//mojo/shell/tests/connect", | 37 "//mojo/shell/tests/connect", |
| 36 "//mojo/shell/tests/lifecycle", | 38 "//mojo/shell/tests/lifecycle", |
| 37 "//mojo/shell/tests/shell", | 39 "//mojo/shell/tests/shell", |
| 38 "//mojo/util:filename_util", | 40 "//mojo/util:filename_util", |
| 39 "//testing/gtest", | 41 "//testing/gtest", |
| 40 ] | 42 ] |
| 41 } | 43 } |
| 42 | 44 |
| 43 mojom("interfaces") { | 45 mojom("interfaces") { |
| 44 sources = [ | 46 sources = [ |
| 45 "test.mojom", | 47 "test.mojom", |
| 46 ] | 48 ] |
| 47 } | 49 } |
| OLD | NEW |