summaryrefslogtreecommitdiff
path: root/chromium/ios/chrome/browser/omaha/BUILD.gn
blob: 8cf69be5d265f4fe472225355ab2cb2b3ac9171b (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
53
54
55
56
57
# Copyright 2016 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.

source_set("omaha") {
  configs += [ "//build/config/compiler:enable_arc" ]
  sources = [
    "omaha_service.h",
    "omaha_service.mm",
  ]
  deps = [
    "//base",
    "//base:i18n",
    "//build:branding_buildflags",
    "//components/metrics",
    "//components/prefs",
    "//components/profile_metrics",
    "//components/version_info",
    "//ios/chrome/app:tests_hook",
    "//ios/chrome/browser",
    "//ios/chrome/browser/browser_state",
    "//ios/chrome/browser/browser_state_metrics",
    "//ios/chrome/browser/ui/util",
    "//ios/chrome/browser/upgrade",
    "//ios/chrome/common",
    "//ios/public/provider/chrome/browser",
    "//ios/public/provider/chrome/browser/omaha",
    "//ios/web",
    "//net",
    "//third_party/libxml:xml_writer",
    "//url",
  ]
}

source_set("unit_tests") {
  configs += [ "//build/config/compiler:enable_arc" ]
  testonly = true
  sources = [ "omaha_service_unittest.mm" ]
  deps = [
    ":omaha",
    "//base",
    "//components/metrics",
    "//components/prefs",
    "//components/version_info",
    "//ios/chrome/browser",
    "//ios/chrome/browser/browser_state:test_support",
    "//ios/chrome/common",
    "//ios/chrome/test:test_support",
    "//ios/public/provider/chrome/browser",
    "//ios/public/provider/chrome/browser/omaha",
    "//ios/web",
    "//ios/web/public/test",
    "//net:test_support",
    "//services/network:test_support",
    "//testing/gtest",
  ]
}