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

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

Issue 197693002: [Android] Lint build/android/gyp/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: now using extra_paths_list to avoid F0401s Created 6 years, 9 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/create_device_library_links.py ('k') | build/android/gyp/create_standalone_apk.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: build/android/gyp/create_native_libraries_header.py
diff --git a/build/android/gyp/create_native_libraries_header.py b/build/android/gyp/create_native_libraries_header.py
index a906439ad183e029169df9d3c8eff65b2dfda7d6..bb91a2a1f5909ae7040b0274c2d5e033017d992a 100755
--- a/build/android/gyp/create_native_libraries_header.py
+++ b/build/android/gyp/create_native_libraries_header.py
@@ -21,7 +21,7 @@ import sys
from util import build_utils
-def main(argv):
+def main():
parser = optparse.OptionParser()
parser.add_option('--native-library-list',
@@ -44,7 +44,7 @@ def main(argv):
# "content_shell_content_view" }' from a list of the form ["libbase.so",
# libnet.so", "libcontent_shell_content_view.so"]
libraries = ['"' + lib[3:-3] + '"' for lib in libraries]
- array = '= { ' + ', '.join(libraries) + '}';
+ array = '= { ' + ', '.join(libraries) + '}'
with open(options.native_library_list, 'w') as header:
header.write(array)
@@ -53,4 +53,4 @@ def main(argv):
header.write('= "%s"' % options.version_name)
if __name__ == '__main__':
- sys.exit(main(sys.argv))
+ sys.exit(main())
« no previous file with comments | « build/android/gyp/create_device_library_links.py ('k') | build/android/gyp/create_standalone_apk.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698