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

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

Issue 2321273003: Extend VariationParamsManager to support feature associations. (Closed)
Patch Set: Last comments Created 4 years 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
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 static_library("variations") { 9 static_library("variations") {
10 sources = [ 10 sources = [
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 if (is_android) { 86 if (is_android) {
87 generate_jni("jni") { 87 generate_jni("jni") {
88 sources = [ 88 sources = [
89 "android/java/src/org/chromium/components/variations/VariationsAssociatedD ata.java", 89 "android/java/src/org/chromium/components/variations/VariationsAssociatedD ata.java",
90 "android/java/src/org/chromium/components/variations/firstrun/VariationsSe edBridge.java", 90 "android/java/src/org/chromium/components/variations/firstrun/VariationsSe edBridge.java",
91 ] 91 ]
92 jni_package = "variations" 92 jni_package = "variations"
93 } 93 }
94 } 94 }
95 95
96 static_library("test_support") {
97 testonly = true
98 sources = [
99 "variations_params_manager.cc",
100 "variations_params_manager.h",
101 ]
102
103 public_deps = [
104 ":variations",
105 ]
106
107 deps = [
108 "//base/test:test_support",
109 ]
110 }
111
96 source_set("unit_tests") { 112 source_set("unit_tests") {
97 testonly = true 113 testonly = true
98 sources = [ 114 sources = [
99 "active_field_trials_unittest.cc", 115 "active_field_trials_unittest.cc",
100 "caching_permuted_entropy_provider_unittest.cc", 116 "caching_permuted_entropy_provider_unittest.cc",
101 "child_process_field_trial_syncer_unittest.cc", 117 "child_process_field_trial_syncer_unittest.cc",
102 "entropy_provider_unittest.cc", 118 "entropy_provider_unittest.cc",
103 "experiment_labels_unittest.cc", 119 "experiment_labels_unittest.cc",
104 "metrics_util_unittest.cc", 120 "metrics_util_unittest.cc",
105 "net/variations_http_headers_unittest.cc", 121 "net/variations_http_headers_unittest.cc",
(...skipping 14 matching lines...) Expand all
120 ":variations", 136 ":variations",
121 "net", 137 "net",
122 "proto", 138 "proto",
123 "//base/test:test_support", 139 "//base/test:test_support",
124 "//components/prefs:test_support", 140 "//components/prefs:test_support",
125 "//components/variations/field_trial_config:unit_tests", 141 "//components/variations/field_trial_config:unit_tests",
126 "//testing/gtest", 142 "//testing/gtest",
127 "//third_party/zlib:compression_utils", 143 "//third_party/zlib:compression_utils",
128 ] 144 ]
129 } 145 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698