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

Unified Diff: content/child/BUILD.gn

Issue 395643002: Refactor how WebCrypto NSS and OpenSSL specific files are included by GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase onto master Created 6 years, 5 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 | content/content_child.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/child/BUILD.gn
diff --git a/content/child/BUILD.gn b/content/child/BUILD.gn
index 07f92387535456f012f9eca4806b3cb8bf0732e7..873c13b8779b42c1cc98df112a291b0115ffbca0 100644
--- a/content/child/BUILD.gn
+++ b/content/child/BUILD.gn
@@ -107,8 +107,10 @@ source_set("child") {
}
if (!use_openssl) {
- sources -= [ "webcrypto/platform_crypto_openssl.cc" ]
+ sources += rebase_path(content_child_gypi_values.webcrypto_nss_sources,
+ ".", "//content")
} else {
- sources -= [ "webcrypto/platform_crypto_nss.cc" ]
+ sources += rebase_path(content_child_gypi_values.webcrypto_openssl_sources,
+ ".", "//content")
}
}
« no previous file with comments | « no previous file | content/content_child.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698