Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Side by Side Diff: chrome/common/variations/fieldtrial_testing_config.gyp

Issue 1209743002: Generate a static struct from fieldtrial_testing_config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@codegen_nested_structs
Patch Set: add +x file permission Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
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.
4
5 {
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 ],
40 }
OLDNEW
« no previous file with comments | « chrome/common/variations/BUILD.gn ('k') | chrome/common/variations/fieldtrial_testing_config_schema.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698