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", |
] |
} |