summaryrefslogtreecommitdiff
path: root/chromium/ios/chrome/browser/feature_engagement/BUILD.gn
blob: a9a0f27cf858261e4cdb30614394f99a1662f350 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# 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/popup_menu:constants",
    "//ios/chrome/browser/ui/tab_grid:egtest_support",
    "//ios/chrome/browser/ui/tab_switcher:egtest_support",
    "//ios/chrome/browser/ui/tab_switcher:modes",
    "//ios/chrome/browser/ui/tools_menu/public",
    "//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",
  ]
}