OLD | NEW |
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 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
| 8 # GN version: //components/rappor |
8 'target_name': 'rappor', | 9 'target_name': 'rappor', |
9 'type': 'static_library', | 10 'type': 'static_library', |
10 'include_dirs': [ | 11 'include_dirs': [ |
11 '..', | 12 '..', |
12 ], | 13 ], |
13 'dependencies': [ | 14 'dependencies': [ |
14 '../base/base.gyp:base', | 15 '../base/base.gyp:base', |
15 '../crypto/crypto.gyp:crypto', | 16 '../crypto/crypto.gyp:crypto', |
16 '../net/net.gyp:net', | 17 '../net/net.gyp:net', |
17 '../third_party/smhasher/smhasher.gyp:cityhash', | 18 '../third_party/smhasher/smhasher.gyp:cityhash', |
18 'metrics', | 19 'metrics', |
19 'variations', | 20 'variations', |
20 ], | 21 ], |
21 'sources': [ | 22 'sources': [ |
| 23 # Note: sources list duplicated in GN build. |
22 'rappor/bloom_filter.cc', | 24 'rappor/bloom_filter.cc', |
23 'rappor/bloom_filter.h', | 25 'rappor/bloom_filter.h', |
24 'rappor/byte_vector_utils.cc', | 26 'rappor/byte_vector_utils.cc', |
25 'rappor/byte_vector_utils.h', | 27 'rappor/byte_vector_utils.h', |
26 'rappor/log_uploader.cc', | 28 'rappor/log_uploader.cc', |
27 'rappor/log_uploader.h', | 29 'rappor/log_uploader.h', |
28 'rappor/proto/rappor_metric.proto', | 30 'rappor/proto/rappor_metric.proto', |
29 'rappor/rappor_metric.cc', | 31 'rappor/rappor_metric.cc', |
30 'rappor/rappor_metric.h', | 32 'rappor/rappor_metric.h', |
31 'rappor/rappor_parameters.cc', | 33 'rappor/rappor_parameters.cc', |
32 'rappor/rappor_parameters.h', | 34 'rappor/rappor_parameters.h', |
33 'rappor/rappor_pref_names.cc', | 35 'rappor/rappor_pref_names.cc', |
34 'rappor/rappor_pref_names.h', | 36 'rappor/rappor_pref_names.h', |
35 'rappor/rappor_service.cc', | 37 'rappor/rappor_service.cc', |
36 'rappor/rappor_service.h', | 38 'rappor/rappor_service.h', |
37 ], | 39 ], |
38 'variables': { | 40 'variables': { |
39 'proto_in_dir': 'rappor/proto', | 41 'proto_in_dir': 'rappor/proto', |
40 'proto_out_dir': 'components/rappor/proto', | 42 'proto_out_dir': 'components/rappor/proto', |
41 }, | 43 }, |
42 'includes': [ '../build/protoc.gypi' ], | 44 'includes': [ '../build/protoc.gypi' ], |
43 }, | 45 }, |
44 ], | 46 ], |
45 } | 47 } |
OLD | NEW |