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
|
# 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.
import("//ios/build/config.gni")
import("//build/config/ios/rules.gni")
import("//testing/test.gni")
source_set("inttests") {
testonly = true
sources = [
"navigation_delegate_inttest.mm",
"scroll_view_kvo_inttest.mm",
"ui_delegate_inttest.mm",
"web_view_autofill_inttest.mm",
"web_view_inttest.mm",
"web_view_inttest_base.h",
"web_view_inttest_base.mm",
"web_view_kvo_inttest.mm",
"web_view_restorable_state_inttest.mm",
"web_view_script_command_inttest.mm",
]
deps = [
":test_support",
"//base",
"//base/test:run_all_unittests",
"//base/test:test_support",
"//ios/web_view:web_view+link",
"//net",
"//net:test_support",
"//testing/gtest",
"//third_party/ocmock",
]
configs += [ "//build/config/compiler:enable_arc" ]
}
source_set("test_support") {
testonly = true
sources = [
# Explicitly reference imported headers from web_view library to avoid
# depending on the framework (as it is statically linked).
"//ios/web_view/public/cwv_export.h",
"//ios/web_view/public/cwv_web_view.h",
"//ios/web_view/public/cwv_web_view_configuration.h",
"observer.h",
"observer.mm",
"web_view_test_util.h",
"web_view_test_util.mm",
]
deps = [
"//base:base",
"//base/test:test_support",
]
configs += [ "//build/config/compiler:enable_arc" ]
}
|