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

Side by Side Diff: build/android/android_lint_cache.gyp

Issue 1870073002: Properly set up classpath for Android Lint (and fix its stderr filter) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Skip --android-sdk-version for GYP build Created 4 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | build/android/gyp/lint.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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 }
OLDNEW
« no previous file with comments | « no previous file | build/android/gyp/lint.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698