1 # Copyright 2013 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
5 # This file is meant to be included into an action to provide a rule to
6 # run lint on java/class files.
9 'action_name': 'lint_<(_target_name)',
10 'message': 'Linting <(_target_name)',
13 ['chromium_code != 0 and android_lint != 0 and never_lint == 0', {
14 'is_enabled': '--enable',
21 '<(DEPTH)/build/android/gyp/util/build_utils.py',
22 '<(DEPTH)/build/android/gyp/lint.py',
23 '<(DEPTH)/build/android/lint/suppressions.xml',
24 '<(DEPTH)/build/android/AndroidManifest.xml',
28 'python', '<(DEPTH)/build/android/gyp/lint.py',
29 '--lint-path=<(android_sdk_root)/tools/lint',
30 '--config-path=<(DEPTH)/build/android/lint/suppressions.xml',
31 '--processed-config-path=<(config_path)',
32 '--manifest-path=<(DEPTH)/build/android/AndroidManifest.xml',
33 '--result-path=<(result_path)',
34 '--product-dir=<(PRODUCT_DIR)',
35 '--src-dirs=>(src_dirs)',
36 '--jar-path=<(lint_jar_path)',
37 '--stamp=<(stamp_path)',