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

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

Issue 2935383003: Break up chrome/common:common: safe_browsing (Closed)
Patch Set: merge Created 3 years, 6 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 | « chrome/common/BUILD.gn ('k') | chrome/common/safe_browsing/OWNERS » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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 import("//chrome/common/features.gni")
5 import("//third_party/protobuf/proto_library.gni") 6 import("//third_party/protobuf/proto_library.gni")
6 7
7 proto_library("proto") { 8 proto_library("proto") {
8 sources = [ 9 sources = [
9 "client_model.proto", 10 "client_model.proto",
10 "crx_info.proto", 11 "crx_info.proto",
11 "download_file_types.proto", 12 "download_file_types.proto",
12 "permission_report.proto", 13 "permission_report.proto",
13 ] 14 ]
14 } 15 }
16
17 source_set("safe_browsing") {
18 sources = [
19 "file_type_policies.cc",
20 "file_type_policies.h",
21 ]
22
23 if (safe_browsing_mode == 1) {
24 sources += [
25 "archive_analyzer_results.cc",
26 "archive_analyzer_results.h",
27 "binary_feature_extractor.cc",
28 "binary_feature_extractor.h",
29 "binary_feature_extractor_mac.cc",
30 "binary_feature_extractor_posix.cc",
31 "binary_feature_extractor_win.cc",
32 "download_protection_util.cc",
33 "download_protection_util.h",
34 "ipc_protobuf_message_macros.h",
35 "ipc_protobuf_message_null_macros.h",
36 "mach_o_image_reader_mac.cc",
37 "mach_o_image_reader_mac.h",
38 "pe_image_reader_win.cc",
39 "pe_image_reader_win.h",
40 "protobuf_message_log_macros.h",
41 "protobuf_message_param_traits.h",
42 "protobuf_message_read_macros.h",
43 "protobuf_message_size_macros.h",
44 "protobuf_message_write_macros.h",
45 "zip_analyzer.cc",
46 "zip_analyzer.h",
47 ]
48 }
49
50 public_deps = [
51 "//base:i18n",
52 "//chrome/browser:resources",
53 "//chrome/common:mojo_bindings",
54 "//chrome/common/safe_browsing:proto",
55 "//components/safe_browsing:csd_proto",
56 "//crypto",
57 "//ipc",
58 "//third_party/zlib/google:zip",
59 "//ui/base",
60 ]
61
62 # safe_archive_analyzer.mojom has a [Native] trait that depends on
63 # the protobuf headers in the sources list above.
64 allow_circular_includes_from = [ "//chrome/common:mojo_bindings" ]
65 }
OLDNEW
« no previous file with comments | « chrome/common/BUILD.gn ('k') | chrome/common/safe_browsing/OWNERS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698