OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 source_set("itunes_links") { | 5 source_set("device_sharing") { |
6 sources = [ | 6 sources = [ |
7 "itunes_links_observer.h", | 7 "device_sharing_manager.h", |
8 "itunes_links_observer.mm", | 8 "device_sharing_manager.mm", |
9 ] | 9 ] |
10 deps = [ | 10 deps = [ |
11 "//base", | 11 "//base", |
| 12 "//components/handoff", |
| 13 "//components/prefs", |
12 "//ios/chrome/browser", | 14 "//ios/chrome/browser", |
13 "//ios/web", | 15 "//ios/chrome/browser/browser_state", |
| 16 "//ios/chrome/browser/prefs", |
| 17 "//net", |
14 "//url", | 18 "//url", |
15 ] | 19 ] |
16 } | 20 } |
17 | 21 |
18 source_set("unit_tests") { | 22 source_set("unit_tests") { |
19 testonly = true | 23 testonly = true |
20 sources = [ | 24 sources = [ |
21 "itunes_links_observer_unittest.mm", | 25 "device_sharing_manager_unittest.mm", |
22 ] | 26 ] |
23 deps = [ | 27 deps = [ |
24 ":itunes_links", | 28 ":device_sharing", |
25 "//base", | 29 "//base", |
| 30 "//components/handoff", |
| 31 "//components/sync_preferences:test_support", |
26 "//ios/chrome/browser", | 32 "//ios/chrome/browser", |
| 33 "//ios/chrome/browser/browser_state:test_support", |
27 "//ios/web:test_support", | 34 "//ios/web:test_support", |
28 "//testing/gtest", | 35 "//testing/gtest", |
29 "//third_party/ocmock", | 36 "//third_party/ocmock", |
30 "//url", | 37 "//url", |
31 ] | 38 ] |
32 } | 39 } |
OLD | NEW |