blob: 0c65df909b0220ed5d2188be572baf79ce0e32e2 [file] [log] [blame]
# Copyright 2017 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("feature_engagement") {
sources = [
"tracker_factory.h",
"tracker_factory.mm",
"tracker_factory_util.h",
"tracker_factory_util.mm",
"tracker_util.h",
"tracker_util.mm",
]
configs += [ "//build/config/compiler:enable_arc" ]
deps = [
"//base",
"//components/feature_engagement",
"//components/keyed_service/core",
"//components/keyed_service/ios",
"//ios/chrome/browser",
"//ios/chrome/browser/browser_state",
"//ios/chrome/browser/ui/commands",
"//ios/web/public",
]
}
source_set("eg_tests") {
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
sources = [
"feature_engagement_egtest.mm",
]
deps = [
":feature_engagement",
"//base",
"//base/test:test_support",
"//components/feature_engagement/public",
"//components/feature_engagement/test:test_support",
"//ios/chrome/app/strings",
"//ios/chrome/browser/browser_state",
"//ios/chrome/browser/ui:ui_util",
"//ios/chrome/browser/ui/tab_switcher:egtest_support",
"//ios/chrome/test/app:test_support",
"//ios/chrome/test/earl_grey:test_support",
"//ios/testing:ios_test_support",
"//ios/testing/earl_grey:earl_grey_support",
"//ui/base",
"//url",
]
}