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 # GYP version: components/rappor.gypi:rappor | 5 # GYP version: components/rappor.gypi:rappor |
6 static_library("rappor") { | 6 static_library("rappor") { |
7 sources = [ | 7 sources = [ |
8 "bloom_filter.cc", | 8 "bloom_filter.cc", |
9 "bloom_filter.h", | 9 "bloom_filter.h", |
10 "byte_vector_utils.cc", | 10 "byte_vector_utils.cc", |
11 "byte_vector_utils.h", | 11 "byte_vector_utils.h", |
12 "log_uploader.cc", | 12 "log_uploader.cc", |
13 "log_uploader.h", | 13 "log_uploader.h", |
14 "log_uploader_interface.h", | 14 "log_uploader_interface.h", |
15 "rappor_metric.cc", | 15 "rappor_metric.cc", |
16 "rappor_metric.h", | 16 "rappor_metric.h", |
17 "rappor_parameters.cc", | 17 "rappor_parameters.cc", |
18 "rappor_parameters.h", | 18 "rappor_parameters.h", |
19 "rappor_pref_names.cc", | 19 "rappor_pref_names.cc", |
20 "rappor_pref_names.h", | 20 "rappor_pref_names.h", |
21 "rappor_prefs.cc", | 21 "rappor_prefs.cc", |
22 "rappor_prefs.h", | 22 "rappor_prefs.h", |
23 "rappor_service.cc", | 23 "rappor_service.cc", |
24 "rappor_service.h", | 24 "rappor_service.h", |
25 "rappor_utils.cc", | 25 "rappor_utils.cc", |
26 "rappor_utils.h", | 26 "rappor_utils.h", |
| 27 "reports.cc", |
| 28 "reports.h", |
| 29 "sample.cc", |
| 30 "sample.h", |
| 31 "sampler.cc", |
| 32 "sampler.h", |
27 ] | 33 ] |
28 | 34 |
29 deps = [ | 35 deps = [ |
30 "//base", | 36 "//base", |
31 "//components/metrics", | 37 "//components/metrics", |
32 "//components/rappor/proto", | 38 "//components/rappor/proto", |
33 "//components/variations", | 39 "//components/variations", |
34 "//crypto", | 40 "//crypto", |
35 "//net", | 41 "//net", |
36 "//third_party/smhasher:cityhash", | 42 "//third_party/smhasher:cityhash", |
(...skipping 19 matching lines...) Expand all Loading... |
56 source_set("unit_tests") { | 62 source_set("unit_tests") { |
57 testonly = true | 63 testonly = true |
58 sources = [ | 64 sources = [ |
59 "bloom_filter_unittest.cc", | 65 "bloom_filter_unittest.cc", |
60 "byte_vector_utils_unittest.cc", | 66 "byte_vector_utils_unittest.cc", |
61 "log_uploader_unittest.cc", | 67 "log_uploader_unittest.cc", |
62 "rappor_metric_unittest.cc", | 68 "rappor_metric_unittest.cc", |
63 "rappor_prefs_unittest.cc", | 69 "rappor_prefs_unittest.cc", |
64 "rappor_service_unittest.cc", | 70 "rappor_service_unittest.cc", |
65 "rappor_utils_unittest.cc", | 71 "rappor_utils_unittest.cc", |
| 72 "sampler_unittest.cc", |
66 ] | 73 ] |
67 | 74 |
68 deps = [ | 75 deps = [ |
69 ":rappor", | 76 ":rappor", |
70 "//base/test:test_support", | 77 "//base/test:test_support", |
71 "//components/rappor/proto", | 78 "//components/rappor/proto", |
72 "//testing/gtest", | 79 "//testing/gtest", |
73 ] | 80 ] |
74 } | 81 } |
OLD | NEW |