#
# Example: defines = [ "FOO", "BAR=1" ]
#
-# source_prereqs, deps, visibility (optional)
+# inputs, deps, visibility (optional)
# These have the same meaning as in an action.
#
# Example
script = "//third_party/yasm/run_yasm.py"
sources = invoker.sources
- if (defined(invoker.source_prereqs)) {
- source_prereqs = invoker.source_prereqs
+ if (defined(invoker.inputs)) {
+ inputs = invoker.inputs
}
# Executable (first in the args). The binary might be in the root build dir
}
sources = get_target_outputs(":$action_name")
+
+ deps = [ ":$action_name" ]
}
}