| 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/public/cpp/bindings", |
| 28 "//mojo/public/cpp/system", | |
| 29 "//mojo/shell", | 27 "//mojo/shell", |
| 30 "//mojo/shell/background:lib", | 28 "//mojo/shell/background:lib", |
| 31 "//mojo/shell/background:main", | 29 "//mojo/shell/background:main", |
| 32 "//mojo/shell/background/tests:unittests", | 30 "//mojo/shell/background/tests:unittests", |
| 33 "//mojo/shell/public/cpp", | 31 "//mojo/shell/public/cpp", |
| 32 "//mojo/shell/public/cpp/test:run_all_shelltests", |
| 33 "//mojo/shell/public/interfaces", |
| 34 "//mojo/shell/tests/connect", | 34 "//mojo/shell/tests/connect", |
| 35 "//mojo/shell/tests/lifecycle", | 35 "//mojo/shell/tests/lifecycle", |
| 36 "//mojo/shell/tests/shell", | 36 "//mojo/shell/tests/shell", |
| 37 "//mojo/util:filename_util", | 37 "//mojo/util:filename_util", |
| 38 "//testing/gtest", | 38 "//testing/gtest", |
| 39 ] | 39 ] |
| 40 } | 40 } |
| 41 | 41 |
| 42 mojom("interfaces") { | 42 mojom("interfaces") { |
| 43 sources = [ | 43 sources = [ |
| 44 "test.mojom", | 44 "test.mojom", |
| 45 ] | 45 ] |
| 46 } | 46 } |
| OLD | NEW |