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

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

Issue 1291703008: Rename is_chromeos in chrome/src. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: retry Created 5 years, 4 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
« no previous file with comments | « chrome/common/extensions/api/schemas.gni ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 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 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 import("//build/config/features.gni")
6
5 action("fieldtrial_testing_config_action") { 7 action("fieldtrial_testing_config_action") {
6 visibility = [ ":fieldtrial_testing_config" ] 8 visibility = [ ":fieldtrial_testing_config" ]
7 script = "//tools/variations/fieldtrial_to_struct.py" 9 script = "//tools/variations/fieldtrial_to_struct.py"
8 10
9 if (is_win) { 11 if (is_win) {
10 source = "//testing/variations/fieldtrial_testing_config_win.json" 12 source = "//testing/variations/fieldtrial_testing_config_win.json"
11 } 13 }
12 if (is_mac) { 14 if (is_mac) {
13 source = "//testing/variations/fieldtrial_testing_config_mac.json" 15 source = "//testing/variations/fieldtrial_testing_config_mac.json"
14 } 16 }
15 if (is_linux) { 17 if (is_linux) {
16 source = "//testing/variations/fieldtrial_testing_config_linux.json" 18 source = "//testing/variations/fieldtrial_testing_config_linux.json"
17 } 19 }
18 if (is_chromeos) { 20 if (use_cros_fe) {
19 source = "//testing/variations/fieldtrial_testing_config_chromeos.json" 21 source = "//testing/variations/fieldtrial_testing_config_chromeos.json"
20 } 22 }
21 if (is_android) { 23 if (is_android) {
22 source = "//testing/variations/fieldtrial_testing_config_android.json" 24 source = "//testing/variations/fieldtrial_testing_config_android.json"
23 } 25 }
24 if (is_ios) { 26 if (is_ios) {
25 source = "//testing/variations/fieldtrial_testing_config_ios.json" 27 source = "//testing/variations/fieldtrial_testing_config_ios.json"
26 } 28 }
27 29
28 inputs = [ 30 inputs = [
(...skipping 17 matching lines...) Expand all
46 "--output=$out_name", 48 "--output=$out_name",
47 ] 49 ]
48 } 50 }
49 51
50 source_set("fieldtrial_testing_config") { 52 source_set("fieldtrial_testing_config") {
51 sources = get_target_outputs(":fieldtrial_testing_config_action") 53 sources = get_target_outputs(":fieldtrial_testing_config_action")
52 deps = [ 54 deps = [
53 ":fieldtrial_testing_config_action", 55 ":fieldtrial_testing_config_action",
54 ] 56 ]
55 } 57 }
OLDNEW
« no previous file with comments | « chrome/common/extensions/api/schemas.gni ('k') | chrome/test/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698