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

Unified Diff: ios/chrome/browser/ui/settings/utils/BUILD.gn

Issue 2589843002: Upstream Chrome on iOS source code [11/11]. (Closed)
Patch Set: Created 4 years 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
« no previous file with comments | « ios/chrome/browser/ui/settings/cells/BUILD.gn ('k') | ios/chrome/browser/ui/side_swipe/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/chrome/browser/ui/settings/utils/BUILD.gn
diff --git a/ios/chrome/browser/ui/settings/utils/BUILD.gn b/ios/chrome/browser/ui/settings/utils/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..3f4502981d7f9238ea4e61c75ccb69f5259d9e29
--- /dev/null
+++ b/ios/chrome/browser/ui/settings/utils/BUILD.gn
@@ -0,0 +1,57 @@
+# Copyright 2016 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("utils") {
+ sources = [
+ "content_setting_backed_boolean.h",
+ "content_setting_backed_boolean.mm",
+ "observable_boolean.h",
+ "pref_backed_boolean.h",
+ "pref_backed_boolean.mm",
+ "resized_avatar_cache.h",
+ "resized_avatar_cache.mm",
+ ]
+ deps = [
+ "//base",
+ "//components/content_settings/core/browser",
+ "//components/content_settings/core/common",
+ "//components/prefs",
+ "//ios/chrome/browser/ui",
+ "//ios/public/provider/chrome/browser",
+ "//ios/public/provider/chrome/browser/signin",
+ ]
+}
+
+source_set("test_support") {
+ testonly = true
+ sources = [
+ "fake_observable_boolean.h",
+ "fake_observable_boolean.mm",
+ ]
+ deps = [
+ ":utils",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "content_setting_backed_boolean_unittest.mm",
+ "pref_backed_boolean_unittest.mm",
+ ]
+ deps = [
+ ":test_support",
+ ":utils",
+ "//base",
+ "//components/content_settings/core/browser",
+ "//components/content_settings/core/common",
+ "//components/prefs",
+ "//components/prefs:test_support",
+ "//components/sync_preferences:test_support",
+ "//ios/chrome/browser/browser_state:test_support",
+ "//ios/chrome/browser/content_settings",
+ "//ios/web:test_support",
+ "//testing/gtest",
+ ]
+}
« no previous file with comments | « ios/chrome/browser/ui/settings/cells/BUILD.gn ('k') | ios/chrome/browser/ui/side_swipe/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698