| # Copyright 2017 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("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") { |
| defines = [ "CHROME_EARL_GREY_2" ] |
| configs += [ "//build/config/compiler:enable_arc" ] |
| testonly = true |
| sources = [ |
| "fullscreen_app_interface.h", |
| "fullscreen_app_interface.mm", |
| ] |
| deps = [ |
| "//ios/chrome/browser/browser_state", |
| "//ios/chrome/browser/main:public", |
| "//ios/chrome/browser/ui/fullscreen", |
| "//ios/chrome/browser/ui/fullscreen:feature_flags", |
| "//ios/chrome/test/app:test_support", |
| "//ios/public/provider/chrome/browser", |
| "//ios/public/provider/chrome/browser/ui", |
| ] |
| } |
| |
| source_set("eg_test_support+eg2") { |
| defines = [ "CHROME_EARL_GREY_2" ] |
| 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", |
| "//ios/third_party/earl_grey2:test_lib", |
| ] |
| } |