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

Side by Side Diff: components/safe_browsing_db.gypi

Issue 1543153002: Add a GetFullHashWithApis method to Protocol Manager. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Review Comments Created 4 years, 11 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
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 { 5 {
6 'targets': [ 6 'targets': [
7 { 7 {
8 # GN version: //components/safe_browsing_db 8 # GN version: //components/safe_browsing_db
9 'target_name': 'safe_browsing_db', 9 'target_name': 'safe_browsing_db',
10 'type': 'static_library', 10 'type': 'static_library',
11 'dependencies': [ 11 'dependencies': [
12 '../base/base.gyp:base', 12 '../base/base.gyp:base',
13 '../crypto/crypto.gyp:crypto', 13 '../crypto/crypto.gyp:crypto',
14 ':safebrowsing_proto',
14 ], 15 ],
15 'sources': [ 16 'sources': [
16 # Note: sources list duplicated in GN build. 17 # Note: sources list duplicated in GN build.
17 'safe_browsing_db/prefix_set.h', 18 'safe_browsing_db/prefix_set.h',
18 'safe_browsing_db/prefix_set.cc', 19 'safe_browsing_db/prefix_set.cc',
19 'safe_browsing_db/util.h', 20 'safe_browsing_db/util.h',
20 'safe_browsing_db/util.cc', 21 'safe_browsing_db/util.cc',
21 ], 22 ],
22 'include_dirs': [ 23 'include_dirs': [
23 '..', 24 '..',
24 ], 25 ],
25 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations. 26 # TODO(jschuh): crbug.com/167187 fix size_t to int truncations.
26 'msvs_disabled_warnings': [4267, ], 27 'msvs_disabled_warnings': [4267, ],
27 }, 28 },
28 { 29 {
29 # GN version: //components/safe_browsing_db:proto 30 # GN version: //components/safe_browsing_db:proto
30 # Protobuf compiler / generator for the Safe Browsing protocol buffer. 31 # Protobuf compiler / generator for the Safe Browsing protocol buffer.
31 'target_name': 'safebrowsing_proto', 32 'target_name': 'safebrowsing_proto',
32 'type': 'static_library', 33 'type': 'static_library',
33 'sources': [ 'safe_browsing_db/safebrowsing.proto' ], 34 'sources': [ 'safe_browsing_db/safebrowsing.proto' ],
34 'variables': { 35 'variables': {
35 'proto_in_dir': 'safe_browsing_db', 36 'proto_in_dir': 'safe_browsing_db',
36 'proto_out_dir': 'components/safe_browsing_db', 37 'proto_out_dir': 'components/safe_browsing_db',
37 }, 38 },
38 'includes': [ '../build/protoc.gypi' ] 39 'includes': [ '../build/protoc.gypi' ]
39 }, 40 },
40 ], 41 ],
41 } 42 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698