blob: 09696428f909c5aa9943f5c57d26581834d6d4d5 [file] [log] [blame]
# Copyright 2019 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("alert_view") {
sources = [
"alert_action.h",
"alert_action.mm",
"alert_consumer.h",
"alert_view_controller.h",
"alert_view_controller.mm",
]
deps = [
"//base",
"//ios/chrome/browser/ui/elements",
"//ios/chrome/browser/ui/presenters",
"//ios/chrome/browser/ui/util",
"//ios/chrome/common/ui/colors",
"//ios/chrome/common/ui/util",
]
frameworks = [ "UIKit.framework" ]
configs += [ "//build/config/compiler:enable_arc" ]
}
source_set("unit_tests") {
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
sources = [ "alert_view_controller_unittest.mm" ]
deps = [
":alert_view",
"//testing/gtest:gtest",
]
}