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

Unified Diff: components/open_from_clipboard/BUILD.gn

Issue 2782823003: Rewrite implementation of ClipboardRecentContent in Objective C. (Closed)
Patch Set: rebase Created 3 years, 8 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 1820cd3dafd98c3622fbeda8538ba0bae2365eb4..9f9e4a03e32642c82e868eb5eb161a1c29966005 100644
--- a/components/open_from_clipboard/BUILD.gn
+++ b/components/open_from_clipboard/BUILD.gn
@@ -18,12 +18,30 @@ static_library("open_from_clipboard") {
}
deps = [
+ ":open_from_clipboard_impl",
"//base",
+ "//net",
"//ui/base:base",
"//url",
]
}
+# Helper classes used by "open_from_clipboard" target. These classes have
sdefresne 2017/04/06 14:51:11 nit: These classes must have no dependencies on "/
lody 2017/04/06 15:12:07 Done.
+# 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 = [

Powered by Google App Engine
This is Rietveld 408576698