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 if (is_android) { | 5 if (is_android) { |
6 import("//build/config/android/rules.gni") | 6 import("//build/config/android/rules.gni") |
7 } | 7 } |
8 | 8 |
9 source_set("variations") { | 9 source_set("variations") { |
10 sources = [ | 10 sources = [ |
(...skipping 16 matching lines...) Expand all Loading... |
27 "pref_names.cc", | 27 "pref_names.cc", |
28 "pref_names.h", | 28 "pref_names.h", |
29 "processed_study.cc", | 29 "processed_study.cc", |
30 "processed_study.h", | 30 "processed_study.h", |
31 "proto/client_variations.proto", | 31 "proto/client_variations.proto", |
32 "proto/permuted_entropy_cache.proto", | 32 "proto/permuted_entropy_cache.proto", |
33 "proto/study.proto", | 33 "proto/study.proto", |
34 "proto/variations_seed.proto", | 34 "proto/variations_seed.proto", |
35 "study_filtering.cc", | 35 "study_filtering.cc", |
36 "study_filtering.h", | 36 "study_filtering.h", |
| 37 "synthetic_trials.cc", |
| 38 "synthetic_trials.h", |
37 "variations_associated_data.cc", | 39 "variations_associated_data.cc", |
38 "variations_associated_data.h", | 40 "variations_associated_data.h", |
39 "variations_experiment_util.cc", | 41 "variations_experiment_util.cc", |
40 "variations_experiment_util.h", | 42 "variations_experiment_util.h", |
| 43 "variations_http_header_provider.cc", |
| 44 "variations_http_header_provider.h", |
41 "variations_request_scheduler.cc", | 45 "variations_request_scheduler.cc", |
42 "variations_request_scheduler.h", | 46 "variations_request_scheduler.h", |
43 "variations_seed_processor.cc", | 47 "variations_seed_processor.cc", |
44 "variations_seed_processor.h", | 48 "variations_seed_processor.h", |
45 "variations_seed_simulator.cc", | 49 "variations_seed_simulator.cc", |
46 "variations_seed_simulator.h", | 50 "variations_seed_simulator.h", |
47 "variations_seed_store.cc", | 51 "variations_seed_store.cc", |
48 "variations_seed_store.h", | 52 "variations_seed_store.h", |
49 "variations_switches.cc", | 53 "variations_switches.cc", |
50 "variations_switches.h", | 54 "variations_switches.h", |
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
89 } | 93 } |
90 | 94 |
91 source_set("unit_tests") { | 95 source_set("unit_tests") { |
92 testonly = true | 96 testonly = true |
93 sources = [ | 97 sources = [ |
94 "active_field_trials_unittest.cc", | 98 "active_field_trials_unittest.cc", |
95 "caching_permuted_entropy_provider_unittest.cc", | 99 "caching_permuted_entropy_provider_unittest.cc", |
96 "entropy_provider_unittest.cc", | 100 "entropy_provider_unittest.cc", |
97 "experiment_labels_unittest.cc", | 101 "experiment_labels_unittest.cc", |
98 "metrics_util_unittest.cc", | 102 "metrics_util_unittest.cc", |
99 "net/variations_http_header_provider_unittest.cc", | 103 "net/variations_http_headers_unittest.cc", |
100 "study_filtering_unittest.cc", | 104 "study_filtering_unittest.cc", |
101 "variations_associated_data_unittest.cc", | 105 "variations_associated_data_unittest.cc", |
| 106 "variations_http_header_provider_unittest.cc", |
102 "variations_request_scheduler_unittest.cc", | 107 "variations_request_scheduler_unittest.cc", |
103 "variations_seed_processor_unittest.cc", | 108 "variations_seed_processor_unittest.cc", |
104 "variations_seed_simulator_unittest.cc", | 109 "variations_seed_simulator_unittest.cc", |
105 "variations_seed_store_unittest.cc", | 110 "variations_seed_store_unittest.cc", |
106 ] | 111 ] |
107 | 112 |
108 if (is_android || is_ios) { | 113 if (is_android || is_ios) { |
109 sources += [ "variations_request_scheduler_mobile_unittest.cc" ] | 114 sources += [ "variations_request_scheduler_mobile_unittest.cc" ] |
110 } | 115 } |
111 | 116 |
112 deps = [ | 117 deps = [ |
113 ":variations", | 118 ":variations", |
114 "net", | 119 "net", |
115 "proto", | 120 "proto", |
116 "//base:prefs_test_support", | 121 "//base:prefs_test_support", |
117 "//base/test:test_support", | 122 "//base/test:test_support", |
118 "//components/compression", | 123 "//components/compression", |
119 "//testing/gtest", | 124 "//testing/gtest", |
120 ] | 125 ] |
121 } | 126 } |
OLD | NEW |