Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(143)

Side by Side Diff: ios/chrome/browser/snapshots/BUILD.gn

Issue 2703333006: Move the notion of current Tab from TabModel to WebStateList. (Closed)
Patch Set: Rebase. Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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",
11 "snapshot_cache_internal.h", 11 "snapshot_cache_internal.h",
12 "snapshot_manager.h", 12 "snapshot_manager.h",
13 "snapshot_manager.mm", 13 "snapshot_manager.mm",
14 "snapshot_overlay.h", 14 "snapshot_overlay.h",
15 "snapshot_overlay.mm", 15 "snapshot_overlay.mm",
16 "snapshots_util.h", 16 "snapshots_util.h",
17 "snapshots_util.mm", 17 "snapshots_util.mm",
18 ] 18 ]
19 deps = [ 19 deps = [
20 "//base", 20 "//base",
21 "//ios/chrome/browser", 21 "//ios/chrome/browser",
22 "//ios/chrome/browser/ui", 22 "//ios/chrome/browser/ui",
23 "//ios/web", 23 "//ios/web",
24 ] 24 ]
25 public_deps = [
26 ":snapshots_arc",
27 ]
28 allow_circular_includes_from = [ ":snapshots_arc" ]
25 libs = [ "QuartzCore.framework" ] 29 libs = [ "QuartzCore.framework" ]
26 } 30 }
27 31
32 source_set("snapshots_arc") {
33 sources = [
34 "snapshot_cache_web_state_list_observer.h",
35 "snapshot_cache_web_state_list_observer.mm",
36 ]
37 deps = [
38 "//base",
39 "//ios/chrome/browser/tabs",
40 "//ios/shared/chrome/browser/tabs",
41 ]
42 configs += [ "//build/config/compiler:enable_arc" ]
43 }
44
28 source_set("unit_tests") { 45 source_set("unit_tests") {
29 testonly = true 46 testonly = true
30 sources = [ 47 sources = [
31 "lru_cache_unittest.mm", 48 "lru_cache_unittest.mm",
32 "snapshot_cache_unittest.mm", 49 "snapshot_cache_unittest.mm",
33 "snapshots_util_unittest.mm", 50 "snapshots_util_unittest.mm",
34 ] 51 ]
35 deps = [ 52 deps = [
36 ":snapshots", 53 ":snapshots",
37 "//base", 54 "//base",
(...skipping 12 matching lines...) Expand all
50 ] 67 ]
51 deps = [ 68 deps = [
52 ":snapshots", 69 ":snapshots",
53 "//base", 70 "//base",
54 "//ios/chrome/browser/tabs", 71 "//ios/chrome/browser/tabs",
55 "//ios/chrome/browser/ui", 72 "//ios/chrome/browser/ui",
56 "//ios/web", 73 "//ios/web",
57 ] 74 ]
58 libs = [ "UIKit.framework" ] 75 libs = [ "UIKit.framework" ]
59 } 76 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698