| 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("//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("all") { | 10 group("all") { |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 "application_instance.h", | 22 "application_instance.h", |
| 23 "application_loader.h", | 23 "application_loader.h", |
| 24 "application_manager.cc", | 24 "application_manager.cc", |
| 25 "application_manager.h", | 25 "application_manager.h", |
| 26 "capability_filter.cc", | 26 "capability_filter.cc", |
| 27 "capability_filter.h", | 27 "capability_filter.h", |
| 28 "connect_to_application_params.cc", | 28 "connect_to_application_params.cc", |
| 29 "connect_to_application_params.h", | 29 "connect_to_application_params.h", |
| 30 "connect_util.cc", | 30 "connect_util.cc", |
| 31 "connect_util.h", | 31 "connect_util.h", |
| 32 "data_pipe_peek.cc", | 32 "content_handler_connection.cc", |
| 33 "data_pipe_peek.h", | 33 "content_handler_connection.h", |
| 34 "fetcher.cc", | |
| 35 "fetcher.h", | |
| 36 "identity.cc", | 34 "identity.cc", |
| 37 "identity.h", | 35 "identity.h", |
| 38 "native_runner.h", | 36 "native_runner.h", |
| 39 "package_manager.h", | |
| 40 "query_util.cc", | |
| 41 "query_util.h", | |
| 42 "shell_application_delegate.cc", | 37 "shell_application_delegate.cc", |
| 43 "shell_application_delegate.h", | 38 "shell_application_delegate.h", |
| 44 "shell_application_loader.cc", | 39 "shell_application_loader.cc", |
| 45 "shell_application_loader.h", | 40 "shell_application_loader.h", |
| 46 "static_application_loader.cc", | 41 "static_application_loader.cc", |
| 47 "static_application_loader.h", | 42 "static_application_loader.h", |
| 48 "switches.cc", | 43 "switches.cc", |
| 49 "switches.h", | 44 "switches.h", |
| 50 ] | 45 ] |
| 51 | 46 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 72 | 67 |
| 73 # For mojo/shell/application_loader.h | 68 # For mojo/shell/application_loader.h |
| 74 allow_circular_includes_from = [ "//mojo/services/package_manager:lib" ] | 69 allow_circular_includes_from = [ "//mojo/services/package_manager:lib" ] |
| 75 } | 70 } |
| 76 | 71 |
| 77 source_set("test_support") { | 72 source_set("test_support") { |
| 78 testonly = true | 73 testonly = true |
| 79 sources = [ | 74 sources = [ |
| 80 "capability_filter_test.cc", | 75 "capability_filter_test.cc", |
| 81 "capability_filter_test.h", | 76 "capability_filter_test.h", |
| 82 "test_package_manager.cc", | |
| 83 "test_package_manager.h", | |
| 84 ] | 77 ] |
| 85 | 78 |
| 86 deps = [ | 79 deps = [ |
| 87 ":shell", | 80 ":shell", |
| 88 ":test_bindings", | 81 ":test_bindings", |
| 89 "//mojo/shell/public/cpp", | 82 "//mojo/shell/public/cpp", |
| 90 "//mojo/shell/public/interfaces", | 83 "//mojo/shell/public/interfaces", |
| 91 "//testing/gtest", | 84 "//testing/gtest", |
| 92 ] | 85 ] |
| 93 } | 86 } |
| 94 | 87 |
| 95 # TODO(beng): this target should just be called "unittests" but I am having | 88 # TODO(beng): this target should just be called "unittests" but I am having |
| 96 # difficulty with the android _apk generator. | 89 # difficulty with the android _apk generator. |
| 97 test("mojo_shell_unittests") { | 90 test("mojo_shell_unittests") { |
| 98 sources = [ | 91 sources = [ |
| 99 "application_manager_unittest.cc", | 92 "application_manager_unittest.cc", |
| 100 "capability_filter_unittest.cc", | 93 "capability_filter_unittest.cc", |
| 101 "data_pipe_peek_unittest.cc", | |
| 102 "fetcher/about_fetcher_unittest.cc", | |
| 103 "fetcher/data_fetcher_unittest.cc", | |
| 104 "fetcher/network_fetcher_unittest.cc", | |
| 105 "fetcher/url_resolver_unittest.cc", | |
| 106 "query_util_unittest.cc", | |
| 107 ] | 94 ] |
| 108 | 95 |
| 109 deps = [ | 96 deps = [ |
| 110 ":shell", | 97 ":shell", |
| 111 ":test_bindings", | 98 ":test_bindings", |
| 112 ":test_support", | 99 ":test_support", |
| 113 "//base", | 100 "//base", |
| 114 "//mojo/edk/system:test_utils", | 101 "//mojo/edk/system:test_utils", |
| 115 "//mojo/edk/test:run_all_unittests", | 102 "//mojo/edk/test:run_all_unittests", |
| 116 "//mojo/public/cpp/system", | 103 "//mojo/public/cpp/system", |
| 117 "//mojo/shell/fetcher", | |
| 118 "//mojo/shell/package_manager", | |
| 119 "//mojo/shell/public/cpp", | 104 "//mojo/shell/public/cpp", |
| 120 "//mojo/util:filename_util", | 105 "//mojo/util:filename_util", |
| 121 "//testing/gtest", | 106 "//testing/gtest", |
| 122 "//url", | 107 "//url", |
| 123 ] | 108 ] |
| 124 } | 109 } |
| 125 | 110 |
| 126 mojom("test_bindings") { | 111 mojom("test_bindings") { |
| 127 sources = [ | 112 sources = [ |
| 128 "application_manager_apptests.mojom", | 113 "application_manager_apptests.mojom", |
| (...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 246 deps = [ | 231 deps = [ |
| 247 ":test_bindings", | 232 ":test_bindings", |
| 248 "//base", | 233 "//base", |
| 249 "//build/config/sanitizers:deps", | 234 "//build/config/sanitizers:deps", |
| 250 "//mojo/common:common_base", | 235 "//mojo/common:common_base", |
| 251 "//mojo/converters/network", | 236 "//mojo/converters/network", |
| 252 "//mojo/shell/public/cpp", | 237 "//mojo/shell/public/cpp", |
| 253 "//mojo/shell/runner/child:test_native_main", | 238 "//mojo/shell/runner/child:test_native_main", |
| 254 ] | 239 ] |
| 255 } | 240 } |
| OLD | NEW |