| # Copyright 2017 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("test") { |
| testonly = true |
| sources = [ |
| "fullscreen_model_test_util.h", |
| "fullscreen_model_test_util.mm", |
| "test_fullscreen_controller.h", |
| "test_fullscreen_controller.mm", |
| "test_fullscreen_controller_observer.h", |
| "test_fullscreen_controller_observer.mm", |
| "test_fullscreen_mediator.h", |
| "test_fullscreen_mediator.mm", |
| "test_fullscreen_model_observer.h", |
| "test_fullscreen_model_observer.mm", |
| ] |
| |
| configs += [ "//build/config/compiler:enable_arc" ] |
| |
| deps = [ |
| "//base", |
| "//ios/chrome/browser/ui/broadcaster", |
| "//ios/chrome/browser/ui/fullscreen", |
| "//ios/chrome/browser/ui/fullscreen:internal", |
| "//ios/chrome/browser/ui/fullscreen:ui", |
| "//testing/gtest", |
| ] |
| } |
| |
| source_set("eg_app_support+eg2") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| testonly = true |
| sources = [ |
| "fullscreen_app_interface.h", |
| "fullscreen_app_interface.mm", |
| ] |
| deps = [ |
| "//ios/chrome/browser/shared/model/browser", |
| "//ios/chrome/browser/shared/model/browser_state", |
| "//ios/chrome/browser/ui/fullscreen", |
| "//ios/chrome/browser/ui/ntp:logo", |
| "//ios/chrome/test/app:test_support", |
| ] |
| } |
| |
| source_set("eg_test_support+eg2") { |
| configs += [ |
| "//build/config/compiler:enable_arc", |
| "//build/config/ios:xctest_config", |
| ] |
| testonly = true |
| sources = [ |
| "fullscreen_app_interface.h", |
| "fullscreen_app_interface_stub.mm", |
| ] |
| deps = [ "//ios/testing/earl_grey:eg_test_support+eg2" ] |
| } |