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