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

Side by Side Diff: components/policy/BUILD.gn

Issue 375873006: Rename source_prereqs to inputs in the GN build. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 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 | Annotate | Revision Log
« no previous file with comments | « components/autofill/core/browser/BUILD.gn ('k') | content/browser/devtools/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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 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") 5 import("//build/config/features.gni")
6 import("//third_party/protobuf/proto_library.gni") 6 import("//third_party/protobuf/proto_library.gni")
7 import("//tools/grit/grit_rule.gni") 7 import("//tools/grit/grit_rule.gni")
8 8
9 if (is_component_build) { 9 if (is_component_build) {
10 component("policy_component") { 10 component("policy_component") {
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 54
55 action("cloud_policy_code_generate") { 55 action("cloud_policy_code_generate") {
56 script = "tools/generate_policy_source.py" 56 script = "tools/generate_policy_source.py"
57 57
58 if (is_chromeos) { 58 if (is_chromeos) {
59 chromeos_flag = "1" 59 chromeos_flag = "1"
60 } else { 60 } else {
61 chromeos_flag = "0" 61 chromeos_flag = "0"
62 } 62 }
63 63
64 source_prereqs = [ 64 inputs = [
65 "resources/policy_templates.json", 65 "resources/policy_templates.json",
66 ] 66 ]
67 outputs = [ 67 outputs = [
68 constants_header_path, 68 constants_header_path,
69 constants_source_path, 69 constants_source_path,
70 protobuf_decoder_path, 70 protobuf_decoder_path,
71 chrome_settings_proto_path, 71 chrome_settings_proto_path,
72 cloud_policy_proto_path, 72 cloud_policy_proto_path,
73 ] 73 ]
74 74
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 ":policy_component", 178 ":policy_component",
179 ":test_support", 179 ":test_support",
180 "//components/policy/proto", 180 "//components/policy/proto",
181 "//testing/gmock", 181 "//testing/gmock",
182 "//testing/gtest", 182 "//testing/gtest",
183 ] 183 ]
184 } 184 }
185 } 185 }
186 186
187 #TODO(GYP) policy templates, chrome_manifest_bundle 187 #TODO(GYP) policy templates, chrome_manifest_bundle
OLDNEW
« no previous file with comments | « components/autofill/core/browser/BUILD.gn ('k') | content/browser/devtools/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698