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

Unified Diff: build/compiled_action.gni

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/BUILD.gn ('k') | build/config/android/internal_rules.gni » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/compiled_action.gni
diff --git a/build/compiled_action.gni b/build/compiled_action.gni
index 7f4975f7d8652957087cc5c0ca76fd12916e4c78..937069113f8ac28fdd9022d12ea2c09cb8369a20 100644
--- a/build/compiled_action.gni
+++ b/build/compiled_action.gni
@@ -24,7 +24,7 @@
# [list of strings] Same meaning as action/action_foreach.
#
# visibility
-# source_prereqs
+# inputs
# deps
# args (all optional)
# Same meaning as action/action_foreach.
@@ -40,7 +40,7 @@
# ]
#
# # The tool takes this input.
-# source_prereqs = [ "my_input_file.idl" ]
+# inputs = [ "my_input_file.idl" ]
#
# # In this case, the tool takes as arguments the input file and the output
# # build dir (both relative to the "cd" that the script will be run in)
@@ -74,8 +74,8 @@ template("compiled_action") {
script = "//build/gn_run_binary.py"
- if (defined(invoker.source_prereqs)) {
- source_prereqs = invoker.source_prereqs
+ if (defined(invoker.inputs)) {
+ inputs = invoker.inputs
}
outputs = invoker.outputs
@@ -118,8 +118,8 @@ template("compiled_action_foreach") {
script = "//build/gn_run_binary.py"
sources = invoker.sources
- if (defined(invoker.source_prereqs)) {
- source_prereqs = invoker.source_prereqs
+ if (defined(invoker.inputs)) {
+ inputs = invoker.inputs
}
outputs = invoker.outputs
« no previous file with comments | « base/BUILD.gn ('k') | build/config/android/internal_rules.gni » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698