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

Side by Side Diff: build/android/gyp/package_resources.py

Issue 1192263002: Create xxxhdpi density splits when density splits are enabled (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebased Created 5 years, 6 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 | « build/android/finalize_splits_action.gypi ('k') | build/android/package_resources_action.gypi » ('j') | 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 # 2 #
3 # Copyright 2014 The Chromium Authors. All rights reserved. 3 # Copyright 2014 The Chromium Authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style license that can be 4 # Use of this source code is governed by a BSD-style license that can be
5 # found in the LICENSE file. 5 # found in the LICENSE file.
6 6
7 # pylint: disable=C0301 7 # pylint: disable=C0301
8 """Package resources into an apk. 8 """Package resources into an apk.
9 9
10 See https://android.googlesource.com/platform/tools/base/+/master/legacy/ant-tas ks/src/main/java/com/android/ant/AaptExecTask.java 10 See https://android.googlesource.com/platform/tools/base/+/master/legacy/ant-tas ks/src/main/java/com/android/ant/AaptExecTask.java
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 'xhdpi-v21', 47 'xhdpi-v21',
48 ), 48 ),
49 'xxhdpi': ( 49 'xxhdpi': (
50 'xxhdpi-v4', 50 'xxhdpi-v4',
51 'ldrtl-xxhdpi-v4', 51 'ldrtl-xxhdpi-v4',
52 'sw600dp-xxhdpi-v13', 52 'sw600dp-xxhdpi-v13',
53 'ldrtl-xxhdpi-v17', 53 'ldrtl-xxhdpi-v17',
54 'ldrtl-sw600dp-xxhdpi-v17', 54 'ldrtl-sw600dp-xxhdpi-v17',
55 'xxhdpi-v21', 55 'xxhdpi-v21',
56 ), 56 ),
57 'xxxhdpi': (
58 'xxxhdpi-v4',
59 'ldrtl-xxxhdpi-v4',
60 'sw600dp-xxxhdpi-v13',
61 'ldrtl-xxxhdpi-v17',
62 'ldrtl-sw600dp-xxxhdpi-v17',
63 'xxxhdpi-v21',
64 ),
57 'tvdpi': ( 65 'tvdpi': (
58 'tvdpi-v4', 66 'tvdpi-v4',
59 'sw600dp-tvdpi-v13', 67 'sw600dp-tvdpi-v13',
60 'ldrtl-sw600dp-tvdpi-v17', 68 'ldrtl-sw600dp-tvdpi-v17',
61 ), 69 ),
62 } 70 }
63 71
64 72
65 def ParseArgs(): 73 def ParseArgs():
66 """Parses command line options. 74 """Parses command line options.
(...skipping 169 matching lines...) Expand 10 before | Expand all | Expand 10 after
236 RenameDensitySplits(options.apk_path) 244 RenameDensitySplits(options.apk_path)
237 245
238 if options.depfile: 246 if options.depfile:
239 build_utils.WriteDepfile( 247 build_utils.WriteDepfile(
240 options.depfile, 248 options.depfile,
241 build_utils.GetPythonDependencies()) 249 build_utils.GetPythonDependencies())
242 250
243 251
244 if __name__ == '__main__': 252 if __name__ == '__main__':
245 main() 253 main()
OLDNEW
« no previous file with comments | « build/android/finalize_splits_action.gypi ('k') | build/android/package_resources_action.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698