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

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

Issue 2465953002: Move Field Trial Utils from chrome/common/variations to components/variations/field_trial_util (Closed)
Patch Set: Moved to components/variations/field_trial_util and chrome switches Created 4 years, 1 month 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 action("fieldtrial_testing_config_action") {
6 visibility = [ ":fieldtrial_testing_config" ]
7 script = "//tools/variations/fieldtrial_to_struct.py"
8
9 source = "//testing/variations/fieldtrial_testing_config.json"
10 inputs = [
11 "//tools/json_to_struct/element_generator.py",
12 "//tools/json_to_struct/json_to_struct.py",
13 "//tools/json_to_struct/struct_generator.py",
14 source,
15 ]
16 out_name = "fieldtrial_testing_config"
17 outputs = [
18 "$target_gen_dir/$out_name.cc",
19 "$target_gen_dir/$out_name.h",
20 ]
21
22 args = [
23 rebase_path(source, root_build_dir),
24 "--destbase=" + rebase_path(target_gen_dir, root_build_dir),
25 "--namespace=chrome_variations",
26 "--schema=" +
27 rebase_path("fieldtrial_testing_config_schema.json", root_build_dir),
28 "--platform=" + current_os,
29 "--output=$out_name",
30 ]
31 }
32
33 source_set("fieldtrial_testing_config") {
34 sources = get_target_outputs(":fieldtrial_testing_config_action")
35 deps = [
36 ":fieldtrial_testing_config_action",
37 ]
38 }
OLDNEW
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/common/variations/fieldtrial_testing_config_schema.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698