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

Unified Diff: build/android/gyp/get_device_configuration.py

Issue 132463007: Enable presubmit pylint in build/android. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase vs tot and only disabling F0401 in specific spots Created 6 years, 10 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
« no previous file with comments | « build/android/gyp/generate_v14_compatible_resources.py ('k') | build/android/gyp/jar.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/gyp/get_device_configuration.py
diff --git a/build/android/gyp/get_device_configuration.py b/build/android/gyp/get_device_configuration.py
index f27c12be4b360acd2882607d64823e987c105ddc..0a4893c2af7dd3afb0c2f637cff5f25c47c07683 100755
--- a/build/android/gyp/get_device_configuration.py
+++ b/build/android/gyp/get_device_configuration.py
@@ -10,19 +10,13 @@ This configuration is used by later build steps to determine which devices to
install to and what needs to be installed to those devices.
"""
-import logging
import optparse
-import os
-import subprocess
import sys
+# pylint: disable=F0401
from util import build_utils
from util import build_device
-
-BUILD_ANDROID_DIR = os.path.join(os.path.dirname(__file__), '..')
-sys.path.append(BUILD_ANDROID_DIR)
-
-from pylib.utils import apk_helper
+# pylint: disable=F0401
def main(argv):
« no previous file with comments | « build/android/gyp/generate_v14_compatible_resources.py ('k') | build/android/gyp/jar.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698