| 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 = [ |
| 11 "application_instance.cc", | 11 "application_instance.cc", |
| 12 "application_instance.h", | 12 "application_instance.h", |
| 13 "application_loader.h", | 13 "application_loader.h", |
| 14 "application_manager.cc", | 14 "application_manager.cc", |
| 15 "application_manager.h", | 15 "application_manager.h", |
| 16 "capability_filter.cc", | 16 "capability_filter.cc", |
| 17 "capability_filter.h", | 17 "capability_filter.h", |
| 18 "connect_to_application_params.cc", | 18 "connect_to_application_params.cc", |
| 19 "connect_to_application_params.h", | 19 "connect_to_application_params.h", |
| 20 "connect_util.cc", | 20 "connect_util.cc", |
| 21 "connect_util.h", | 21 "connect_util.h", |
| 22 "content_handler_connection.cc", | |
| 23 "content_handler_connection.h", | |
| 24 "data_pipe_peek.cc", | 22 "data_pipe_peek.cc", |
| 25 "data_pipe_peek.h", | 23 "data_pipe_peek.h", |
| 26 "fetcher.cc", | 24 "fetcher.cc", |
| 27 "fetcher.h", | 25 "fetcher.h", |
| 28 "identity.cc", | 26 "identity.cc", |
| 29 "identity.h", | 27 "identity.h", |
| 30 "native_runner.h", | 28 "native_runner.h", |
| 31 "package_manager.h", | 29 "package_manager.h", |
| 32 "query_util.cc", | 30 "query_util.cc", |
| 33 "query_util.h", | 31 "query_util.h", |
| (...skipping 16 matching lines...) Expand all Loading... |
| 50 "//base/third_party/dynamic_annotations", | 48 "//base/third_party/dynamic_annotations", |
| 51 "//crypto:crypto", | 49 "//crypto:crypto", |
| 52 "//mojo/application/public/cpp:sources", | 50 "//mojo/application/public/cpp:sources", |
| 53 "//url", | 51 "//url", |
| 54 "//third_party/mojo/src/mojo/edk/system", | 52 "//third_party/mojo/src/mojo/edk/system", |
| 55 "//mojo/environment:chromium", | 53 "//mojo/environment:chromium", |
| 56 "//mojo/util:filename_util", | 54 "//mojo/util:filename_util", |
| 57 ] | 55 ] |
| 58 } | 56 } |
| 59 | 57 |
| 58 source_set("test_support") { |
| 59 testonly = true |
| 60 sources = [ |
| 61 "capability_filter_test.cc", |
| 62 "capability_filter_test.h", |
| 63 "test_package_manager.cc", |
| 64 "test_package_manager.h", |
| 65 ] |
| 66 |
| 67 deps = [ |
| 68 ":shell", |
| 69 ":test_bindings", |
| 70 "//mojo/application/public/cpp", |
| 71 "//mojo/application/public/interfaces", |
| 72 "//testing/gtest", |
| 73 ] |
| 74 } |
| 75 |
| 60 test("mojo_shell_unittests") { | 76 test("mojo_shell_unittests") { |
| 61 sources = [ | 77 sources = [ |
| 62 "application_manager_unittest.cc", | 78 "application_manager_unittest.cc", |
| 63 "capability_filter_unittest.cc", | 79 "capability_filter_unittest.cc", |
| 64 "query_util_unittest.cc", | 80 "query_util_unittest.cc", |
| 65 "test_package_manager.cc", | |
| 66 "test_package_manager.h", | |
| 67 ] | 81 ] |
| 68 | 82 |
| 69 deps = [ | 83 deps = [ |
| 70 ":shell", | 84 ":shell", |
| 71 ":test_bindings", | 85 ":test_bindings", |
| 86 ":test_support", |
| 72 "//base", | 87 "//base", |
| 73 "//mojo/application/public/cpp", | 88 "//mojo/application/public/cpp", |
| 74 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", | 89 "//third_party/mojo/src/mojo/edk/test:run_all_unittests", |
| 75 "//testing/gtest", | 90 "//testing/gtest", |
| 76 "//url", | 91 "//url", |
| 77 ] | 92 ] |
| 78 } | 93 } |
| 79 | 94 |
| 80 mojom("test_bindings") { | 95 mojom("test_bindings") { |
| 81 sources = [ | 96 sources = [ |
| 82 "capability_filter_unittest.mojom", | 97 "capability_filter_unittest.mojom", |
| 83 "test.mojom", | 98 "test.mojom", |
| 84 ] | 99 ] |
| 85 } | 100 } |
| OLD | NEW |