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

Unified Diff: build/config/android/rules.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 | « build/config/android/internal_rules.gni ('k') | build/secondary/chrome/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/config/android/rules.gni
diff --git a/build/config/android/rules.gni b/build/config/android/rules.gni
index 9bd4046ae2e43eed7c2030f2b8735b7341aceeb9..7cb6c8f2bead281a6329eaa0b955385417defdd9 100644
--- a/build/config/android/rules.gni
+++ b/build/config/android/rules.gni
@@ -38,7 +38,7 @@ template("generate_jni") {
script = "//base/android/jni_generator/jni_generator.py"
depfile = "$target_gen_dir/$target_name.{{source_name_part}}.d"
sources = invoker.sources
- source_prereqs = [ jni_generator_include ]
+ inputs = [ jni_generator_include ]
outputs = [
depfile,
"${jni_output_dir}/{{source_name_part}}_jni.h"
@@ -182,7 +182,7 @@ template("generate_jar_jni") {
# file in sources, there will be one .java file in the final .srcjar. For a
# file named FooBar.template, a java file will be created with name
# FooBar.java.
-# source_prereqs: additional compile-time dependencies. Any files
+# inputs: additional compile-time dependencies. Any files
# `#include`-ed in the templates should be listed here.
# package_name: this will be the subdirectory for each .java file in the .srcjar.
#
@@ -191,7 +191,7 @@ template("generate_jar_jni") {
# sources = [
# "android/java/templates/Foo.template",
# ]
-# source_prereqs = [
+# inputs = [
# "android/java/templates/native_foo_header.h",
# ]
#
@@ -210,8 +210,8 @@ template("java_cpp_template") {
action_foreach("${target_name}__apply_gcc") {
script = "//build/android/gyp/gcc_preprocess.py"
- if (defined(invoker.source_prereqs)) {
- source_prereqs = invoker.source_prereqs + []
+ if (defined(invoker.inputs)) {
+ inputs = invoker.inputs + []
}
depfile = "${target_gen_dir}/${target_name}.d"
« no previous file with comments | « build/config/android/internal_rules.gni ('k') | build/secondary/chrome/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698