summaryrefslogtreecommitdiff
path: root/chromium/ios/chrome/browser/itunes_links/BUILD.gn
blob: ad2ccf1277563976116e1d33c426dd7c4b18a54c (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
# Copyright 2016 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("itunes_links") {
  configs += [ "//build/config/compiler:enable_arc" ]
  sources = [
    "itunes_links_flag.h",
    "itunes_links_flag.mm",
    "itunes_links_handler_tab_helper.h",
    "itunes_links_handler_tab_helper.mm",
  ]
  deps = [
    "//base",
    "//ios/chrome/browser/store_kit",
    "//ios/web",
    "//url",
  ]
}

source_set("unit_tests") {
  configs += [ "//build/config/compiler:enable_arc" ]
  testonly = true
  sources = [
    "itunes_links_handler_tab_helper_unittest.mm",
  ]
  deps = [
    ":itunes_links",
    "//base",
    "//base/test:test_support",
    "//ios/chrome/browser/browser_state:test_support",
    "//ios/chrome/browser/store_kit",
    "//ios/chrome/test/fakes",
    "//ios/web/public",
    "//ios/web/public/test:test",
    "//ios/web/public/test/fakes",
    "//testing/gtest",
    "//third_party/ocmock",
    "//url",
  ]
}