| 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", | |
| 16 "//ios/chrome/browser/browser_state", | 15 "//ios/chrome/browser/browser_state", |
| 17 "//ios/chrome/browser/prefs", | 16 "//ios/chrome/browser/prefs", |
| 18 "//net", | 17 "//net", |
| 19 "//url", | 18 "//url", |
| 20 ] | 19 ] |
| 21 } | 20 } |
| 22 | 21 |
| 23 source_set("unit_tests") { | 22 source_set("unit_tests") { |
| 24 testonly = true | 23 testonly = true |
| 25 sources = [ | 24 sources = [ |
| 26 "device_sharing_manager_unittest.mm", | 25 "device_sharing_manager_unittest.mm", |
| 27 ] | 26 ] |
| 28 deps = [ | 27 deps = [ |
| 29 ":device_sharing", | 28 ":device_sharing", |
| 30 "//base", | 29 "//base", |
| 31 "//components/handoff", | 30 "//components/handoff", |
| 32 "//components/sync_preferences:test_support", | 31 "//components/sync_preferences:test_support", |
| 33 "//ios/chrome/browser", | |
| 34 "//ios/chrome/browser/browser_state:test_support", | 32 "//ios/chrome/browser/browser_state:test_support", |
| 35 "//ios/web:test_support", | 33 "//ios/web:test_support", |
| 36 "//testing/gtest", | 34 "//testing/gtest", |
| 37 "//third_party/ocmock", | 35 "//third_party/ocmock", |
| 38 "//url", | 36 "//url", |
| 39 ] | 37 ] |
| 40 } | 38 } |
| OLD | NEW |