chromium/ios/chrome/browser/ui/tab_switcher/tab_grid/transitions/animations/BUILD.gn

# Copyright 2023 The Chromium Authors
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.

import("//ios/public/provider/chrome/browser/build_config.gni")

source_set("animations") {
  sources = [
    "centered_zoom_transition_animation.h",
    "centered_zoom_transition_animation.mm",
    "point_zoom_transition_animation.h",
    "point_zoom_transition_animation.mm",
    "tab_grid_transition_animation.h",
    "tab_grid_transition_animation_group.h",
    "tab_grid_transition_animation_group.mm",
  ]

  deps = [
    "//base",
    "//ios/chrome/browser/crash_report/model",
    "//ios/chrome/browser/shared/ui/util",
  ]
}

source_set("unit_tests") {
  testonly = true
  sources = [
    "fake_tab_grid_transition_animation.h",
    "fake_tab_grid_transition_animation.mm",
    "tab_grid_transition_animation_group_unittest.mm",
  ]
  deps = [
    ":animations",
    "//base/test:test_support",
    "//ios/chrome/test:test_support",
  ]
}