| OLD | NEW |
| 1 # Copyright 2014 The Chromium Authors. All rights reserved. | 1 # Copyright 2014 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("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") | 5 import("//third_party/mojo/src/mojo/public/tools/bindings/mojom.gni") |
| 6 import("//testing/test.gni") | 6 import("//testing/test.gni") |
| 7 | 7 |
| 8 source_set("shell") { | 8 source_set("shell") { |
| 9 output_name = "mojo_shell" | 9 output_name = "mojo_shell" |
| 10 sources = [ | 10 sources = [ |
| (...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 42 "//crypto:crypto", | 42 "//crypto:crypto", |
| 43 "//url", | 43 "//url", |
| 44 "//third_party/mojo/src/mojo/edk/system", | 44 "//third_party/mojo/src/mojo/edk/system", |
| 45 "//mojo/environment:chromium", | 45 "//mojo/environment:chromium", |
| 46 "//mojo/util:filename_util", | 46 "//mojo/util:filename_util", |
| 47 "//third_party/mojo_services/src/content_handler/public/interfaces", | 47 "//third_party/mojo_services/src/content_handler/public/interfaces", |
| 48 "//mojo/runner:native_application_support", | 48 "//mojo/runner:native_application_support", |
| 49 ] | 49 ] |
| 50 } | 50 } |
| 51 | 51 |
| 52 test("tests") { | 52 test("mojo_shell_unittests") { |
| 53 output_name = "mojo_shell_unittests" | |
| 54 | |
| 55 sources = [ | 53 sources = [ |
| 56 "application_manager_unittest.cc", | 54 "application_manager_unittest.cc", |
| 57 "query_util_unittest.cc", | 55 "query_util_unittest.cc", |
| 58 ] | 56 ] |
| 59 | 57 |
| 60 deps = [ | 58 deps = [ |
| 61 ":shell", | 59 ":shell", |
| 62 ":test_bindings", | 60 ":test_bindings", |
| 63 "//base", | 61 "//base", |
| 64 "//mojo/application", | 62 "//mojo/application", |
| 65 "//mojo/common", | 63 "//mojo/common", |
| 66 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", | 64 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", |
| 67 "//mojo/environment:chromium", | 65 "//mojo/environment:chromium", |
| 68 "//third_party/mojo/src/mojo/public/cpp/application", | 66 "//third_party/mojo/src/mojo/public/cpp/application", |
| 69 "//third_party/mojo/src/mojo/public/cpp/bindings", | 67 "//third_party/mojo/src/mojo/public/cpp/bindings", |
| 70 "//testing/gtest", | 68 "//testing/gtest", |
| 71 "//url", | 69 "//url", |
| 72 ] | 70 ] |
| 73 } | 71 } |
| 74 | 72 |
| 75 mojom("test_bindings") { | 73 mojom("test_bindings") { |
| 76 sources = [ | 74 sources = [ |
| 77 "test.mojom", | 75 "test.mojom", |
| 78 ] | 76 ] |
| 79 } | 77 } |
| OLD | NEW |