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

Unified Diff: build/android/lint_action.gypi

Issue 1828693002: Reland of Android: Run lint using a cache in the output directory (fix-up) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fixes 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/android/lint_action.gypi
diff --git a/build/android/lint_action.gypi b/build/android/lint_action.gypi
index 35b7d491a4b428ccd655dd1f17bb34ee666eaf3b..382666213da3b1ba8e4b0869a702dc4ee5a58f82 100644
--- a/build/android/lint_action.gypi
+++ b/build/android/lint_action.gypi
@@ -16,16 +16,20 @@
'additional_args': [],
}]
],
+ 'android_lint_cache_stamp': '<(PRODUCT_DIR)/android_lint_cache/android_lint_cache.stamp',
'android_manifest_path%': '<(DEPTH)/build/android/AndroidManifest.xml',
'resource_dir%': '<(DEPTH)/build/android/ant/empty/res',
'suppressions_file%': '<(DEPTH)/build/android/lint/suppressions.xml',
+ 'platform_xml_path': '<(android_sdk_root)/platform-tools/api/api-versions.xml',
},
'inputs': [
'<(DEPTH)/build/android/gyp/util/build_utils.py',
'<(DEPTH)/build/android/gyp/lint.py',
+ '<(android_lint_cache_stamp)',
'<(android_manifest_path)',
'<(lint_jar_path)',
'<(suppressions_file)',
+ '<(platform_xml_path)',
],
'action': [
'python', '<(DEPTH)/build/android/gyp/lint.py',
@@ -33,7 +37,7 @@
'--config-path=<(suppressions_file)',
'--processed-config-path=<(config_path)',
'--cache-dir', '<(PRODUCT_DIR)/android_lint_cache',
- '--build-tools-version', '<(android_sdk_build_tools_version)',
+ '--platform-xml-path', '<(platform_xml_path)',
'--manifest-path=<(android_manifest_path)',
'--result-path=<(result_path)',
'--resource-dir=<(resource_dir)',

Powered by Google App Engine
This is Rietveld 408576698