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

Unified Diff: extensions/common/BUILD.gn

Issue 792353002: Refactoring of Cast-related crypto code (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: s/NetworkingPrivateCredentialsGetterCrOs/NetworkingPrivateCredentialsGetterChromeos/g Created 6 years 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: extensions/common/BUILD.gn
diff --git a/extensions/common/BUILD.gn b/extensions/common/BUILD.gn
index 54c712f4bf12990e45f9094959833915f5d12fb9..a0ce4b1b6fd73c5462dbcce1eef35d57b4522786 100644
--- a/extensions/common/BUILD.gn
+++ b/extensions/common/BUILD.gn
@@ -2,6 +2,7 @@
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
+import("//build/config/crypto.gni")
import("//build/config/features.gni")
import("//mojo/public/tools/bindings/mojom.gni")
@@ -41,6 +42,8 @@ if (enable_extensions) {
"api/sockets/sockets_manifest_handler.h",
"api/sockets/sockets_manifest_permission.cc",
"api/sockets/sockets_manifest_permission.h",
+ "cast/cast_cert_validator.cc",
+ "cast/cast_cert_validator.h",
"common_manifest_handlers.cc",
"common_manifest_handlers.h",
"csp_validator.cc",
@@ -245,6 +248,12 @@ if (enable_extensions) {
"//url",
]
+ if (use_openssl) {
+ sources += [ "cast/cast_cert_validator_openssl.cc" ]
+ } else {
+ sources += [ "cast/cast_cert_validator_nss.cc" ]
+ }
+
if (enable_nacl) {
sources += [
"manifest_handlers/nacl_modules_handler.cc",

Powered by Google App Engine
This is Rietveld 408576698