| 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 = [ |
| 11 "active_field_trials.cc", | 11 "active_field_trials.cc", |
| 12 "active_field_trials.h", | 12 "active_field_trials.h", |
| 13 "android/component_jni_registrar.cc", | 13 "android/component_jni_registrar.cc", |
| 14 "android/component_jni_registrar.h", | 14 "android/component_jni_registrar.h", |
| 15 "android/variations_associated_data_android.cc", | 15 "android/variations_associated_data_android.cc", |
| 16 "android/variations_associated_data_android.h", | 16 "android/variations_associated_data_android.h", |
| 17 "android/variations_seed_bridge.cc", |
| 18 "android/variations_seed_bridge.h", |
| 17 "caching_permuted_entropy_provider.cc", | 19 "caching_permuted_entropy_provider.cc", |
| 18 "caching_permuted_entropy_provider.h", | 20 "caching_permuted_entropy_provider.h", |
| 19 "entropy_provider.cc", | 21 "entropy_provider.cc", |
| 20 "entropy_provider.h", | 22 "entropy_provider.h", |
| 21 "experiment_labels.cc", | 23 "experiment_labels.cc", |
| 22 "experiment_labels.h", | 24 "experiment_labels.h", |
| 23 "metrics_util.cc", | 25 "metrics_util.cc", |
| 24 "metrics_util.h", | 26 "metrics_util.h", |
| 25 "pref_names.cc", | 27 "pref_names.cc", |
| 26 "pref_names.h", | 28 "pref_names.h", |
| (...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 73 if (is_android) { | 75 if (is_android) { |
| 74 deps += [ ":jni" ] | 76 deps += [ ":jni" ] |
| 75 } | 77 } |
| 76 } | 78 } |
| 77 | 79 |
| 78 if (is_android) { | 80 if (is_android) { |
| 79 # GYP: //components/variations.gypi:variations_jni_headers | 81 # GYP: //components/variations.gypi:variations_jni_headers |
| 80 generate_jni("jni") { | 82 generate_jni("jni") { |
| 81 sources = [ | 83 sources = [ |
| 82 "android/java/src/org/chromium/components/variations/VariationsAssociatedD
ata.java", | 84 "android/java/src/org/chromium/components/variations/VariationsAssociatedD
ata.java", |
| 85 "android/java/src/org/chromium/components/variations/firstrun/VariationsSe
edBridge.java", |
| 83 ] | 86 ] |
| 84 jni_package = "variations" | 87 jni_package = "variations" |
| 85 } | 88 } |
| 86 } | 89 } |
| 87 | 90 |
| 88 source_set("unit_tests") { | 91 source_set("unit_tests") { |
| 89 testonly = true | 92 testonly = true |
| 90 sources = [ | 93 sources = [ |
| 91 "active_field_trials_unittest.cc", | 94 "active_field_trials_unittest.cc", |
| 92 "caching_permuted_entropy_provider_unittest.cc", | 95 "caching_permuted_entropy_provider_unittest.cc", |
| (...skipping 16 matching lines...) Expand all Loading... |
| 109 deps = [ | 112 deps = [ |
| 110 ":variations", | 113 ":variations", |
| 111 "net", | 114 "net", |
| 112 "proto", | 115 "proto", |
| 113 "//base:prefs_test_support", | 116 "//base:prefs_test_support", |
| 114 "//base/test:test_support", | 117 "//base/test:test_support", |
| 115 "//components/compression", | 118 "//components/compression", |
| 116 "//testing/gtest", | 119 "//testing/gtest", |
| 117 ] | 120 ] |
| 118 } | 121 } |
| OLD | NEW |