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

Unified Diff: net/BUILD.gn

Issue 602433002: [GN Build] Fix //net target on Mac (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Only remove keygen_handler_openssl.cc in one place Created 6 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 | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/BUILD.gn
diff --git a/net/BUILD.gn b/net/BUILD.gn
index 05da14c455c4adfbe96f9cd170fde82970530899..8a41e96a12d46a102bb3b9a6a0a8447401e70fc6 100644
--- a/net/BUILD.gn
+++ b/net/BUILD.gn
@@ -254,7 +254,6 @@ component("net") {
} else {
sources -= [
"base/crypto_module_openssl.cc",
- "base/keygen_handler_openssl.cc",
"cert/ct_log_verifier_openssl.cc",
"cert/ct_objects_extractor_openssl.cc",
"cert/jwk_serializer_openssl.cc",
@@ -294,6 +293,7 @@ component("net") {
if (!use_openssl_certs) {
sources -= [
+ "base/keygen_handler_openssl.cc",
"base/openssl_private_key_store.h",
"base/openssl_private_key_store_memory.cc",
"cert/cert_database_openssl.cc",
@@ -476,10 +476,12 @@ component("net") {
}
if (is_mac) {
- deps += [
- "//third_party/nss:nspr",
- "//third_party/nss",
- ]
+ if (!use_openssl) {
+ deps += [
+ "//third_party/nss:nspr",
+ "//third_party/nss",
+ ]
+ }
libs = [
"Foundation.framework",
"Security.framework",
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698