1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
# Copyright (c) 2012 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.
{
'targets': [
{
# GN version: //components/variations
'target_name': 'variations',
'type': 'static_library',
'include_dirs': [
'..',
],
'dependencies': [
'../base/base.gyp:base',
'../third_party/mt19937ar/mt19937ar.gyp:mt19937ar',
'components.gyp:google_core_browser',
],
'sources': [
'variations/active_field_trials.cc',
'variations/active_field_trials.h',
'variations/android/component_jni_registrar.cc',
'variations/android/component_jni_registrar.h',
'variations/android/variations_associated_data_android.cc',
'variations/android/variations_associated_data_android.h',
'variations/caching_permuted_entropy_provider.cc',
'variations/caching_permuted_entropy_provider.h',
'variations/entropy_provider.cc',
'variations/entropy_provider.h',
'variations/metrics_util.cc',
'variations/metrics_util.h',
'variations/pref_names.cc',
'variations/pref_names.h',
'variations/processed_study.cc',
'variations/processed_study.h',
'variations/proto/chrome_experiments.proto',
'variations/proto/permuted_entropy_cache.proto',
'variations/proto/study.proto',
'variations/proto/variations_seed.proto',
'variations/study_filtering.cc',
'variations/study_filtering.h',
'variations/variations_associated_data.cc',
'variations/variations_associated_data.h',
'variations/variations_http_header_provider.cc',
'variations/variations_http_header_provider.h',
'variations/variations_seed_processor.cc',
'variations/variations_seed_processor.h',
'variations/variations_seed_simulator.cc',
'variations/variations_seed_simulator.h',
],
'variables': {
'proto_in_dir': 'variations/proto',
'proto_out_dir': 'components/variations/proto',
},
'includes': [ '../build/protoc.gypi' ],
'conditions': [
['OS == "android"', {
'dependencies': [
'variations_jni_headers',
],
}],
],
},
],
'conditions': [
['OS=="android"', {
'targets': [
{
'target_name': 'variations_java',
'type': 'none',
'dependencies': [
'../base/base.gyp:base',
],
'variables': {
'java_in_dir': 'variations/android/java',
},
'includes': [ '../build/java.gypi' ],
},
{
'target_name': 'variations_jni_headers',
'type': 'none',
'sources': [
'variations/android/java/src/org/chromium/components/variations/VariationsAssociatedData.java',
],
'variables': {
'jni_gen_package': 'variations',
},
'includes': [ '../build/jni_generator.gypi' ],
},
],
}],
]
}
|