chromium/ios/chrome/browser/ui/send_tab_to_self/BUILD.gn

# 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.

source_set("send_tab_to_self") {
  sources = [
    "send_tab_to_self_coordinator.h",
    "send_tab_to_self_coordinator.mm",
  ]
  deps = [
    ":send_tab_to_self_ui",
    "//base",
    "//components/send_tab_to_self",
    "//components/signin/public/identity_manager",
    "//ios/chrome/app/strings",
    "//ios/chrome/browser/main/model",
    "//ios/chrome/browser/send_tab_to_self/model",
    "//ios/chrome/browser/shared/coordinator/chrome_coordinator",
    "//ios/chrome/browser/shared/model/browser_state",
    "//ios/chrome/browser/shared/model/profile",
    "//ios/chrome/browser/shared/model/url:constants",
    "//ios/chrome/browser/shared/public/commands",
    "//ios/chrome/browser/shared/ui/util",
    "//ios/chrome/browser/shared/ui/util:snackbar_util",
    "//ios/chrome/browser/signin/model",
    "//ios/chrome/browser/signin/model:system_identity",
    "//ios/chrome/browser/sync/model",
    "//ios/chrome/browser/ui/authentication:signin_presenter",
    "//ios/chrome/browser/ui/authentication/signin:constants",
    "//ios/chrome/browser/ui/infobars/presentation",
    "//ios/third_party/material_components_ios",
    "//ui/base",
    "//url",
  ]
}

source_set("send_tab_to_self_ui") {
  sources = [
    "send_tab_to_self_image_detail_text_item.h",
    "send_tab_to_self_image_detail_text_item.mm",
    "send_tab_to_self_manage_devices_item.h",
    "send_tab_to_self_manage_devices_item.mm",
    "send_tab_to_self_modal_delegate.h",
    "send_tab_to_self_modal_presentation_controller.h",
    "send_tab_to_self_modal_presentation_controller.mm",
    "send_tab_to_self_table_view_controller.h",
    "send_tab_to_self_table_view_controller.mm",
  ]
  deps = [
    "//base",
    "//components/send_tab_to_self",
    "//components/sync_device_info",
    "//ios/chrome/app/strings",
    "//ios/chrome/browser/overlays/ui_bundled:util",
    "//ios/chrome/browser/shared/ui/symbols",
    "//ios/chrome/browser/shared/ui/table_view",
    "//ios/chrome/browser/shared/ui/table_view:styler",
    "//ios/chrome/browser/shared/ui/table_view/cells",
    "//ios/chrome/browser/ui/infobars/presentation:positioner",
    "//ios/chrome/browser/ui/settings/cells",
    "//ios/chrome/common:string_util",
    "//ios/chrome/common/ui/colors",
    "//ios/chrome/common/ui/table_view:cells_constants",
    "//ios/chrome/common/ui/util:util",
    "//ui/base",
  ]
}

source_set("eg2_tests") {
  configs += [ "//build/config/ios:xctest_config" ]
  testonly = true
  sources = [ "send_tab_to_self_coordinator_egtest.mm" ]
  deps = [
    "//base",
    "//components/send_tab_to_self",
    "//ios/chrome/app/strings",
    "//ios/chrome/browser/shared/public/features",
    "//ios/chrome/browser/signin/model:fake_system_identity",
    "//ios/chrome/browser/ui/authentication:eg_test_support+eg2",
    "//ios/chrome/browser/ui/authentication/signin:constants",
    "//ios/chrome/test/earl_grey:eg_test_support+eg2",
    "//ios/testing/earl_grey:eg_test_support+eg2",
    "//net:test_support",
    "//ui/base",
  ]
  frameworks = [ "UIKit.framework" ]
}