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 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 "//url", | 52 "//url", |
53 "//third_party/mojo/src/mojo/edk/system", | 53 "//third_party/mojo/src/mojo/edk/system", |
54 "//mojo/environment:chromium", | 54 "//mojo/environment:chromium", |
55 "//mojo/util:filename_util", | 55 "//mojo/util:filename_util", |
56 ] | 56 ] |
57 } | 57 } |
58 | 58 |
59 test("mojo_shell_unittests") { | 59 test("mojo_shell_unittests") { |
60 sources = [ | 60 sources = [ |
61 "application_manager_unittest.cc", | 61 "application_manager_unittest.cc", |
| 62 "capability_filter_unittest.cc", |
62 "query_util_unittest.cc", | 63 "query_util_unittest.cc", |
63 ] | 64 ] |
64 | 65 |
65 deps = [ | 66 deps = [ |
66 ":shell", | 67 ":shell", |
67 ":test_bindings", | 68 ":test_bindings", |
68 "//base", | 69 "//base", |
69 "//mojo/application/public/cpp", | 70 "//mojo/application/public/cpp", |
70 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", | 71 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", |
71 "//testing/gtest", | 72 "//testing/gtest", |
72 "//url", | 73 "//url", |
73 ] | 74 ] |
74 } | 75 } |
75 | 76 |
76 mojom("test_bindings") { | 77 mojom("test_bindings") { |
77 sources = [ | 78 sources = [ |
| 79 "capability_filter_unittest.mojom", |
78 "test.mojom", | 80 "test.mojom", |
79 ] | 81 ] |
80 } | 82 } |
OLD | NEW |