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

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

Issue 2797703004: Android: Upgrade to Android Studio 2.3 (Closed)
Patch Set: Created 3 years, 8 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 | « no previous file | build/android/gradle/root.jinja » ('j') | docs/android_studio.md » ('J')
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 727 matching lines...) Expand 10 before | Expand all | Expand 10 after
738 738
739 if generated_inputs: 739 if generated_inputs:
740 logging.warning('Building generated source files...') 740 logging.warning('Building generated source files...')
741 targets = _RebasePath(generated_inputs, output_dir) 741 targets = _RebasePath(generated_inputs, output_dir)
742 _RunNinja(output_dir, targets) 742 _RunNinja(output_dir, targets)
743 743
744 if zip_tuples: 744 if zip_tuples:
745 _ExtractZips(generator.project_dir, zip_tuples) 745 _ExtractZips(generator.project_dir, zip_tuples)
746 746
747 logging.warning('Project created! (%d subprojects)', len(project_entries)) 747 logging.warning('Project created! (%d subprojects)', len(project_entries))
748 logging.warning('Generated projects work best with Android Studio 2.2') 748 logging.warning('Generated projects work with Android Studio 2.3')
749 logging.warning('For more tips: https://chromium.googlesource.com/chromium' 749 logging.warning('For more tips: https://chromium.googlesource.com/chromium'
750 '/src.git/+/master/docs/android_studio.md') 750 '/src.git/+/master/docs/android_studio.md')
751 751
752 752
753 if __name__ == '__main__': 753 if __name__ == '__main__':
754 main() 754 main()
OLDNEW
« no previous file with comments | « no previous file | build/android/gradle/root.jinja » ('j') | docs/android_studio.md » ('J')

Powered by Google App Engine
This is Rietveld 408576698