OLD | NEW |
1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 # This target runs a functionally empty lint to create or update the | 8 # This target runs a functionally empty lint to create or update the |
9 # API versions cache if necessary. This prevents racy creation of the | 9 # API versions cache if necessary. This prevents racy creation of the |
10 # cache while linting java targets in lint_action.gypi. | 10 # cache while linting java targets in lint_action.gypi. |
(...skipping 16 matching lines...) Expand all Loading... |
27 '<(platform_xml_path)', | 27 '<(platform_xml_path)', |
28 ], | 28 ], |
29 'outputs': [ | 29 'outputs': [ |
30 '<(android_lint_cache_stamp)', | 30 '<(android_lint_cache_stamp)', |
31 '<(result_path)', | 31 '<(result_path)', |
32 ], | 32 ], |
33 'action': [ | 33 'action': [ |
34 'python', '<(DEPTH)/build/android/gyp/lint.py', | 34 'python', '<(DEPTH)/build/android/gyp/lint.py', |
35 '--lint-path', '<(android_sdk_root)/tools/lint', | 35 '--lint-path', '<(android_sdk_root)/tools/lint', |
36 '--cache-dir', '<(PRODUCT_DIR)/android_lint_cache', | 36 '--cache-dir', '<(PRODUCT_DIR)/android_lint_cache', |
| 37 '--android-sdk-version=<(android_sdk_version)', |
37 '--platform-xml-path', '<(platform_xml_path)', | 38 '--platform-xml-path', '<(platform_xml_path)', |
38 '--manifest-path', '<(android_manifest_path)', | 39 '--manifest-path', '<(android_manifest_path)', |
39 '--product-dir', '<(PRODUCT_DIR)', | 40 '--product-dir', '<(PRODUCT_DIR)', |
40 '--result-path', '<(result_path)', | 41 '--result-path', '<(result_path)', |
41 '--stamp', '<(android_lint_cache_stamp)', | 42 '--stamp', '<(android_lint_cache_stamp)', |
42 '--create-cache', | 43 '--create-cache', |
43 '--silent', | 44 '--silent', |
44 '--enable' | 45 '--enable' |
45 ], | 46 ], |
46 }, | 47 }, |
47 ], | 48 ], |
48 }, | 49 }, |
49 ], | 50 ], |
50 } | 51 } |
OLD | NEW |