| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 | 4 |
| 5 source_set("upgrade") { | 5 source_set("upgrade") { |
| 6 sources = [ | 6 sources = [ |
| 7 "upgrade_center.h", | 7 "upgrade_center.h", |
| 8 "upgrade_center.mm", | 8 "upgrade_center.mm", |
| 9 "upgrade_recommended_details.h", | 9 "upgrade_recommended_details.h", |
| 10 ] | 10 ] |
| 11 deps = [ | 11 deps = [ |
| 12 "//base", | 12 "//base", |
| 13 "//components/infobars/core", | 13 "//components/infobars/core", |
| 14 "//components/version_info", | 14 "//components/version_info", |
| 15 "//ios/chrome/app/strings", | 15 "//ios/chrome/app/strings", |
| 16 "//ios/chrome/browser", | 16 "//ios/chrome/browser", |
| 17 "//ios/chrome/browser/ui/commands", | 17 "//ios/chrome/browser/ui/commands", |
| 18 "//ios/chrome/browser/ui/infobars:resources", | 18 "//ios/chrome/browser/ui/infobars:resources", |
| 19 "//ios/web", | 19 "//ios/web", |
| 20 "//net", | 20 "//net", |
| 21 "//ui/base", | 21 "//ui/base", |
| 22 "//ui/gfx", | 22 "//ui/gfx", |
| 23 "//url", | 23 "//url", |
| 24 ] | 24 ] |
| 25 libs = [ "UIKit.framework" ] | 25 libs = [ "UIKit.framework" ] |
| 26 } | 26 } |
| 27 | 27 |
| 28 source_set("unit_tests") { | 28 source_set("unit_tests") { |
| 29 configs += [ "//build/config/compiler:enable_arc" ] |
| 29 testonly = true | 30 testonly = true |
| 30 sources = [ | 31 sources = [ |
| 31 "upgrade_center_unittest.mm", | 32 "upgrade_center_unittest.mm", |
| 32 ] | 33 ] |
| 33 deps = [ | 34 deps = [ |
| 34 ":upgrade", | 35 ":upgrade", |
| 35 "//base", | 36 "//base", |
| 36 "//testing/gtest", | 37 "//testing/gtest", |
| 37 ] | 38 ] |
| 38 } | 39 } |
| OLD | NEW |