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

Side by Side Diff: components/safe_browsing_db/BUILD.gn

Issue 1410343012: Revert of Move more declarations from c/b/sb/sb_util.h to components. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@01_components
Patch Set: Created 5 years, 1 month 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 unified diff | Download patch
« no previous file with comments | « components/safe_browsing_db.gypi ('k') | components/safe_browsing_db/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 group("safe_browsing_db") { 5 group("safe_browsing_db") {
6 deps = [ 6 deps = [
7 ":prefix_set", 7 ":prefix_set",
8 ":util", 8 ":safe_browsing_db_util",
9 ] 9 ]
10 } 10 }
11 11
12 source_set("prefix_set") { 12 source_set("prefix_set") {
13 sources = [ 13 sources = [
14 "prefix_set.cc", 14 "prefix_set.cc",
15 "prefix_set.h", 15 "prefix_set.h",
16 ] 16 ]
17 deps = [ 17 deps = [
18 "//base", 18 "//base",
19 ] 19 ]
20 } 20 }
21 21
22 source_set("util") { 22 source_set("safe_browsing_db_util") {
23 sources = [ 23 sources = [
24 "util.cc", 24 "safe_browsing_db_util.cc",
25 "util.h", 25 "safe_browsing_db_util.h",
26 ] 26 ]
27 deps = [ 27 deps = [
28 "//base", 28 "//base",
29 "//crypto", 29 "//crypto",
30 ] 30 ]
31 } 31 }
32 32
33 source_set("unit_tests") { 33 source_set("unit_tests") {
34 testonly = true 34 testonly = true
35 sources = [ 35 sources = [
36 "prefix_set_unittest.cc", 36 "prefix_set_unittest.cc",
37 "util_unittest.cc", 37 "safe_browsing_db_util_unittest.cc",
38 ] 38 ]
39 deps = [ 39 deps = [
40 ":prefix_set", 40 ":prefix_set",
41 ":util", 41 ":safe_browsing_db_util",
42 "//base", 42 "//base",
43 "//testing/gtest", 43 "//testing/gtest",
44 ] 44 ]
45 if (is_win) { 45 if (is_win) {
46 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 46 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
47 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'. 47 cflags = [ "/wd4267" ] # Conversion from size_t to 'type'.
48 } 48 }
49 } 49 }
OLDNEW
« 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