| Index: build/android/package_resources_action.gypi
|
| diff --git a/build/android/package_resources_action.gypi b/build/android/package_resources_action.gypi
|
| index 36ee32b49a80c46a6089daa574fbf22391cc797f..eb608718951b25b89efec81054ccf6aa17863047 100644
|
| --- a/build/android/package_resources_action.gypi
|
| +++ b/build/android/package_resources_action.gypi
|
| @@ -14,6 +14,7 @@
|
| # asset_location - The directory where assets are located (if any).
|
| # create_density_splits - Whether to create density-based apk splits. Splits
|
| # are supported only for minSdkVersion >= 21.
|
| +# language_splits - List of languages to create apk splits for.
|
| # resource_zips - List of paths to resource zip files.
|
| # shared_resources - Make a resource package that can be loaded by a different
|
| # application at runtime to access the package's resources.
|
| @@ -69,11 +70,19 @@
|
| '--create-density-splits',
|
| ],
|
| 'outputs': [
|
| - '<(resource_packaged_apk_path)-hdpi',
|
| - '<(resource_packaged_apk_path)-xhdpi',
|
| - '<(resource_packaged_apk_path)-xxhdpi',
|
| - '<(resource_packaged_apk_path)-xxxhdpi',
|
| - '<(resource_packaged_apk_path)-tvdpi',
|
| + '<(resource_packaged_apk_path)_hdpi',
|
| + '<(resource_packaged_apk_path)_xhdpi',
|
| + '<(resource_packaged_apk_path)_xxhdpi',
|
| + '<(resource_packaged_apk_path)_xxxhdpi',
|
| + '<(resource_packaged_apk_path)_tvdpi',
|
| + ],
|
| + }],
|
| + ['language_splits != []', {
|
| + 'action': [
|
| + '--language-splits=<(language_splits)',
|
| + ],
|
| + 'outputs': [
|
| + "<!@(python <(DEPTH)/build/apply_locales.py '<(resource_packaged_apk_path)_ZZLOCALE' <(language_splits))",
|
| ],
|
| }],
|
| ['resource_zips != []', {
|
|
|