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("snapshots") { | 5 source_set("snapshots") { |
6 sources = [ | 6 sources = [ |
7 "lru_cache.h", | 7 "lru_cache.h", |
8 "lru_cache.mm", | 8 "lru_cache.mm", |
9 "snapshot_cache.h", | 9 "snapshot_cache.h", |
10 "snapshot_cache.mm", | 10 "snapshot_cache.mm", |
(...skipping 18 matching lines...) Expand all Loading... |
29 "//ios/chrome/browser/tabs", | 29 "//ios/chrome/browser/tabs", |
30 "//ios/chrome/browser/ui", | 30 "//ios/chrome/browser/ui", |
31 "//ios/chrome/browser/web_state_list", | 31 "//ios/chrome/browser/web_state_list", |
32 "//ios/web", | 32 "//ios/web", |
33 ] | 33 ] |
34 libs = [ "QuartzCore.framework" ] | 34 libs = [ "QuartzCore.framework" ] |
35 configs += [ "//build/config/compiler:enable_arc" ] | 35 configs += [ "//build/config/compiler:enable_arc" ] |
36 } | 36 } |
37 | 37 |
38 source_set("unit_tests") { | 38 source_set("unit_tests") { |
| 39 configs += [ "//build/config/compiler:enable_arc" ] |
39 testonly = true | 40 testonly = true |
40 sources = [ | 41 sources = [ |
41 "lru_cache_unittest.mm", | 42 "lru_cache_unittest.mm", |
42 "snapshot_cache_unittest.mm", | 43 "snapshot_cache_unittest.mm", |
43 "snapshots_util_unittest.mm", | 44 "snapshots_util_unittest.mm", |
44 ] | 45 ] |
45 deps = [ | 46 deps = [ |
46 ":snapshots", | 47 ":snapshots", |
47 "//base", | 48 "//base", |
48 "//ios/chrome/browser/ui", | 49 "//ios/chrome/browser/ui", |
(...skipping 12 matching lines...) Expand all Loading... |
61 ] | 62 ] |
62 deps = [ | 63 deps = [ |
63 ":snapshots", | 64 ":snapshots", |
64 "//base", | 65 "//base", |
65 "//ios/chrome/browser/tabs", | 66 "//ios/chrome/browser/tabs", |
66 "//ios/chrome/browser/ui", | 67 "//ios/chrome/browser/ui", |
67 "//ios/web", | 68 "//ios/web", |
68 ] | 69 ] |
69 libs = [ "UIKit.framework" ] | 70 libs = [ "UIKit.framework" ] |
70 } | 71 } |
OLD | NEW |