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 19 matching lines...) Expand all Loading... |
30 ], | 30 ], |
31 'action': [ | 31 'action': [ |
32 'python', '<(DEPTH)/build/android/gyp/lint.py', | 32 'python', '<(DEPTH)/build/android/gyp/lint.py', |
33 '--lint-path', '<(android_sdk_root)/tools/lint', | 33 '--lint-path', '<(android_sdk_root)/tools/lint', |
34 '--cache-dir', '<(PRODUCT_DIR)/android_lint_cache', | 34 '--cache-dir', '<(PRODUCT_DIR)/android_lint_cache', |
35 '--build-tools-version', '<(android_sdk_build_tools_version)', | 35 '--build-tools-version', '<(android_sdk_build_tools_version)', |
36 '--manifest-path', '<(android_manifest_path)', | 36 '--manifest-path', '<(android_manifest_path)', |
37 '--product-dir', '<(PRODUCT_DIR)', | 37 '--product-dir', '<(PRODUCT_DIR)', |
38 '--result-path', '<(result_path)', | 38 '--result-path', '<(result_path)', |
39 '--stamp', '<(android_lint_cache_stamp)', | 39 '--stamp', '<(android_lint_cache_stamp)', |
| 40 '--create-cache', |
40 '--silent', | 41 '--silent', |
41 '--enable' | 42 '--enable' |
42 ], | 43 ], |
43 }, | 44 }, |
44 ], | 45 ], |
45 }, | 46 }, |
46 ], | 47 ], |
47 } | 48 } |
OLD | NEW |