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 source_set("rappor") { | 6 source_set("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", |
(...skipping 20 matching lines...) Expand all Loading... |
31 "sampler.cc", | 31 "sampler.cc", |
32 "sampler.h", | 32 "sampler.h", |
33 ] | 33 ] |
34 | 34 |
35 public_deps = [ | 35 public_deps = [ |
36 "//components/rappor/proto", | 36 "//components/rappor/proto", |
37 ] | 37 ] |
38 | 38 |
39 deps = [ | 39 deps = [ |
40 "//base", | 40 "//base", |
41 "//base:prefs", | |
42 "//components/data_use_measurement/core", | 41 "//components/data_use_measurement/core", |
43 "//components/metrics", | 42 "//components/metrics", |
| 43 "//components/prefs", |
44 "//components/variations", | 44 "//components/variations", |
45 "//crypto", | 45 "//crypto", |
46 "//net", | 46 "//net", |
47 "//third_party/smhasher:cityhash", | 47 "//third_party/smhasher:cityhash", |
48 ] | 48 ] |
49 } | 49 } |
50 | 50 |
51 # GYP version: components/rappor.gypi:rappor_test_support | 51 # GYP version: components/rappor.gypi:rappor_test_support |
52 static_library("test_support") { | 52 static_library("test_support") { |
53 testonly = true | 53 testonly = true |
54 sources = [ | 54 sources = [ |
55 "test_log_uploader.cc", | 55 "test_log_uploader.cc", |
56 "test_log_uploader.h", | 56 "test_log_uploader.h", |
57 "test_rappor_service.cc", | 57 "test_rappor_service.cc", |
58 "test_rappor_service.h", | 58 "test_rappor_service.h", |
59 ] | 59 ] |
60 | 60 |
61 public_deps = [ | 61 public_deps = [ |
62 ":rappor", | 62 ":rappor", |
63 ] | 63 ] |
64 deps = [ | 64 deps = [ |
65 "//base", | 65 "//base", |
66 "//base:prefs_test_support", | 66 "//components/prefs:test_support", |
67 ] | 67 ] |
68 } | 68 } |
69 | 69 |
70 source_set("unit_tests") { | 70 source_set("unit_tests") { |
71 testonly = true | 71 testonly = true |
72 sources = [ | 72 sources = [ |
73 "bloom_filter_unittest.cc", | 73 "bloom_filter_unittest.cc", |
74 "byte_vector_utils_unittest.cc", | 74 "byte_vector_utils_unittest.cc", |
75 "log_uploader_unittest.cc", | 75 "log_uploader_unittest.cc", |
76 "rappor_metric_unittest.cc", | 76 "rappor_metric_unittest.cc", |
77 "rappor_prefs_unittest.cc", | 77 "rappor_prefs_unittest.cc", |
78 "rappor_service_unittest.cc", | 78 "rappor_service_unittest.cc", |
79 "rappor_utils_unittest.cc", | 79 "rappor_utils_unittest.cc", |
80 "sampler_unittest.cc", | 80 "sampler_unittest.cc", |
81 ] | 81 ] |
82 | 82 |
83 deps = [ | 83 deps = [ |
84 ":rappor", | 84 ":rappor", |
85 ":test_support", | 85 ":test_support", |
86 "//base", | 86 "//base", |
87 "//base:prefs_test_support", | |
88 "//base/test:test_support", | 87 "//base/test:test_support", |
89 "//components/metrics", | 88 "//components/metrics", |
| 89 "//components/prefs:test_support", |
90 "//net:test_support", | 90 "//net:test_support", |
91 "//testing/gtest", | 91 "//testing/gtest", |
92 "//url", | 92 "//url", |
93 ] | 93 ] |
94 } | 94 } |
OLD | NEW |