1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Copyright 2017 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
component("io_thread") {
configs += [ "//build/config/compiler:enable_arc" ]
deps = [
"//base",
"//components/net_log",
"//components/network_session_configurator/browser",
"//components/prefs",
"//components/proxy_config",
"//components/proxy_config/ios",
"//components/variations",
"//components/version_info",
"//ios/web",
"//ios/web/common:user_agent",
"//ios/web/public",
"//net",
]
sources = [
"ios_io_thread.h",
"ios_io_thread.mm",
]
}
source_set("unit_tests") {
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
sources = [ "ios_io_thread_unittest.mm" ]
deps = [
":io_thread",
"//base",
"//components/prefs",
"//components/prefs:test_support",
"//components/proxy_config",
"//ios/web",
"//ios/web/public/test",
"//net",
"//net:test_support",
"//testing/gtest",
]
}
|