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

Unified Diff: components/safe_browsing_db/BUILD.gn

Issue 1399843003: Move prefix_set and parts of s_b_util into a new component safe_browsing_db. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Use group instead of a static_library for targets that have no sources. Created 5 years, 2 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 | « components/safe_browsing_db.gypi ('k') | components/safe_browsing_db/DEPS » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/safe_browsing_db/BUILD.gn
diff --git a/components/safe_browsing_db/BUILD.gn b/components/safe_browsing_db/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..43541752c6767411cfe39782653d00140d8ed131
--- /dev/null
+++ b/components/safe_browsing_db/BUILD.gn
@@ -0,0 +1,45 @@
+# Copyright 2015 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.
+
+group("safe_browsing_db") {
+ deps = [
+ ":prefix_set",
+ ":safe_browsing_db_util",
+ ]
+}
+
+source_set("prefix_set") {
+ sources = [
+ "prefix_set.cc",
+ "prefix_set.h",
+ ]
+ deps = [
+ "//base",
+ ]
+}
+
+source_set("safe_browsing_db_util") {
+ sources = [
+ "safe_browsing_db_util.cc",
+ "safe_browsing_db_util.h",
+ ]
+ deps = [
+ "//base",
+ "//crypto",
+ ]
+}
+
+source_set("unit_tests") {
+ testonly = true
+ sources = [
+ "prefix_set_unittest.cc",
+ "safe_browsing_db_util_unittest.cc",
+ ]
+ deps = [
+ ":prefix_set",
+ ":safe_browsing_db_util",
+ "//base",
+ "//testing/gtest",
+ ]
+}
« no previous file with comments | « components/safe_browsing_db.gypi ('k') | components/safe_browsing_db/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698