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

Unified Diff: build/android/PRESUBMIT.py

Issue 1338813003: GN: Side-load dex files as well as native code in incremental installs (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix pylint warnings Created 5 years, 3 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 side-by-side diff with in-line comments
Download patch
Index: build/android/PRESUBMIT.py
diff --git a/build/android/PRESUBMIT.py b/build/android/PRESUBMIT.py
index 668638956f1ba7d607b2a153c015e41d3deef7ba..877d1fc9541053c5d13e3238144a620d3a854735 100644
--- a/build/android/PRESUBMIT.py
+++ b/build/android/PRESUBMIT.py
@@ -16,16 +16,22 @@ def CommonChecks(input_api, output_api):
"""Returns a path relative to presubmit directory."""
return input_api.os_path.join(input_api.PresubmitLocalPath(), *dirs)
+ build_pys = [
+ r'gyp/.*\.py$',
+ r'gn/.*\.py',
+ r'incremental_install/.*\.py',
+ ]
output.extend(input_api.canned_checks.RunPylint(
input_api,
output_api,
pylintrc='pylintrc',
- black_list=[r'pylib/symbols/.*\.py$', r'gyp/.*\.py$', r'gn/.*\.py'],
+ # symbols has its own PRESUBMIT.py
+ black_list=build_pys + [r'pylib/symbols/.*\.py$'],
extra_paths_list=[J(), J('buildbot')]))
output.extend(input_api.canned_checks.RunPylint(
input_api,
output_api,
- white_list=[r'gyp/.*\.py$', r'gn/.*\.py'],
+ white_list=build_pys,
extra_paths_list=[J('gyp'), J('gn')]))
# Disabled due to http://crbug.com/410936

Powered by Google App Engine
This is Rietveld 408576698