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

Unified Diff: chrome/common/BUILD.gn

Issue 792353002: Refactoring of Cast-related crypto code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fixes in response to comments by mfoltz Created 5 years, 12 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: chrome/common/BUILD.gn
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn
index e34c64d5db8b9aa5b6e5582229180ade96cc54b1..55762f934cd9a56da6368126e16afd25f626aeca 100644
--- a/chrome/common/BUILD.gn
+++ b/chrome/common/BUILD.gn
@@ -113,15 +113,23 @@ static_library("common") {
if (is_win || is_mac) {
sources +=
rebase_path(gypi_values.chrome_common_win_mac_sources, ".", "//chrome")
+ deps += [ "//breakpad:client" ]
+ }
+ if (is_win || is_mac || is_chromeos) {
if (use_openssl) {
- sources -= [ "extensions/api/networking_private/networking_private_crypto_nss.cc" ]
+ sources += rebase_path(
+ gypi_values.chrome_common_networking_private_sources_openssl,
+ ".",
+ "//chrome")
# networking_private_crypto_openssl.cc depends on boringssl.
deps += [ "//third_party/boringssl" ]
} else {
- sources -= [ "extensions/api/networking_private/networking_private_crypto_openssl.cc" ]
+ sources +=
+ rebase_path(gypi_values.chrome_common_networking_private_sources_nss,
+ ".",
+ "//chrome")
}
- deps += [ "//breakpad:client" ]
}
if (is_mac) {
sources +=

Powered by Google App Engine
This is Rietveld 408576698