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 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
47 # GYP version: components/rappor.gypi:rappor_test_support | 47 # GYP version: components/rappor.gypi:rappor_test_support |
48 static_library("test_support") { | 48 static_library("test_support") { |
49 testonly = true | 49 testonly = true |
50 sources = [ | 50 sources = [ |
51 "test_log_uploader.cc", | 51 "test_log_uploader.cc", |
52 "test_log_uploader.h", | 52 "test_log_uploader.h", |
53 "test_rappor_service.cc", | 53 "test_rappor_service.cc", |
54 "test_rappor_service.h", | 54 "test_rappor_service.h", |
55 ] | 55 ] |
56 | 56 |
| 57 public_deps = [ |
| 58 ":rappor", |
| 59 ] |
57 deps = [ | 60 deps = [ |
58 ":rappor", | |
59 "//components/rappor/proto", | 61 "//components/rappor/proto", |
60 ] | 62 ] |
61 } | 63 } |
62 | 64 |
63 source_set("unit_tests") { | 65 source_set("unit_tests") { |
64 testonly = true | 66 testonly = true |
65 sources = [ | 67 sources = [ |
66 "bloom_filter_unittest.cc", | 68 "bloom_filter_unittest.cc", |
67 "byte_vector_utils_unittest.cc", | 69 "byte_vector_utils_unittest.cc", |
68 "log_uploader_unittest.cc", | 70 "log_uploader_unittest.cc", |
69 "rappor_metric_unittest.cc", | 71 "rappor_metric_unittest.cc", |
70 "rappor_prefs_unittest.cc", | 72 "rappor_prefs_unittest.cc", |
71 "rappor_service_unittest.cc", | 73 "rappor_service_unittest.cc", |
72 "rappor_utils_unittest.cc", | 74 "rappor_utils_unittest.cc", |
73 "sampler_unittest.cc", | 75 "sampler_unittest.cc", |
74 ] | 76 ] |
75 | 77 |
76 deps = [ | 78 deps = [ |
77 ":rappor", | 79 ":rappor", |
78 "//base/test:test_support", | 80 "//base/test:test_support", |
79 "//components/rappor/proto", | 81 "//components/rappor/proto", |
80 "//testing/gtest", | 82 "//testing/gtest", |
81 ] | 83 ] |
82 } | 84 } |
OLD | NEW |