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..5b31ac109a0e1d4d348ee6a63a9ca2000ba760ed 100644 |
--- a/components/open_from_clipboard/BUILD.gn |
+++ b/components/open_from_clipboard/BUILD.gn |
@@ -11,11 +11,29 @@ static_library("open_from_clipboard") { |
] |
deps = [ |
+ ":open_from_clipboard_impl", |
"//base", |
+ "//net", |
"//url", |
] |
} |
+# Helper classes used by "open_from_clipboard" target. These classes have |
+# no dependencies on "//base:i18n". |
+source_set("open_from_clipboard_impl") { |
+ sources = [ |
+ "clipboard_recent_content_impl_ios.h", |
+ "clipboard_recent_content_impl_ios.mm", |
+ ] |
+ deps = [ |
+ "//base", |
+ ] |
+ assert_no_deps = [ "//base:i18n" ] |
+ if (is_ios) { |
+ configs += [ "//build/config/compiler:enable_arc" ] |
+ } |
+} |
+ |
static_library("test_support") { |
testonly = true |
sources = [ |