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

Unified Diff: ipc/BUILD.gn

Issue 1321253011: Remove dependency on //crypto in //ipc, except on windows. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@fallback_clean
Patch Set: Created 5 years, 3 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 | ipc/brokerable_attachment.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ipc/BUILD.gn
diff --git a/ipc/BUILD.gn b/ipc/BUILD.gn
index 3fda6e4f811756880d51d688e2b02cd75b79fb0e..07b7f7a1703e1c1482130d2ca29ff4f51de5ee04 100644
--- a/ipc/BUILD.gn
+++ b/ipc/BUILD.gn
@@ -112,8 +112,12 @@ component("ipc") {
# TODO(viettrungluu): Needed for base/lazy_instance.h, which is suspect.
"//base/third_party/dynamic_annotations",
- "//crypto:crypto",
]
+
+ if (is_win) {
+ # On windows HandleAttachmentWin needs to generate random IDs.
+ deps += [ "//crypto" ]
+ }
}
# TODO(GYP): crbug.com/360936. Get this to build and run on Android.
@@ -168,6 +172,7 @@ if (!is_android) {
"//base:i18n",
"//base/test:run_all_unittests",
"//base/test:test_support",
+ "//crypto",
"//testing/gtest",
]
}
« no previous file with comments | « no previous file | ipc/brokerable_attachment.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698