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

Unified Diff: components/open_from_clipboard/BUILD.gn

Issue 2790993003: Add Generic Implementation of ClipboardRecentContent (Closed)
Patch Set: tested interactively; works. removed field trial force-enable code 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 side-by-side diff with in-line comments
Download patch
Index: components/open_from_clipboard/BUILD.gn
diff --git a/components/open_from_clipboard/BUILD.gn b/components/open_from_clipboard/BUILD.gn
index fe46837a69abecb892c0d7406bb953cc30035c1a..1820cd3dafd98c3622fbeda8538ba0bae2365eb4 100644
--- a/components/open_from_clipboard/BUILD.gn
+++ b/components/open_from_clipboard/BUILD.gn
@@ -10,8 +10,16 @@ static_library("open_from_clipboard") {
"clipboard_recent_content_ios.mm",
]
+ if (!is_ios) {
+ sources += [
+ "clipboard_recent_content_generic.cc",
+ "clipboard_recent_content_generic.h",
+ ]
+ }
+
deps = [
"//base",
+ "//ui/base:base",
"//url",
]
}
@@ -36,9 +44,15 @@ source_set("unit_tests") {
"clipboard_recent_content_ios_unittest.mm",
]
+ if (!is_ios) {
+ sources += [ "clipboard_recent_content_generic_unittest.cc" ]
+ }
+
deps = [
":open_from_clipboard",
"//base",
"//testing/gtest",
+ "//ui/base:test_support",
+ "//url",
]
}

Powered by Google App Engine
This is Rietveld 408576698