Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(970)

Side by Side Diff: components/variations/BUILD.gn

Issue 1271123003: Componentize VariationsSeedStore and its unittest (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@componentize_variations_prefs
Patch Set: Rebase Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/variations.gypi ('k') | components/variations/DEPS » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 24 matching lines...) Expand all
35 "variations_associated_data.cc", 35 "variations_associated_data.cc",
36 "variations_associated_data.h", 36 "variations_associated_data.h",
37 "variations_experiment_util.cc", 37 "variations_experiment_util.cc",
38 "variations_experiment_util.h", 38 "variations_experiment_util.h",
39 "variations_request_scheduler.cc", 39 "variations_request_scheduler.cc",
40 "variations_request_scheduler.h", 40 "variations_request_scheduler.h",
41 "variations_seed_processor.cc", 41 "variations_seed_processor.cc",
42 "variations_seed_processor.h", 42 "variations_seed_processor.h",
43 "variations_seed_simulator.cc", 43 "variations_seed_simulator.cc",
44 "variations_seed_simulator.h", 44 "variations_seed_simulator.h",
45 "variations_seed_store.cc",
46 "variations_seed_store.h",
45 "variations_service_client.h", 47 "variations_service_client.h",
46 "variations_url_constants.cc", 48 "variations_url_constants.cc",
47 "variations_url_constants.h", 49 "variations_url_constants.h",
48 ] 50 ]
49 51
50 if (is_android || is_ios) { 52 if (is_android || is_ios) {
51 sources += [ 53 sources += [
52 "variations_request_scheduler_mobile.cc", 54 "variations_request_scheduler_mobile.cc",
53 "variations_request_scheduler_mobile.h", 55 "variations_request_scheduler_mobile.h",
54 ] 56 ]
55 } 57 }
56 58
57 deps = [ 59 deps = [
58 "proto", 60 "proto",
59 "//base", 61 "//base",
60 "//base:prefs", 62 "//base:prefs",
63 "//components/compression",
64 "//crypto",
61 "//third_party/mt19937ar", 65 "//third_party/mt19937ar",
66 "//third_party/protobuf:protobuf_lite",
62 ] 67 ]
63 68
64 if (is_android) { 69 if (is_android) {
65 deps += [ ":jni" ] 70 deps += [ ":jni" ]
66 } 71 }
67 } 72 }
68 73
69 if (is_android) { 74 if (is_android) {
70 # GYP: //components/variations.gypi:variations_jni_headers 75 # GYP: //components/variations.gypi:variations_jni_headers
71 generate_jni("jni") { 76 generate_jni("jni") {
(...skipping 11 matching lines...) Expand all
83 "caching_permuted_entropy_provider_unittest.cc", 88 "caching_permuted_entropy_provider_unittest.cc",
84 "entropy_provider_unittest.cc", 89 "entropy_provider_unittest.cc",
85 "experiment_labels_unittest.cc", 90 "experiment_labels_unittest.cc",
86 "metrics_util_unittest.cc", 91 "metrics_util_unittest.cc",
87 "net/variations_http_header_provider_unittest.cc", 92 "net/variations_http_header_provider_unittest.cc",
88 "study_filtering_unittest.cc", 93 "study_filtering_unittest.cc",
89 "variations_associated_data_unittest.cc", 94 "variations_associated_data_unittest.cc",
90 "variations_request_scheduler_unittest.cc", 95 "variations_request_scheduler_unittest.cc",
91 "variations_seed_processor_unittest.cc", 96 "variations_seed_processor_unittest.cc",
92 "variations_seed_simulator_unittest.cc", 97 "variations_seed_simulator_unittest.cc",
98 "variations_seed_store_unittest.cc",
93 ] 99 ]
94 100
95 if (is_android || is_ios) { 101 if (is_android || is_ios) {
96 sources += [ "variations_request_scheduler_mobile_unittest.cc" ] 102 sources += [ "variations_request_scheduler_mobile_unittest.cc" ]
97 } 103 }
98 104
99 deps = [ 105 deps = [
100 ":variations", 106 ":variations",
101 "net", 107 "net",
102 "proto", 108 "proto",
103 "//base:prefs_test_support", 109 "//base:prefs_test_support",
104 "//base/test:test_support", 110 "//base/test:test_support",
111 "//components/compression",
105 "//testing/gtest", 112 "//testing/gtest",
106 ] 113 ]
107 } 114 }
OLDNEW
« no previous file with comments | « components/variations.gypi ('k') | components/variations/DEPS » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698