1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
|
# Copyright 2014 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
# GN version: //components/rappor
'target_name': 'rappor',
'type': 'static_library',
'include_dirs': [
'..',
],
'dependencies': [
'../base/base.gyp:base',
'../crypto/crypto.gyp:crypto',
'../net/net.gyp:net',
'../third_party/smhasher/smhasher.gyp:cityhash',
'metrics',
'variations',
],
'sources': [
# Note: sources list duplicated in GN build.
'rappor/bloom_filter.cc',
'rappor/bloom_filter.h',
'rappor/byte_vector_utils.cc',
'rappor/byte_vector_utils.h',
'rappor/log_uploader.cc',
'rappor/log_uploader.h',
'rappor/log_uploader_interface.h',
'rappor/proto/rappor_metric.proto',
'rappor/rappor_metric.cc',
'rappor/rappor_metric.h',
'rappor/rappor_parameters.cc',
'rappor/rappor_parameters.h',
'rappor/rappor_pref_names.cc',
'rappor/rappor_pref_names.h',
'rappor/rappor_prefs.cc',
'rappor/rappor_prefs.h',
'rappor/rappor_service.cc',
'rappor/rappor_service.h',
'rappor/rappor_utils.cc',
'rappor/rappor_utils.h',
'rappor/reports.cc',
'rappor/reports.h',
'rappor/sample.cc',
'rappor/sample.h',
'rappor/sampler.cc',
'rappor/sampler.h',
],
'variables': {
'proto_in_dir': 'rappor/proto',
'proto_out_dir': 'components/rappor/proto',
},
'includes': [ '../build/protoc.gypi' ],
},
{
# GN version: //components/rappor:test_support
'target_name': 'rappor_test_support',
'type': 'static_library',
'include_dirs': [
'..',
],
'dependencies': [
'rappor',
],
'sources': [
'rappor/test_log_uploader.cc',
'rappor/test_log_uploader.h',
'rappor/test_rappor_service.cc',
'rappor/test_rappor_service.h',
],
},
],
}
|