blob: fbbf6001e8772ece891d9b86be89bbafea718f91 [file] [log] [blame]
# Copyright 2019 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
import("//build/config/ios/rules.gni")
source_set("open_in") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"open_in_tab_helper.h",
"open_in_tab_helper.mm",
"open_in_tab_helper_delegate.h",
]
deps = [
"//base",
"//ios/chrome/app/strings",
"//ios/chrome/browser/browser_state",
"//ios/chrome/browser/ui:feature_flags",
"//ios/web/public",
"//ui/base:base",
"//url",
]
}
source_set("unit_tests") {
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
sources = [ "open_in_tab_helper_unittest.mm" ]
deps = [
":open_in",
"//base",
"//base/test:test_support",
"//ios/chrome/app/strings",
"//ios/chrome/browser/browser_state:test_support",
"//ios/chrome/browser/ui/open_in",
"//ios/web/public/test/fakes",
"//testing/gtest",
"//ui/base:base",
"//url",
]
}