chromium/ios/chrome/browser/itunes_urls/model/BUILD.gn

# Copyright 2016 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

source_set("model") {
  sources = [
    "itunes_urls_handler_tab_helper.h",
    "itunes_urls_handler_tab_helper.mm",
  ]
  deps = [
    "//base",
    "//ios/chrome/browser/shared/public/commands",
    "//url",
  ]
  public_deps = [ "//ios/web/public" ]
  frameworks = [
    "Foundation.framework",
    "StoreKit.framework",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [ "itunes_urls_handler_tab_helper_unittest.mm" ]
  deps = [
    ":model",
    "//base",
    "//base/test:test_support",
    "//ios/chrome/browser/shared/model/profile/test",
    "//ios/chrome/browser/shared/public/commands",
    "//ios/chrome/test/fakes",
    "//ios/web/public",
    "//ios/web/public/test:test",
    "//ios/web/public/test/fakes",
    "//testing/gtest",
    "//third_party/ocmock",
    "//url",
  ]
}