# 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("elements") {
  sources = [
    "selector_coordinator.h",
    "selector_coordinator.mm",
    "selector_picker_presentation_controller.h",
    "selector_picker_presentation_controller.mm",
    "selector_picker_view_controller.h",
    "selector_picker_view_controller.mm",
    "selector_view_controller_delegate.h",
  ]
  deps = [
    "//base",
    "//ios/chrome/browser",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [
    "selector_coordinator_unittest.mm",
    "selector_picker_view_controller_unittest.mm",
  ]
  deps = [
    ":elements",
    "//base",
    "//base/test:test_support",
    "//testing/gtest",
    "//third_party/ocmock",
  ]
}
