summaryrefslogtreecommitdiff
path: root/chromium/ios/chrome/browser/upgrade/BUILD.gn
blob: 74fecdaaa3279365ebe821f569db2e4025d6793f (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
# 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("upgrade") {
  sources = [
    "upgrade_center.h",
    "upgrade_center.mm",
    "upgrade_recommended_details.h",
  ]
  deps = [
    "//base",
    "//components/infobars/core",
    "//components/version_info",
    "//ios/chrome/app/strings",
    "//ios/chrome/browser",
    "//ios/chrome/browser/ui/commands",
    "//ios/chrome/browser/ui/infobars:resources",
    "//ios/web",
    "//net",
    "//ui/base",
    "//ui/gfx",
    "//url",
  ]
  libs = [ "UIKit.framework" ]
}

source_set("unit_tests") {
  configs += [ "//build/config/compiler:enable_arc" ]
  testonly = true
  sources = [
    "upgrade_center_unittest.mm",
  ]
  deps = [
    ":upgrade",
    "//base",
    "//testing/gtest",
  ]
}