| 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 19 matching lines...) Expand all Loading... |
| 30 } | 30 } |
| 31 | 31 |
| 32 source_set("snapshots_arc") { | 32 source_set("snapshots_arc") { |
| 33 sources = [ | 33 sources = [ |
| 34 "snapshot_cache_web_state_list_observer.h", | 34 "snapshot_cache_web_state_list_observer.h", |
| 35 "snapshot_cache_web_state_list_observer.mm", | 35 "snapshot_cache_web_state_list_observer.mm", |
| 36 ] | 36 ] |
| 37 deps = [ | 37 deps = [ |
| 38 "//base", | 38 "//base", |
| 39 "//ios/chrome/browser/tabs", | 39 "//ios/chrome/browser/tabs", |
| 40 "//ios/chrome/browser/web_state_list", | 40 "//ios/shared/chrome/browser/tabs", |
| 41 ] | 41 ] |
| 42 configs += [ "//build/config/compiler:enable_arc" ] | 42 configs += [ "//build/config/compiler:enable_arc" ] |
| 43 } | 43 } |
| 44 | 44 |
| 45 source_set("unit_tests") { | 45 source_set("unit_tests") { |
| 46 testonly = true | 46 testonly = true |
| 47 sources = [ | 47 sources = [ |
| 48 "lru_cache_unittest.mm", | 48 "lru_cache_unittest.mm", |
| 49 "snapshot_cache_unittest.mm", | 49 "snapshot_cache_unittest.mm", |
| 50 "snapshots_util_unittest.mm", | 50 "snapshots_util_unittest.mm", |
| (...skipping 16 matching lines...) Expand all Loading... |
| 67 ] | 67 ] |
| 68 deps = [ | 68 deps = [ |
| 69 ":snapshots", | 69 ":snapshots", |
| 70 "//base", | 70 "//base", |
| 71 "//ios/chrome/browser/tabs", | 71 "//ios/chrome/browser/tabs", |
| 72 "//ios/chrome/browser/ui", | 72 "//ios/chrome/browser/ui", |
| 73 "//ios/web", | 73 "//ios/web", |
| 74 ] | 74 ] |
| 75 libs = [ "UIKit.framework" ] | 75 libs = [ "UIKit.framework" ] |
| 76 } | 76 } |
| OLD | NEW |