[Eraser strings] Remove unused Supervised User infobar and corresponding strings
[chromium-blink-merge.git] / components / variations.gypi
blob73a5e886b0079301a27a55617a87cff4db659920
1 # Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
6   'targets': [
7     {
8       # GN version: //components/variations
9       'target_name': 'variations',
10       'type': 'static_library',
11       'include_dirs': [
12         '..',
13       ],
14       'dependencies': [
15         # List of dependencies is intentionally very minimal. Please avoid
16         # adding extra dependencies without first checking with OWNERS.
17         '../base/base.gyp:base',
18         '../base/base.gyp:base_prefs',
19         '../third_party/mt19937ar/mt19937ar.gyp:mt19937ar',
20       ],
21       'sources': [
22         # Note: sources list duplicated in GN build.
23         'variations/active_field_trials.cc',
24         'variations/active_field_trials.h',
25         'variations/android/component_jni_registrar.cc',
26         'variations/android/component_jni_registrar.h',
27         'variations/android/variations_associated_data_android.cc',
28         'variations/android/variations_associated_data_android.h',
29         'variations/caching_permuted_entropy_provider.cc',
30         'variations/caching_permuted_entropy_provider.h',
31         'variations/entropy_provider.cc',
32         'variations/entropy_provider.h',
33         'variations/metrics_util.cc',
34         'variations/metrics_util.h',
35         'variations/pref_names.cc',
36         'variations/pref_names.h',
37         'variations/processed_study.cc',
38         'variations/processed_study.h',
39         'variations/proto/client_variations.proto',
40         'variations/proto/permuted_entropy_cache.proto',
41         'variations/proto/study.proto',
42         'variations/proto/variations_seed.proto',
43         'variations/study_filtering.cc',
44         'variations/study_filtering.h',
45         'variations/variations_associated_data.cc',
46         'variations/variations_associated_data.h',
47         'variations/variations_experiment_util.cc',
48         'variations/variations_experiment_util.h',
49         'variations/variations_seed_processor.cc',
50         'variations/variations_seed_processor.h',
51         'variations/variations_seed_simulator.cc',
52         'variations/variations_seed_simulator.h',
53         'variations/variations_url_constants.cc',
54         'variations/variations_url_constants.h',
55       ],
56       'variables': {
57         'proto_in_dir': 'variations/proto',
58         'proto_out_dir': 'components/variations/proto',
59       },
60       'includes': [ '../build/protoc.gypi' ],
61       'conditions': [
62         ['OS == "android"', {
63           'dependencies': [
64             'variations_jni_headers',
65           ],
66         }],
67       ],
68     },
69     {
70       # GN version: //components/variations/net:net
71       'target_name': 'variations_http_provider',
72       'type': 'static_library',
73       'include_dirs': [
74         '..',
75       ],
76       'dependencies': [
77         '../base/base.gyp:base',
78         '../net/net.gyp:net',
79         '../url/url.gyp:url_lib',
80         'components.gyp:google_core_browser',
81         "components.gyp:metrics",
82         'variations',
83       ],
84       'export_dependent_settings': [
85         "components.gyp:metrics",
86       ],
87       'sources': [
88         'variations/net/variations_http_header_provider.cc',
89         'variations/net/variations_http_header_provider.h',
90       ],
91     },
92   ],
93   'conditions': [
94     ['OS=="android"', {
95       'targets': [
96         {
97           # GN version: //components/variations/android:variations_java
98           'target_name': 'variations_java',
99           'type': 'none',
100           'dependencies': [
101             '../base/base.gyp:base',
102           ],
103           'variables': {
104             'java_in_dir': 'variations/android/java',
105           },
106           'includes': [ '../build/java.gypi' ],
107         },
108         {
109           # GN version: //components/variations:jni
110           'target_name': 'variations_jni_headers',
111           'type': 'none',
112           'sources': [
113             'variations/android/java/src/org/chromium/components/variations/VariationsAssociatedData.java',
114           ],
115           'variables': {
116             'jni_gen_package': 'variations',
117           },
118           'includes': [ '../build/jni_generator.gypi' ],
119         },
120       ],
121     }],
122   ]