summaryrefslogtreecommitdiff
path: root/chromium/ios/testing/earl_grey/BUILD.gn
blob: 6f5935bb9006f2a390391afeb8ea7759d3b414db (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
# 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.

source_set("eg_app_support+eg2") {
  configs += [ "//build/config/compiler:enable_arc" ]
  testonly = true

  deps = [
    "//base/test:test_support",
    "//build/config/ios:xctest",
    "//ios/third_party/earl_grey2:app_framework+link",
    "//ios/web/common:uikit",
    "//testing/gtest:gtest",
  ]

  sources = [
    "app_launch_manager_app_interface.h",
    "app_launch_manager_app_interface.mm",
    "base_earl_grey_test_case_app_interface.h",
    "base_earl_grey_test_case_app_interface.mm",
    "coverage_utils.h",
    "coverage_utils.mm",
    "earl_grey_app.h",
    "earl_grey_app.mm",
  ]
}

source_set("eg_test_support+eg2") {
  configs += [
    "//build/config/compiler:enable_arc",
    "//build/config/ios:xctest_config",
  ]
  testonly = true

  sources = [
    "app_launch_configuration.h",
    "app_launch_configuration.mm",
    "app_launch_manager.h",
    "app_launch_manager.mm",
    "app_launch_manager_app_interface.h",
    "app_launch_manager_app_interface_stub.mm",
    "base_earl_grey_test_case.h",
    "base_earl_grey_test_case.mm",
    "base_earl_grey_test_case_app_interface.h",
    "base_earl_grey_test_case_app_interface_stub.mm",
    "base_eg_test_helper_impl.h",
    "base_eg_test_helper_impl.mm",
    "coverage_utils.h",
    "coverage_utils_stub.mm",
    "disabled_test_macros.h",
    "earl_grey_test.h",
    "earl_grey_test.mm",
    "matchers.h",
    "matchers.mm",
  ]

  deps = [
    "//base",
    "//base/ios",
    "//components/variations",
    "//ios/third_party/earl_grey2:test_lib",
    "//ios/third_party/edo",
    "//ios/web/common",
    "//testing/gtest:gtest",
  ]
}