blob: af0fd8787f48f45932a7fa630a8c194067a7c109 [file] [log] [blame]
Adam Lesinskif90f2f8d2014-06-06 14:27:00 -07001#!/bin/bash
Adam Lesinski60293192014-10-21 18:36:42 -07002#
3# Copyright (C) 2014 The Android Open Source Project
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16#
Adam Lesinskif90f2f8d2014-06-06 14:27:00 -070017
Adam Lesinski4c67a472016-11-10 16:43:59 -080018set -e
19
Adam Lesinski351471f92016-12-12 14:08:13 -080020PATH_TO_FRAMEWORK_RES=${ANDROID_BUILD_TOP}/prebuilts/sdk/current/android.jar
Adam Lesinski82a2dd82014-09-17 18:34:15 -070021
Adam Lesinski4c67a472016-11-10 16:43:59 -080022aapt package -M AndroidManifest.xml -S res -I $PATH_TO_FRAMEWORK_RES --split hdpi --split xhdpi --split xxhdpi --split fr,de -F basic.apk -f