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 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("device_sharing") {
configs += [ "//build/config/compiler:enable_arc" ]
sources = [
"device_sharing_manager.h",
"device_sharing_manager.mm",
]
deps = [
"//base",
"//components/handoff",
"//components/prefs",
"//components/prefs/ios",
"//ios/chrome/browser/browser_state",
"//net",
"//url",
]
}
source_set("unit_tests") {
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
sources = [
"device_sharing_manager_unittest.mm",
]
deps = [
":device_sharing",
"//base",
"//components/handoff",
"//components/sync_preferences:test_support",
"//ios/chrome/browser/browser_state:test_support",
"//ios/web/public/test",
"//testing/gtest",
"//third_party/ocmock",
"//url",
]
}
source_set("eg_tests") {
configs += [ "//build/config/compiler:enable_arc" ]
testonly = true
sources = [
"handoff_manager_egtest.mm",
]
deps = [
":device_sharing",
"//components/handoff",
"//ios/chrome/browser/ui",
"//ios/chrome/test/app:test_support",
"//ios/chrome/test/earl_grey:test_support",
"//ios/third_party/earl_grey:earl_grey+link",
"//ios/web/public/test/http_server",
"//net",
"//url",
]
libs = [ "XCTest.framework" ]
}
|