OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 source_set("net") { | 5 source_set("net") { |
6 configs += [ "//build/config/compiler:enable_arc" ] | 6 configs += [ "//build/config/compiler:enable_arc" ] |
7 sources = [ | 7 sources = [ |
8 "chrome_cookie_store_ios_client.h", | 8 "chrome_cookie_store_ios_client.h", |
9 "chrome_cookie_store_ios_client.mm", | 9 "chrome_cookie_store_ios_client.mm", |
10 "connection_type_observer_bridge.h", | 10 "connection_type_observer_bridge.h", |
11 "connection_type_observer_bridge.mm", | 11 "connection_type_observer_bridge.mm", |
12 "cookie_util.h", | 12 "cookie_util.h", |
13 "cookie_util.mm", | 13 "cookie_util.mm", |
14 "crl_set_fetcher.cc", | 14 "crl_set_fetcher.cc", |
15 "crl_set_fetcher.h", | 15 "crl_set_fetcher.h", |
16 "http_server_properties_manager_factory.cc", | 16 "http_server_properties_manager_factory.cc", |
17 "http_server_properties_manager_factory.h", | 17 "http_server_properties_manager_factory.h", |
18 "ios_chrome_http_user_agent_settings.h", | 18 "ios_chrome_http_user_agent_settings.h", |
19 "ios_chrome_http_user_agent_settings.mm", | 19 "ios_chrome_http_user_agent_settings.mm", |
20 "ios_chrome_network_delegate.cc", | 20 "ios_chrome_network_delegate.cc", |
21 "ios_chrome_network_delegate.h", | 21 "ios_chrome_network_delegate.h", |
22 "ios_chrome_url_request_context_getter.cc", | 22 "ios_chrome_url_request_context_getter.cc", |
23 "ios_chrome_url_request_context_getter.h", | 23 "ios_chrome_url_request_context_getter.h", |
24 "net_types.h", | |
25 "proxy_service_factory.cc", | 24 "proxy_service_factory.cc", |
26 "proxy_service_factory.h", | 25 "proxy_service_factory.h", |
27 "retryable_url_fetcher.h", | 26 "retryable_url_fetcher.h", |
28 "retryable_url_fetcher.mm", | 27 "retryable_url_fetcher.mm", |
29 ] | 28 ] |
30 deps = [ | 29 deps = [ |
31 "//base", | 30 "//base", |
32 "//components/component_updater", | 31 "//components/component_updater", |
33 "//components/content_settings/core/browser", | 32 "//components/content_settings/core/browser", |
34 "//components/pref_registry", | 33 "//components/pref_registry", |
35 "//components/prefs", | 34 "//components/prefs", |
36 "//components/proxy_config", | 35 "//components/proxy_config", |
37 "//components/update_client", | 36 "//components/update_client", |
38 "//ios/chrome/browser", | 37 "//ios/chrome/browser", |
39 "//ios/chrome/browser/browser_state", | 38 "//ios/chrome/browser/browser_state", |
40 "//ios/chrome/browser/browsing_data", | 39 "//ios/chrome/browser/browsing_data", |
41 "//ios/net", | 40 "//ios/net", |
42 "//ios/web", | 41 "//ios/web", |
43 "//net", | 42 "//net", |
44 "//net:extras", | 43 "//net:extras", |
45 "//url", | 44 "//url", |
46 ] | 45 ] |
47 allow_circular_includes_from = [ | 46 public_deps = [ |
48 "//ios/chrome/browser", | 47 ":net_types", |
49 "//ios/chrome/browser/browser_state", | |
50 ] | 48 ] |
| 49 allow_circular_includes_from = [ "//ios/chrome/browser" ] |
| 50 } |
| 51 |
| 52 source_set("net_types") { |
| 53 sources = [ |
| 54 "net_types.h", |
| 55 ] |
| 56 deps = [ |
| 57 "//base", |
| 58 "//net", |
| 59 ] |
| 60 configs += [ "//build/config/compiler:enable_arc" ] |
51 } | 61 } |
52 | 62 |
53 source_set("unit_tests") { | 63 source_set("unit_tests") { |
54 configs += [ "//build/config/compiler:enable_arc" ] | 64 configs += [ "//build/config/compiler:enable_arc" ] |
55 testonly = true | 65 testonly = true |
56 sources = [ | 66 sources = [ |
57 "cookie_util_unittest.mm", | 67 "cookie_util_unittest.mm", |
58 "retryable_url_fetcher_unittest.mm", | 68 "retryable_url_fetcher_unittest.mm", |
59 ] | 69 ] |
60 deps = [ | 70 deps = [ |
(...skipping 15 matching lines...) Expand all Loading... |
76 deps = [ | 86 deps = [ |
77 "//base", | 87 "//base", |
78 "//ios/chrome/test/app:test_support", | 88 "//ios/chrome/test/app:test_support", |
79 "//ios/chrome/test/earl_grey:test_support", | 89 "//ios/chrome/test/earl_grey:test_support", |
80 "//ios/third_party/earl_grey", | 90 "//ios/third_party/earl_grey", |
81 "//ios/web:test_support", | 91 "//ios/web:test_support", |
82 "//url", | 92 "//url", |
83 ] | 93 ] |
84 libs = [ "XCTest.framework" ] | 94 libs = [ "XCTest.framework" ] |
85 } | 95 } |
OLD | NEW |