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

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

Issue 880083004: Change which manifest and resources are passed to lint.py. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Renamed res_dir to resource_dir in java.gypi. Created 5 years, 10 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 125aa2cd17cb0eb71a62c41437046bd9a4acc642..18b372622a60a8eae86e8aa6a940dc5e0cf131f6 100644
--- a/build/config/android/internal_rules.gni
+++ b/build/config/android/internal_rules.gni
@@ -30,6 +30,7 @@ template("android_lint") {
result_path = base_path + "/result.xml"
config_path = base_path + "/config.xml"
suppressions_file = "//build/android/lint/suppressions.xml"
+ resource_dir = "//build/android/ant/empty/res"
inputs = [
suppressions_file,
android_manifest,
@@ -52,6 +53,8 @@ template("android_lint") {
"--product-dir=.",
"--jar-path",
rebase_path(jar_path, root_build_dir),
+ "--resource-dir",
+ rebase_path(resource_dir, root_build_dir),
"--processed-config-path",
rebase_path(config_path, root_build_dir),
"--result-path",
« build/android/gyp/lint.py ('K') | « build/android/lint_action.gypi ('k') | build/java.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698