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 # GYP version: mojo/mojo_services.gypi:mojo_network_service | 5 import("//mojo/public/mojo_application.gni") |
6 shared_library("network") { | 6 |
| 7 mojo_binary_application("network") { |
7 output_name = "network_service" | 8 output_name = "network_service" |
8 sources = [ "main.cc" ] | 9 sources = [ "main.cc" ] |
9 deps = [ | 10 deps = [ |
10 ":lib", | 11 ":lib", |
11 "//base", | 12 "//base", |
12 "//mojo/application", | 13 "//mojo/application", |
13 "//mojo/public/c/system:for_shared_library", | 14 "//mojo/public/c/system:for_shared_library", |
14 "//mojo/public/cpp/bindings:bindings", | 15 "//mojo/public/cpp/bindings:bindings", |
15 "//mojo/services/public/cpp/network", | 16 "//mojo/services/public/cpp/network", |
16 "//mojo/services/public/interfaces/network", | 17 "//mojo/services/public/interfaces/network", |
17 ] | 18 ] |
18 } | 19 } |
19 | 20 |
20 # GYP version: mojo/mojo_services.gypi:mojo_network_service_lib | |
21 source_set("lib") { | 21 source_set("lib") { |
22 sources = [ | 22 sources = [ |
23 "cookie_store_impl.cc", | 23 "cookie_store_impl.cc", |
24 "cookie_store_impl.h", | 24 "cookie_store_impl.h", |
25 "net_adapters.cc", | 25 "net_adapters.cc", |
26 "net_adapters.h", | 26 "net_adapters.h", |
27 "net_address_type_converters.cc", | 27 "net_address_type_converters.cc", |
28 "net_address_type_converters.h", | 28 "net_address_type_converters.h", |
29 "network_context.cc", | 29 "network_context.cc", |
30 "network_context.h", | 30 "network_context.h", |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
69 "//mojo/services/public/cpp/network", | 69 "//mojo/services/public/cpp/network", |
70 "//mojo/services/public/interfaces/network", | 70 "//mojo/services/public/interfaces/network", |
71 "//mojo/shell:test_support", | 71 "//mojo/shell:test_support", |
72 "//testing/gtest", | 72 "//testing/gtest", |
73 ] | 73 ] |
74 | 74 |
75 sources = [ | 75 sources = [ |
76 "udp_socket_unittest.cc", | 76 "udp_socket_unittest.cc", |
77 ] | 77 ] |
78 } | 78 } |
OLD | NEW |