Revert of Fix CapsLock remapping. (patchset #2 id:20001 of https://codereview.chromiu...
[chromium-blink-merge.git] / components / rappor.gypi
blobd5cde4139470f57a5f9f139e90bcf763e1d52b41
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
3 # found in the LICENSE file.
6   'targets': [
7     {
8       # GN version: //components/rappor
9       'target_name': 'rappor',
10       'type': 'static_library',
11       'include_dirs': [
12         '..',
13       ],
14       'dependencies': [
15         '../base/base.gyp:base',
16         '../crypto/crypto.gyp:crypto',
17         '../net/net.gyp:net',
18         '../third_party/smhasher/smhasher.gyp:cityhash',
19         'metrics',
20         'variations',
21       ],
22       'sources': [
23         # Note: sources list duplicated in GN build.
24         'rappor/bloom_filter.cc',
25         'rappor/bloom_filter.h',
26         'rappor/byte_vector_utils.cc',
27         'rappor/byte_vector_utils.h',
28         'rappor/log_uploader.cc',
29         'rappor/log_uploader.h',
30         'rappor/log_uploader_interface.h',
31         'rappor/proto/rappor_metric.proto',
32         'rappor/rappor_metric.cc',
33         'rappor/rappor_metric.h',
34         'rappor/rappor_parameters.cc',
35         'rappor/rappor_parameters.h',
36         'rappor/rappor_pref_names.cc',
37         'rappor/rappor_pref_names.h',
38         'rappor/rappor_prefs.cc',
39         'rappor/rappor_prefs.h',
40         'rappor/rappor_service.cc',
41         'rappor/rappor_service.h',
42       ],
43       'variables': {
44         'proto_in_dir': 'rappor/proto',
45         'proto_out_dir': 'components/rappor/proto',
46       },
47       'includes': [ '../build/protoc.gypi' ],
48     },
49     {
50       # GN version: //components/rappor:test_support
51       'target_name': 'rappor_test_support',
52       'type': 'static_library',
53       'include_dirs': [
54         '..',
55       ],
56       'dependencies': [
57         'rappor',
58       ],
59       'sources': [
60         'rappor/test_log_uploader.cc',
61         'rappor/test_log_uploader.h',
62         'rappor/test_rappor_service.cc',
63         'rappor/test_rappor_service.h',
64       ],
65     },
66   ],