summaryrefslogtreecommitdiff
path: root/chromium/ios/chrome/browser/itunes_urls/BUILD.gn
blob: 1a7608b52487db3643291b6f3dafd11577f8ceea (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_urls") {
  configs += [ "//build/config/compiler:enable_arc" ]
  sources = [
    "itunes_urls_flag.h",
    "itunes_urls_flag.mm",
    "itunes_urls_handler_tab_helper.h",
    "itunes_urls_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_urls_handler_tab_helper_unittest.mm",
  ]
  deps = [
    ":itunes_urls",
    "//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",
  ]
}