| 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) { |
| 6 import("//build/config/android/rules.gni") |
| 7 } |
| 8 |
| 5 static_library("variations") { | 9 static_library("variations") { |
| 6 sources = [ | 10 sources = [ |
| 7 "active_field_trials.cc", | 11 "active_field_trials.cc", |
| 8 "active_field_trials.h", | 12 "active_field_trials.h", |
| 9 "android/component_jni_registrar.cc", | 13 "android/component_jni_registrar.cc", |
| 10 "android/component_jni_registrar.h", | 14 "android/component_jni_registrar.h", |
| 11 "android/variations_associated_data_android.cc", | 15 "android/variations_associated_data_android.cc", |
| 12 "android/variations_associated_data_android.h", | 16 "android/variations_associated_data_android.h", |
| 13 "caching_permuted_entropy_provider.cc", | 17 "caching_permuted_entropy_provider.cc", |
| 14 "caching_permuted_entropy_provider.h", | 18 "caching_permuted_entropy_provider.h", |
| (...skipping 19 matching lines...) Expand all Loading... |
| 34 "variations_seed_processor.h", | 38 "variations_seed_processor.h", |
| 35 "variations_seed_simulator.cc", | 39 "variations_seed_simulator.cc", |
| 36 "variations_seed_simulator.h", | 40 "variations_seed_simulator.h", |
| 37 ] | 41 ] |
| 38 | 42 |
| 39 deps = [ | 43 deps = [ |
| 40 "//base", | 44 "//base", |
| 41 "//components/variations/proto", | 45 "//components/variations/proto", |
| 42 "//third_party/mt19937ar", | 46 "//third_party/mt19937ar", |
| 43 ] | 47 ] |
| 48 |
| 49 if (is_android) { |
| 50 deps += [ ":jni" ] |
| 51 } |
| 44 } | 52 } |
| 53 |
| 54 if (is_android) { |
| 55 generate_jni("jni") { |
| 56 sources = [ |
| 57 "android/java/src/org/chromium/components/variations/VariationsAssociatedD
ata.java", |
| 58 ] |
| 59 jni_package = "variations" |
| 60 } |
| 61 } |
| OLD | NEW |