|  | # Copyright 2019 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. | 
|  |  | 
|  | 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_strings_grit", | 
|  | "//ios/chrome/browser", | 
|  | "//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_strings_grit", | 
|  | "//ios/chrome/browser", | 
|  | "//ios/chrome/browser/browser_state:test_support", | 
|  | "//ios/chrome/browser/ui/open_in", | 
|  | "//ios/web/public/test/fakes", | 
|  | "//testing/gtest", | 
|  | "//ui/base:base", | 
|  | "//url", | 
|  | ] | 
|  | } |