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

Unified 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, 10 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 side-by-side diff with in-line comments
Download patch
Index: ios/chrome/browser/snapshots/BUILD.gn
diff --git a/ios/chrome/browser/snapshots/BUILD.gn b/ios/chrome/browser/snapshots/BUILD.gn
index e6477b6e90452eb2865ef7ec3be37b901173d984..47edcd61a2b831f0d5dd1de920afa83b5f83e941 100644
--- a/ios/chrome/browser/snapshots/BUILD.gn
+++ b/ios/chrome/browser/snapshots/BUILD.gn
@@ -22,9 +22,26 @@ source_set("snapshots") {
"//ios/chrome/browser/ui",
"//ios/web",
]
+ public_deps = [
+ ":snapshots_arc",
+ ]
+ allow_circular_includes_from = [ ":snapshots_arc" ]
libs = [ "QuartzCore.framework" ]
}
+source_set("snapshots_arc") {
+ sources = [
+ "snapshot_cache_web_state_list_observer.h",
+ "snapshot_cache_web_state_list_observer.mm",
+ ]
+ deps = [
+ "//base",
+ "//ios/chrome/browser/tabs",
+ "//ios/shared/chrome/browser/tabs",
+ ]
+ configs += [ "//build/config/compiler:enable_arc" ]
+}
+
source_set("unit_tests") {
testonly = true
sources = [

Powered by Google App Engine
This is Rietveld 408576698