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)', |