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

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: fixed typo from https://codereview.chromium.org/747223002 Created 5 years, 11 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 | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/extensions/api/networking_private.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/BUILD.gn
diff --git a/chrome/common/BUILD.gn b/chrome/common/BUILD.gn
index 2375ffe90403f3c4e50a8a444b07d1fe4308e368..52402095fa086906671618a89db52ad9040937e9 100644
--- a/chrome/common/BUILD.gn
+++ b/chrome/common/BUILD.gn
@@ -114,15 +114,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 +=
« no previous file with comments | « chrome/chrome_tests_unit.gypi ('k') | chrome/common/extensions/api/networking_private.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698