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 ] |
(...skipping 13 matching lines...) Expand all Loading... |
24 testonly = true | 24 testonly = true |
25 sources = [ | 25 sources = [ |
26 "device_sharing_manager_unittest.mm", | 26 "device_sharing_manager_unittest.mm", |
27 ] | 27 ] |
28 deps = [ | 28 deps = [ |
29 ":device_sharing", | 29 ":device_sharing", |
30 "//base", | 30 "//base", |
31 "//components/handoff", | 31 "//components/handoff", |
32 "//components/sync_preferences:test_support", | 32 "//components/sync_preferences:test_support", |
33 "//ios/chrome/browser/browser_state:test_support", | 33 "//ios/chrome/browser/browser_state:test_support", |
34 "//ios/web:test_support", | 34 "//ios/web/public/test", |
35 "//testing/gtest", | 35 "//testing/gtest", |
36 "//third_party/ocmock", | 36 "//third_party/ocmock", |
37 "//url", | 37 "//url", |
38 ] | 38 ] |
39 } | 39 } |
40 | 40 |
41 source_set("eg_tests") { | 41 source_set("eg_tests") { |
42 configs += [ "//build/config/compiler:enable_arc" ] | 42 configs += [ "//build/config/compiler:enable_arc" ] |
43 testonly = true | 43 testonly = true |
44 sources = [ | 44 sources = [ |
45 "handoff_manager_egtest.mm", | 45 "handoff_manager_egtest.mm", |
46 ] | 46 ] |
47 deps = [ | 47 deps = [ |
48 ":device_sharing", | 48 ":device_sharing", |
49 "//components/handoff", | 49 "//components/handoff", |
50 "//ios/chrome/browser/ui", | 50 "//ios/chrome/browser/ui", |
51 "//ios/chrome/test/app:test_support", | 51 "//ios/chrome/test/app:test_support", |
52 "//ios/chrome/test/earl_grey:test_support", | 52 "//ios/chrome/test/earl_grey:test_support", |
53 "//ios/third_party/earl_grey", | 53 "//ios/third_party/earl_grey", |
54 "//ios/web:test_support", | 54 "//ios/web/public/test/http_server", |
55 "//net", | 55 "//net", |
56 "//url", | 56 "//url", |
57 ] | 57 ] |
58 libs = [ "XCTest.framework" ] | 58 libs = [ "XCTest.framework" ] |
59 } | 59 } |
OLD | NEW |