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 | 6 |
7 mojo_native_application("network") { | 7 mojo_native_application("network") { |
8 output_name = "network_service" | 8 output_name = "network_service" |
9 | 9 |
10 deps = [ | 10 deps = [ |
11 ":lib", | 11 ":lib", |
12 "//base", | 12 "//base", |
13 "//mojo/application", | 13 "//mojo/application", |
14 "//mojo/public/c/system:for_shared_library", | 14 "//mojo/public/c/system:for_shared_library", |
15 "//mojo/public/cpp/bindings:bindings", | 15 "//mojo/public/cpp/bindings:bindings", |
16 "//mojo/services/public/interfaces/network", | 16 "//mojo/services/network/public/interfaces", |
17 ] | 17 ] |
18 | 18 |
19 sources = [ | 19 sources = [ |
20 "network_service.cc", | 20 "network_service.cc", |
21 ] | 21 ] |
22 } | 22 } |
23 | 23 |
24 source_set("lib") { | 24 source_set("lib") { |
25 deps = [ | 25 deps = [ |
26 "//base", | 26 "//base", |
27 "//mojo/application", | 27 "//mojo/application", |
28 "//mojo/common", | 28 "//mojo/common", |
29 "//mojo/environment:chromium", | 29 "//mojo/environment:chromium", |
30 "//mojo/services/public/cpp/network", | 30 "//mojo/services/network/public/cpp", |
31 "//mojo/services/public/interfaces/network", | 31 "//mojo/services/network/public/interfaces", |
32 "//net", | 32 "//net", |
33 "//url", | 33 "//url", |
34 ] | 34 ] |
35 | 35 |
36 sources = [ | 36 sources = [ |
37 "cookie_store_impl.cc", | 37 "cookie_store_impl.cc", |
38 "cookie_store_impl.h", | 38 "cookie_store_impl.h", |
39 "net_adapters.cc", | 39 "net_adapters.cc", |
40 "net_adapters.h", | 40 "net_adapters.h", |
41 "net_address_type_converters.cc", | 41 "net_address_type_converters.cc", |
42 "net_address_type_converters.h", | 42 "net_address_type_converters.h", |
43 "network_context.cc", | 43 "network_context.cc", |
44 "network_context.h", | 44 "network_context.h", |
45 "network_service_impl.cc", | 45 "network_service_impl.cc", |
46 "network_service_impl.h", | 46 "network_service_impl.h", |
47 "tcp_bound_socket_impl.cc", | 47 "tcp_bound_socket_impl.cc", |
48 "tcp_bound_socket_impl.h", | 48 "tcp_bound_socket_impl.h", |
49 "tcp_connected_socket_impl.cc", | 49 "tcp_connected_socket_impl.cc", |
50 "tcp_connected_socket_impl.h", | 50 "tcp_connected_socket_impl.h", |
51 "tcp_server_socket_impl.cc", | 51 "tcp_server_socket_impl.cc", |
52 "tcp_server_socket_impl.h", | 52 "tcp_server_socket_impl.h", |
53 "udp_socket_impl.cc", | 53 "udp_socket_impl.cc", |
54 "udp_socket_impl.h", | 54 "udp_socket_impl.h", |
55 "url_loader_impl.cc", | 55 "url_loader_impl.cc", |
56 "url_loader_impl.h", | 56 "url_loader_impl.h", |
57 "web_socket_impl.cc", | 57 "web_socket_impl.cc", |
58 "web_socket_impl.h", | 58 "web_socket_impl.h", |
59 ] | 59 ] |
60 } | 60 } |
OLD | NEW |