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

Side by Side Diff: build/android/gradle/generate_gradle.py

Issue 2750183002: [WIP] Rename android_webview_apk (Closed)
Patch Set: Rename apk_name too Created 3 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 unified diff | Download patch
« no previous file with comments | « android_webview/test/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 #!/usr/bin/env python 1 #!/usr/bin/env python
2 # Copyright 2016 The Chromium Authors. All rights reserved. 2 # Copyright 2016 The Chromium Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 """Generates an Android Studio project from a GN target.""" 6 """Generates an Android Studio project from a GN target."""
7 7
8 import argparse 8 import argparse
9 import codecs 9 import codecs
10 import glob 10 import glob
(...skipping 23 matching lines...) Expand all
34 _SRCJARS_SUBDIR = 'extracted-srcjars' 34 _SRCJARS_SUBDIR = 'extracted-srcjars'
35 _JNI_LIBS_SUBDIR = 'symlinked-libs' 35 _JNI_LIBS_SUBDIR = 'symlinked-libs'
36 _ARMEABI_SUBDIR = 'armeabi' 36 _ARMEABI_SUBDIR = 'armeabi'
37 _RES_SUBDIR = 'extracted-res' 37 _RES_SUBDIR = 'extracted-res'
38 38
39 _DEFAULT_TARGETS = [ 39 _DEFAULT_TARGETS = [
40 # TODO(agrieve): .build_config seem not quite right for this target 40 # TODO(agrieve): .build_config seem not quite right for this target
41 # because it has resources as deps of android_apk() rather than using an 41 # because it has resources as deps of android_apk() rather than using an
42 # android_library() intermediate target. 42 # android_library() intermediate target.
43 # '//android_webview:system_webview_apk', 43 # '//android_webview:system_webview_apk',
44 '//android_webview/test:android_webview_apk', 44 '//android_webview/test:builtin_webview_apk',
45 '//android_webview/test:android_webview_test_apk', 45 '//android_webview/test:android_webview_test_apk',
46 '//base:base_junit_tests', 46 '//base:base_junit_tests',
47 '//chrome/android:chrome_junit_tests', 47 '//chrome/android:chrome_junit_tests',
48 '//chrome/android:chrome_public_apk', 48 '//chrome/android:chrome_public_apk',
49 '//chrome/android:chrome_public_test_apk', 49 '//chrome/android:chrome_public_test_apk',
50 '//chrome/android:chrome_sync_shell_apk', 50 '//chrome/android:chrome_sync_shell_apk',
51 '//chrome/android:chrome_sync_shell_test_apk', 51 '//chrome/android:chrome_sync_shell_test_apk',
52 '//content/public/android:content_junit_tests', 52 '//content/public/android:content_junit_tests',
53 '//content/shell/android:content_shell_apk', 53 '//content/shell/android:content_shell_apk',
54 ] 54 ]
(...skipping 683 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 _ExtractZips(generator.project_dir, zip_tuples) 738 _ExtractZips(generator.project_dir, zip_tuples)
739 739
740 logging.warning('Project created! (%d subprojects)', len(project_entries)) 740 logging.warning('Project created! (%d subprojects)', len(project_entries))
741 logging.warning('Generated projects work best with Android Studio 2.2') 741 logging.warning('Generated projects work best with Android Studio 2.2')
742 logging.warning('For more tips: https://chromium.googlesource.com/chromium' 742 logging.warning('For more tips: https://chromium.googlesource.com/chromium'
743 '/src.git/+/master/docs/android_studio.md') 743 '/src.git/+/master/docs/android_studio.md')
744 744
745 745
746 if __name__ == '__main__': 746 if __name__ == '__main__':
747 main() 747 main()
OLDNEW
« no previous file with comments | « android_webview/test/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698