# 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. import("//build/config/ui.gni") import("//testing/test.gni") static_library("arc") { sources = [ "notification/arc_notification_content_view.cc", "notification/arc_notification_content_view.h", "notification/arc_notification_delegate.cc", "notification/arc_notification_delegate.h", "notification/arc_notification_item.h", "notification/arc_notification_item_impl.cc", "notification/arc_notification_item_impl.h", "notification/arc_notification_manager.cc", "notification/arc_notification_manager.h", "notification/arc_notification_surface.h", "notification/arc_notification_surface_impl.cc", "notification/arc_notification_surface_impl.h", "notification/arc_notification_surface_manager.cc", "notification/arc_notification_surface_manager.h", "notification/arc_notification_surface_manager_impl.cc", "notification/arc_notification_surface_manager_impl.h", "notification/arc_notification_view.cc", "notification/arc_notification_view.h", ] deps = [ "//ash", "//base", "//components/arc:arc_base", "//components/exo", "//components/keyed_service/content:content", "//components/signin/core/account_id", "//mojo/common:common_base", "//skia", "//ui/accessibility", "//ui/aura", "//ui/base", "//ui/compositor", "//ui/display", "//ui/events", "//ui/gfx", "//ui/message_center", "//ui/message_center/public/cpp", "//ui/resources", "//ui/strings", "//ui/views", "//ui/wm", ] } test("ui_arc_unittests") { testonly = true sources = [ "notification/arc_notification_content_view_unittest.cc", "notification/arc_notification_manager_unittest.cc", "notification/arc_notification_view_unittest.cc", "test/run_all_unittests.cc", ] deps = [ ":arc", "//ash:test_support_without_content", "//base", "//base/test:test_support", "//components/arc:arc_test_support", "//components/exo", "//components/exo:test_support", "//mojo/edk/system", "//testing/gmock", "//testing/gtest", "//ui/aura:test_support", "//ui/base:test_support", "//ui/events:test_support", "//ui/gl:test_support", "//ui/message_center:test_support", "//ui/views", "//ui/views:test_support", ] data_deps = [ "//ui/resources:ui_test_pak_data", ] }