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

Side by Side Diff: components/safe_browsing/common/BUILD.gn

Issue 2869383002: Unify safe_browsing* components [1]: move safe_browsing_prefs* (Closed)
Patch Set: fix win bots Created 3 years, 7 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 unified diff | Download patch
« no previous file with comments | « components/safe_browsing/base_blocking_page.cc ('k') | components/safe_browsing/common/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 2016 The Chromium Authors. All rights reserved. 1 # Copyright 2016 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 source_set("common") { 5 source_set("common") {
6 sources = [ 6 sources = [
7 "safebrowsing_constants.cc", 7 "safebrowsing_constants.cc",
8 "safebrowsing_constants.h", 8 "safebrowsing_constants.h",
9 "safebrowsing_message_generator.cc", 9 "safebrowsing_message_generator.cc",
10 "safebrowsing_message_generator.h", 10 "safebrowsing_message_generator.h",
11 "safebrowsing_messages.h", 11 "safebrowsing_messages.h",
12 "safebrowsing_switches.cc", 12 "safebrowsing_switches.cc",
13 "safebrowsing_switches.h", 13 "safebrowsing_switches.h",
14 "safebrowsing_types.h", 14 "safebrowsing_types.h",
15 ] 15 ]
16 16
17 deps = [ 17 deps = [
18 "//base", 18 "//base",
19 "//ipc", 19 "//ipc",
20 "//url/ipc:url_ipc", 20 "//url/ipc:url_ipc",
21 ] 21 ]
22 } 22 }
23
24 static_library("safe_browsing_prefs") {
25 sources = [
26 "safe_browsing_prefs.cc",
27 "safe_browsing_prefs.h",
28 ]
29 deps = [
30 "//base:base",
31 "//components/prefs",
32 ]
33 }
34
35 source_set("unit_tests") {
36 testonly = true
37 sources = [
38 "safe_browsing_prefs_unittest.cc",
39 ]
40 deps = [
41 ":safe_browsing_prefs",
42 "//base:base",
43 "//base/test:test_support",
44 "//components/prefs:test_support",
45 "//testing/gtest",
46 ]
47 }
OLDNEW
« no previous file with comments | « components/safe_browsing/base_blocking_page.cc ('k') | components/safe_browsing/common/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698