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

Unified Diff: build/config/android/internal_rules.gni

Issue 1815563005: [Android] Run lint using a cache in the output directory. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: prereview 2 Created 4 years, 9 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
Index: build/config/android/internal_rules.gni
diff --git a/build/config/android/internal_rules.gni b/build/config/android/internal_rules.gni
index 732c98b8b3c7a2990762af32fe22e811af7998b5..655ca9c8cea23205170ce71d2d2f73fc2ee5664c 100644
--- a/build/config/android/internal_rules.gni
+++ b/build/config/android/internal_rules.gni
@@ -54,6 +54,11 @@ template("android_lint") {
result_path,
]
+ if (!defined(deps)) {
agrieve 2016/03/19 00:12:54 nit: you can save a couple lines if you put "deps
jbudorick 2016/03/19 00:57:42 Done.
+ deps = []
+ }
+ deps += [ "//build/android:prepare_lint_cache" ]
+
rebased_java_files = rebase_path(java_files, root_build_dir)
args = [

Powered by Google App Engine
This is Rietveld 408576698