blob: 78c57b324a063f36b55b2b72e97ac1789df97b16 [file] [log] [blame]
# 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 = [
":public",
"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",
]
frameworks = [ "UIKit.framework" ]
}
source_set("public") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"upgrade_constants.h",
"upgrade_constants.mm",
"upgrade_utils.h",
"upgrade_utils.mm",
]
deps = [ "//ios/chrome/browser" ]
frameworks = [ "UIKit.framework" ]
}
source_set("unit_tests") {
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
sources = [ "upgrade_center_unittest.mm" ]
deps = [
":upgrade",
"//base",
"//testing/gtest",
]
}