summaryrefslogtreecommitdiff
path: root/chromium/ios/components/io_thread/BUILD.gn
blob: 850e93e9f9ebe6c4af1aed987f93546c4adad8fa (plain)
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
46
47
48
49
50
51
52
# Copyright 2017 The Chromium Authors
# 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/net",
    "//ios/web",
    "//ios/web/common:user_agent",
    "//ios/web/public",
    "//net",
  ]

  sources = [
    "ios_io_thread.h",
    "ios_io_thread.mm",
    "leak_tracker.h",
  ]
}

source_set("unit_tests") {
  configs += [ "//build/config/compiler:enable_arc" ]
  testonly = true
  sources = [
    "ios_io_thread_unittest.mm",
    "leak_tracker_unittest.cc",
  ]
  deps = [
    ":io_thread",
    "//base",
    "//components/prefs",
    "//components/prefs:test_support",
    "//components/proxy_config",
    "//ios/net",
    "//ios/web",
    "//ios/web:threads",
    "//ios/web/public/test",
    "//net",
    "//net:test_support",
    "//testing/gtest",
  ]
}