Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / chrome / common / variations / fieldtrial_testing_config.gyp
bloba844ea00dd3c57e1a146c154c6210b476dd23c09
1 # Copyright 2015 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: //chrome/common/variations:fieldtrial_testing_config
9       'target_name': 'fieldtrial_testing_config',
10       'type': 'static_library',
11       'sources': [
12         '../../../testing/variations/fieldtrial_testing_config_android.json',
13         '../../../testing/variations/fieldtrial_testing_config_win.json',
14         '../../../testing/variations/fieldtrial_testing_config_linux.json',
15         '../../../testing/variations/fieldtrial_testing_config_mac.json',
16         '../../../testing/variations/fieldtrial_testing_config_chromeos.json',
17         '../../../testing/variations/fieldtrial_testing_config_ios.json',
18       ],
19       'conditions': [
20         ['OS!="android"', {'sources/': [['exclude', '_android\\.json$']]}],
21         ['OS!="win"', {'sources/': [['exclude', '_win\\.json$']]}],
22         ['OS!="linux" or chromeos==1', {'sources/': [['exclude', '_linux\\.json$']]}],
23         ['OS!="mac"', {'sources/': [['exclude', '_mac\\.json$']]}],
24         ['chromeos!=1', {'sources/': [['exclude', '_chromeos\\.json$']]}],
25         ['OS!="ios"', {'sources/': [['exclude', '_ios\\.json$']]}],
26       ],
27       'includes': [
28         '../../../build/json_to_struct.gypi',
29       ],
30       'variables': {
31         'chromium_code': 1,
32         'schema_file': 'fieldtrial_testing_config_schema.json',
33         'namespace': 'chrome_variations',
34         'cc_dir': 'chrome/common/variations',
35         'struct_gen': '<(DEPTH)/tools/variations/fieldtrial_to_struct.py',
36         'output_filename': 'fieldtrial_testing_config',
37       },
38     },
39   ],