blob: 5f8788be93cc1fc0939aae557f0a430233f29404 [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("badges") {
sources = [
"sc_badge_container_view_controller.h",
"sc_badge_container_view_controller.mm",
"sc_badge_coordinator.h",
"sc_badge_coordinator.mm",
]
deps = [
":badges_constants",
"//ios/chrome/browser/infobars:badge_state_public",
"//ios/chrome/browser/main:public",
"//ios/chrome/browser/ui/badges",
"//ios/chrome/browser/ui/badges:badges_popup_menu",
"//ios/chrome/browser/ui/badges:public",
"//ios/chrome/browser/ui/badges:util",
"//ios/chrome/browser/ui/util",
"//ios/chrome/common/ui/util",
"//ios/showcase/common",
]
frameworks = [ "UIKit.framework" ]
configs += [ "//build/config/compiler:enable_arc" ]
}
source_set("badges_constants") {
sources = [
"sc_badge_constants.h",
"sc_badge_constants.mm",
]
configs += [ "//build/config/compiler:enable_arc" ]
}
source_set("eg2_tests") {
configs += [
"//build/config/compiler:enable_arc",
"//build/config/ios:xctest_config",
]
testonly = true
sources = [ "sc_badge_egtest.mm" ]
deps = [
":badges_constants",
"//ios/chrome/browser/ui/badges:public",
"//ios/showcase/test:eg2_test",
"//ios/testing/earl_grey:eg_test_support+eg2",
"//ios/third_party/earl_grey2:test_lib",
]
frameworks = [ "UIKit.framework" ]
}