Chromium Code Reviews| 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. |
|
blundell
2015/10/23 07:10:29
You need to suppress the warning in this file as w
vakh (old account. dont use)
2015/10/27 19:49:04
Done.
|
| +# 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") { |
|
blundell
2015/10/23 07:10:29
This is really a comment for the original CL, but:
vakh (old account. dont use)
2015/10/27 19:49:04
2 reasons:
1. I am more familiar with BUILD files
|
| + 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", |
| + ] |
| +} |