| # 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. |
| |
| config("earl_grey_support_config") { |
| include_dirs = [ "." ] |
| visibility = [ ":earl_grey_support" ] |
| } |
| |
| source_set("earl_grey_support") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| testonly = true |
| |
| deps = [ |
| "//base/test:test_support", |
| "//ios/third_party/earl_grey:earl_grey+link", |
| ] |
| |
| sources = [ |
| "disabled_test_macros.h", |
| "matchers.h", |
| "matchers.mm", |
| ] |
| |
| defines = [ "CHROME_EARL_GREY_1" ] |
| |
| public_configs = [ ":earl_grey_support_config" ] |
| configs += [ ":earl_grey_support_config" ] |
| } |
| |
| source_set("eg_app_support+eg2") { |
| configs += [ "//build/config/compiler:enable_arc" ] |
| testonly = true |
| |
| deps = [ |
| "//base/test:test_support", |
| "//ios/third_party/earl_grey2:app_framework+link", |
| ] |
| |
| sources = [ |
| "disabled_test_macros.h", |
| "matchers.h", |
| "matchers.mm", |
| ] |
| |
| defines = [ "CHROME_EARL_GREY_2" ] |
| |
| public_configs = [ ":earl_grey_support_config" ] |
| configs += [ ":earl_grey_support_config" ] |
| } |