[go: nahoru, domu]

blob: d894d7bef84b132ec5db5e7291d8096760f39dbd [file] [log] [blame]
sdefresne998e8582015-10-07 13:36:451# Copyright 2015 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.
4
5import("//testing/test.gni")
6
7source_set("net") {
8 deps = [
9 "//base",
10 "//net",
11 ]
12
13 sources = [
14 "clients/crn_forwarding_network_client.h",
15 "clients/crn_forwarding_network_client.mm",
16 "clients/crn_forwarding_network_client_factory.h",
17 "clients/crn_forwarding_network_client_factory.mm",
18 "clients/crn_network_client_protocol.h",
19 "clients/crn_simple_network_client_factory.h",
20 "clients/crn_simple_network_client_factory.mm",
21 "cookies/cookie_cache.cc",
22 "cookies/cookie_cache.h",
23 "cookies/cookie_creation_time_manager.h",
24 "cookies/cookie_creation_time_manager.mm",
25 "cookies/cookie_store_ios.h",
26 "cookies/cookie_store_ios.mm",
27 "cookies/cookie_store_ios_client.h",
28 "cookies/cookie_store_ios_client.mm",
29 "cookies/system_cookie_util.h",
30 "cookies/system_cookie_util.mm",
31 "crn_http_protocol_handler.h",
32 "crn_http_protocol_handler.mm",
33 "crn_http_protocol_handler_proxy.h",
34 "crn_http_protocol_handler_proxy_with_client_thread.h",
35 "crn_http_protocol_handler_proxy_with_client_thread.mm",
36 "crn_http_url_response.h",
37 "crn_http_url_response.mm",
38 "empty_nsurlcache.h",
39 "empty_nsurlcache.mm",
40 "http_protocol_logging.h",
41 "http_protocol_logging.mm",
42 "http_response_headers_util.h",
43 "http_response_headers_util.mm",
44 "nsurlrequest_util.h",
45 "nsurlrequest_util.mm",
46 "protocol_handler_util.h",
47 "protocol_handler_util.mm",
48 "request_tracker.h",
49 "request_tracker.mm",
50 "url_scheme_util.h",
51 "url_scheme_util.mm",
52 ]
53}
54
55test("ios_net_unittests") {
56 deps = [
agrieved7a71c882015-11-20 19:53:2857 ":net",
sdefresne998e8582015-10-07 13:36:4558 "//base",
59 "//base/test:run_all_unittests",
60 "//net:test_support",
61 "//testing/gtest",
62 "//url",
sdefresne998e8582015-10-07 13:36:4563 ]
64
65 sources = [
66 "clients/crn_forwarding_network_client_factory_unittest.mm",
67 "cookies/cookie_cache_unittest.cc",
68 "cookies/cookie_creation_time_manager_unittest.mm",
69 "cookies/cookie_store_ios_unittest.mm",
70 "cookies/system_cookie_util_unittest.mm",
71 "http_response_headers_util_unittest.mm",
72 "nsurlrequest_util_unittest.mm",
73 "protocol_handler_util_unittest.mm",
74 "url_scheme_util_unittest.mm",
75 ]
76}