Index: extensions/common/BUILD.gn |
diff --git a/extensions/common/BUILD.gn b/extensions/common/BUILD.gn |
index 6fa6f8b575ac262355b628ed2b647909d8f3d198..1ea2757529b254e929dfdb2ec18f8b096f468361 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", |
@@ -249,6 +252,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", |