| # Copyright 2020 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("//ios/build/chrome_build.gni") |
| |
| source_set("default_browser") { |
| sources = [] |
| deps = [ "//ios/showcase/common" ] |
| sources += [ |
| "sc_default_browser_fullscreen_promo_coordinator.h", |
| "sc_default_browser_fullscreen_promo_coordinator.mm", |
| ] |
| deps += [ "//ios/chrome/browser/ui/default_promo" ] |
| frameworks = [ "UIKit.framework" ] |
| configs += [ "//build/config/compiler:enable_arc" ] |
| } |
| |
| source_set("eg2_tests") { |
| configs += [ |
| "//build/config/compiler:enable_arc", |
| "//build/config/ios:xctest_config", |
| ] |
| testonly = true |
| sources = [ "default_browser_fullscreen_promo_egtest.mm" ] |
| deps = [ |
| "//base", |
| "//ios/chrome/common/ui/confirmation_alert", |
| "//ios/showcase/test:eg2_test", |
| "//ios/testing/earl_grey:eg_test_support+eg2", |
| "//ios/third_party/earl_grey2:test_lib", |
| "//ui/base", |
| ] |
| |
| frameworks = [ "UIKit.framework" ] |
| } |