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

Unified Diff: components/open_from_clipboard/BUILD.gn

Issue 2782823003: Rewrite implementation of ClipboardRecentContent in Objective C. (Closed)
Patch Set: build.gn fix 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
« no previous file with comments | « no previous file | components/open_from_clipboard/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..89148c9af88826d478556194037c7bd0dd00ec63 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 must 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 = [
@@ -50,6 +68,7 @@ source_set("unit_tests") {
deps = [
":open_from_clipboard",
+ ":open_from_clipboard_impl",
"//base",
"//testing/gtest",
"//ui/base:test_support",
« no previous file with comments | « no previous file | components/open_from_clipboard/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698