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

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: 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
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",
« no previous file with comments | « extensions/browser/api/cast_channel/cast_auth_util_unittest.cc ('k') | extensions/common/cast/cast_cert_validator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698