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

Side by Side Diff: chrome/common/variations/BUILD.gn

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: fix gn build Created 5 years, 6 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 import("//build/config/ui.gni")
6 import("//tools/variations/fieldtrial_to_struct.gni")
7
8 fieldtrial_to_struct("fieldtrial_testing_config") {
9 visibility = [ "*" ]
10
11 if (is_win) {
12 source = "//testing/variations/fieldtrial_testing_config_win.json"
13 }
14 if (is_mac) {
15 source = "//testing/variations/fieldtrial_testing_config_mac.json"
16 }
17 if (is_linux) {
18 source = "//testing/variations/fieldtrial_testing_config_linux.json"
19 }
20 if (is_chromeos) {
21 source = "//testing/variations/fieldtrial_testing_config_chromeos.json"
22 }
23 if (is_android) {
24 source = "//testing/variations/fieldtrial_testing_config_android.json"
25 }
26 if (is_ios) {
27 source = "//testing/variations/fieldtrial_testing_config_ios.json"
28 }
29
30 schema_file = "fieldtrial_testing_config_schema.json"
31 namespace = "chrome_variations"
32 output = "fieldtrial_testing_config"
33 out_dir = "variations"
34 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698