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("device_sharing") { | 5 source_set("device_sharing") { |
6 configs += [ "//build/config/compiler:enable_arc" ] | 6 configs += [ "//build/config/compiler:enable_arc" ] |
7 sources = [ | 7 sources = [ |
8 "device_sharing_manager.h", | 8 "device_sharing_manager.h", |
9 "device_sharing_manager.mm", | 9 "device_sharing_manager.mm", |
10 ] | 10 ] |
11 deps = [ | 11 deps = [ |
12 "//base", | 12 "//base", |
13 "//components/handoff", | 13 "//components/handoff", |
14 "//components/prefs", | 14 "//components/prefs", |
15 "//ios/chrome/browser/browser_state", | 15 "//ios/chrome/browser/browser_state", |
16 "//ios/chrome/browser/prefs", | 16 "//ios/chrome/browser/prefs", |
17 "//net", | 17 "//net", |
18 "//url", | 18 "//url", |
19 ] | 19 ] |
20 } | 20 } |
21 | 21 |
22 source_set("unit_tests") { | 22 source_set("unit_tests") { |
| 23 configs += [ "//build/config/compiler:enable_arc" ] |
23 testonly = true | 24 testonly = true |
24 sources = [ | 25 sources = [ |
25 "device_sharing_manager_unittest.mm", | 26 "device_sharing_manager_unittest.mm", |
26 ] | 27 ] |
27 deps = [ | 28 deps = [ |
28 ":device_sharing", | 29 ":device_sharing", |
29 "//base", | 30 "//base", |
30 "//components/handoff", | 31 "//components/handoff", |
31 "//components/sync_preferences:test_support", | 32 "//components/sync_preferences:test_support", |
32 "//ios/chrome/browser/browser_state:test_support", | 33 "//ios/chrome/browser/browser_state:test_support", |
(...skipping 15 matching lines...) Expand all Loading... |
48 "//ios/chrome/browser/ui", | 49 "//ios/chrome/browser/ui", |
49 "//ios/chrome/test/app:test_support", | 50 "//ios/chrome/test/app:test_support", |
50 "//ios/chrome/test/earl_grey:test_support", | 51 "//ios/chrome/test/earl_grey:test_support", |
51 "//ios/third_party/earl_grey", | 52 "//ios/third_party/earl_grey", |
52 "//ios/web:test_support", | 53 "//ios/web:test_support", |
53 "//net", | 54 "//net", |
54 "//url", | 55 "//url", |
55 ] | 56 ] |
56 libs = [ "XCTest.framework" ] | 57 libs = [ "XCTest.framework" ] |
57 } | 58 } |
OLD | NEW |