Update mojo sdk to rev 59145288bae55b0fce4276b017df6a1117bcf00f
[chromium-blink-merge.git] / mojo / services / network / BUILD.gn
blobdf26015fe13a3f9670a8537892c73df4e64cc5fd
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
3 # found in the LICENSE file.
5 import("//mojo/public/mojo_application.gni")
7 mojo_native_application("network") {
8   output_name = "network_service"
10   deps = [
11     ":lib",
12     "//base",
13     "//mojo/application",
14     "//mojo/public/c/system:for_shared_library",
15     "//mojo/public/cpp/bindings:bindings",
16     "//mojo/services/network/public/interfaces",
17   ]
19   sources = [
20     "network_service.cc",
21   ]
24 source_set("lib") {
25   deps = [
26     "//base",
27     "//mojo/application",
28     "//mojo/common",
29     "//mojo/environment:chromium",
30     "//mojo/services/network/public/cpp",
31     "//mojo/services/network/public/interfaces",
32     "//net",
33     "//url",
34   ]
36   sources = [
37     "cookie_store_impl.cc",
38     "cookie_store_impl.h",
39     "net_adapters.cc",
40     "net_adapters.h",
41     "net_address_type_converters.cc",
42     "net_address_type_converters.h",
43     "network_context.cc",
44     "network_context.h",
45     "network_service_impl.cc",
46     "network_service_impl.h",
47     "tcp_bound_socket_impl.cc",
48     "tcp_bound_socket_impl.h",
49     "tcp_connected_socket_impl.cc",
50     "tcp_connected_socket_impl.h",
51     "tcp_server_socket_impl.cc",
52     "tcp_server_socket_impl.h",
53     "udp_socket_impl.cc",
54     "udp_socket_impl.h",
55     "url_loader_impl.cc",
56     "url_loader_impl.h",
57     "web_socket_impl.cc",
58     "web_socket_impl.h",
59   ]