| # 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_handler_tab_helper.h", |
| "itunes_urls_handler_tab_helper.mm", |
| ] |
| deps = [ |
| "//base", |
| "//ios/chrome/browser/store_kit", |
| "//ios/web", |
| "//url", |
| ] |
| libs = [ |
| "Foundation.framework", |
| "StoreKit.framework", |
| ] |
| } |
| |
| 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", |
| ] |
| } |