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

Unified Diff: ios/shared/chrome/browser/tabs/BUILD.gn

Issue 2680403005: Introduce WebStateList to manage a list of web::WebState. (Closed)
Patch Set: Rebase && address comments. 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/shared/chrome/browser/tabs/BUILD.gn
diff --git a/ios/shared/chrome/browser/tabs/BUILD.gn b/ios/shared/chrome/browser/tabs/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..3fd207494841460615ff7014682b02ff1ecfa997
--- /dev/null
+++ b/ios/shared/chrome/browser/tabs/BUILD.gn
@@ -0,0 +1,35 @@
+# Copyright 2017 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+source_set("tabs") {
+ sources = [
+ "web_state_list.h",
+ "web_state_list.mm",
+ "web_state_list_fast_enumeration_helper.h",
+ "web_state_list_fast_enumeration_helper.mm",
+ "web_state_list_observer.h",
+ "web_state_list_observer_bridge.h",
+ "web_state_list_observer_bridge.mm",
+ ]
+ deps = [
+ "//base",
+ "//ios/web",
+ ]
+ libs = [ "Foundation.framework" ]
+ configs += [ "//build/config/compiler:enable_arc" ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "web_state_list_unittest.mm",
+ ]
+ deps = [
+ ":tabs",
+ "//base",
+ "//ios/web:test_support",
+ "//testing/gtest",
+ ]
+ configs += [ "//build/config/compiler:enable_arc" ]
+}

Powered by Google App Engine
This is Rietveld 408576698