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

Unified Diff: components/cast_certificate/BUILD.gn

Issue 1924323002: Move Cast certificate verification code from extensions to components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase only Created 4 years, 8 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: components/cast_certificate/BUILD.gn
diff --git a/components/cast_certificate/BUILD.gn b/components/cast_certificate/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..7e53f203f68a0eb21b6cf76e7d453199260c49b6
--- /dev/null
+++ b/components/cast_certificate/BUILD.gn
@@ -0,0 +1,44 @@
+# Copyright 2016 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+source_set("cast_certificate") {
+ sources = [
+ "cast_cert_validator.cc",
+ "cast_cert_validator.h",
+ "cast_root_ca_cert_der-inc.h",
+ "eureka_root_ca_der-inc.h",
+ ]
+ deps = [
+ "//base",
+ "//net",
+ ]
+}
+
+source_set("test_support") {
+ testonly = true
+ sources = [
+ "cast_cert_validator_test_helpers.cc",
+ "cast_cert_validator_test_helpers.h",
+ ]
+ deps = [
+ ":cast_certificate",
+ "//base",
+ "//net",
+ "//testing/gtest",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "cast_cert_validator_unittest.cc",
+ ]
+ deps = [
+ ":cast_certificate",
+ ":test_support",
+ "//base",
+ "//net",
+ "//testing/gtest",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698