| 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("//testing/test.gni") | 7 import("//testing/test.gni") |
| 8 | 8 |
| 9 if (is_android) { | 9 if (is_android) { |
| 10 import("//build/config/android/rules.gni") | 10 import("//build/config/android/rules.gni") |
| (...skipping 107 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 118 ":lib", | 118 ":lib", |
| 119 "//base", | 119 "//base", |
| 120 "//mojo/public/c/system:for_shared_library", | 120 "//mojo/public/c/system:for_shared_library", |
| 121 "//mojo/public/cpp/bindings:bindings", | 121 "//mojo/public/cpp/bindings:bindings", |
| 122 "//mojo/services/network/public/cpp", | 122 "//mojo/services/network/public/cpp", |
| 123 "//mojo/services/network/public/interfaces", | 123 "//mojo/services/network/public/interfaces", |
| 124 "//mojo/shell/public/cpp", | 124 "//mojo/shell/public/cpp", |
| 125 ] | 125 ] |
| 126 } | 126 } |
| 127 | 127 |
| 128 group("network_service_unittests") { | 128 test("network_service_unittests") { |
| 129 testonly = true | |
| 130 deps = [ | |
| 131 ":unittests", | |
| 132 ] | |
| 133 } | |
| 134 | |
| 135 test("unittests") { | |
| 136 output_name = "network_service_unittests" | |
| 137 | |
| 138 sources = [ | 129 sources = [ |
| 139 "http_server_unittest.cc", | 130 "http_server_unittest.cc", |
| 140 "udp_socket_unittest.cc", | 131 "udp_socket_unittest.cc", |
| 141 "url_loader_impl_unittest.cc", | 132 "url_loader_impl_unittest.cc", |
| 142 ] | 133 ] |
| 143 | 134 |
| 144 deps = [ | 135 deps = [ |
| 145 ":lib", | 136 ":lib", |
| 146 ":network", | 137 ":network", |
| 147 "//base", | 138 "//base", |
| (...skipping 13 matching lines...) Expand all Loading... |
| 161 data_deps = [ | 152 data_deps = [ |
| 162 ":test_manifest", | 153 ":test_manifest", |
| 163 ] | 154 ] |
| 164 } | 155 } |
| 165 | 156 |
| 166 mojo_application_manifest("test_manifest") { | 157 mojo_application_manifest("test_manifest") { |
| 167 type = "exe" | 158 type = "exe" |
| 168 application_name = "network_service_unittests" | 159 application_name = "network_service_unittests" |
| 169 source = "test_manifest.json" | 160 source = "test_manifest.json" |
| 170 } | 161 } |
| OLD | NEW |