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("spotlight") { | 5 source_set("spotlight") { |
6 sources = [ | 6 sources = [ |
7 "actions_spotlight_manager.h", | 7 "actions_spotlight_manager.h", |
8 "actions_spotlight_manager.mm", | 8 "actions_spotlight_manager.mm", |
9 "base_spotlight_manager.h", | 9 "base_spotlight_manager.h", |
10 "base_spotlight_manager.mm", | 10 "base_spotlight_manager.mm", |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 "//ui/base", | 42 "//ui/base", |
43 "//url", | 43 "//url", |
44 ] | 44 ] |
45 libs = [ | 45 libs = [ |
46 "CoreSpotlight.framework", | 46 "CoreSpotlight.framework", |
47 "UIKit.framework", | 47 "UIKit.framework", |
48 ] | 48 ] |
49 } | 49 } |
50 | 50 |
51 source_set("unit_tests") { | 51 source_set("unit_tests") { |
| 52 configs += [ "//build/config/compiler:enable_arc" ] |
52 testonly = true | 53 testonly = true |
53 sources = [ | 54 sources = [ |
54 "spotlight_manager_unittest.mm", | 55 "spotlight_manager_unittest.mm", |
55 ] | 56 ] |
56 deps = [ | 57 deps = [ |
57 ":spotlight", | 58 ":spotlight", |
58 "//base", | 59 "//base", |
59 "//components/bookmarks/browser", | 60 "//components/bookmarks/browser", |
60 "//components/bookmarks/test", | 61 "//components/bookmarks/test", |
61 "//components/favicon/core", | 62 "//components/favicon/core", |
62 "//components/favicon_base", | 63 "//components/favicon_base", |
63 "//ios/chrome/browser/bookmarks", | 64 "//ios/chrome/browser/bookmarks", |
64 "//ios/public/provider/chrome/browser", | 65 "//ios/public/provider/chrome/browser", |
65 "//ios/public/provider/chrome/browser/spotlight", | 66 "//ios/public/provider/chrome/browser/spotlight", |
66 "//net", | 67 "//net", |
67 "//testing/gtest", | 68 "//testing/gtest", |
68 ] | 69 ] |
69 libs = [ "CoreSpotlight.framework" ] | 70 libs = [ "CoreSpotlight.framework" ] |
70 } | 71 } |
OLD | NEW |