summaryrefslogtreecommitdiff
path: root/chromium/ios/chrome/browser/upgrade/BUILD.gn
blob: b0fb5d48cf3a945d8111ea18e702dfa0b2030501 (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
# 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") {
  configs += [ "//build/config/compiler:enable_arc" ]
  sources = [
    "upgrade_center.h",
    "upgrade_center.mm",
    "upgrade_recommended_details.h",
  ]
  deps = [
    "resources:infobar_update",
    "//base",
    "//components/infobars/core",
    "//components/version_info",
    "//ios/chrome/app/strings",
    "//ios/chrome/browser/ui/commands",
    "//ios/web/common",
    "//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",
  ]
}