Todd Kennedy | 5585dd9 | 2016-03-29 13:07:01 -0700 | [diff] [blame] | 1 | # |
| 2 | # Copyright (C) 2016 The Android Open Source Project |
| 3 | # |
| 4 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 5 | # you may not use this file except in compliance with the License. |
| 6 | # You may obtain a copy of the License at |
| 7 | # |
| 8 | # http://www.apache.org/licenses/LICENSE-2.0 |
| 9 | # |
| 10 | # Unless required by applicable law or agreed to in writing, software |
| 11 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 12 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 13 | # See the License for the specific language governing permissions and |
| 14 | # limitations under the License. |
| 15 | # |
| 16 | |
| 17 | LOCAL_PATH := $(call my-dir) |
| 18 | |
| 19 | ########################################################### |
| 20 | # Variant: Privileged app |
| 21 | |
| 22 | include $(CLEAR_VARS) |
| 23 | # this needs to be a privileged application |
| 24 | LOCAL_PRIVILEGED_MODULE := true |
| 25 | |
| 26 | LOCAL_MODULE_TAGS := optional |
| 27 | LOCAL_SDK_VERSION := current |
| 28 | LOCAL_PROGUARD_ENABLED := disabled |
| 29 | LOCAL_DEX_PREOPT := false |
| 30 | |
| 31 | LOCAL_PACKAGE_NAME := CtsShimPriv |
| 32 | |
| 33 | #TODO need to find the correct certificate |
| 34 | #Change in conjunction with cts/hostsidetests/appsecurity/test-apps/IntentFilterApp |
| 35 | LOCAL_CERTIFICATE := platform |
| 36 | LOCAL_MANIFEST_FILE := priv_shim/AndroidManifest.xml |
| 37 | |
| 38 | include $(BUILD_PACKAGE) |
| 39 | |
| 40 | |
| 41 | |
| 42 | ########################################################### |
| 43 | # Variant: System app |
| 44 | |
| 45 | include $(CLEAR_VARS) |
| 46 | |
| 47 | LOCAL_MODULE_TAGS := optional |
| 48 | LOCAL_SDK_VERSION := current |
| 49 | LOCAL_PROGUARD_ENABLED := disabled |
| 50 | LOCAL_DEX_PREOPT := false |
| 51 | |
| 52 | LOCAL_PACKAGE_NAME := CtsShim |
| 53 | |
| 54 | #TODO need to find the correct certificate |
| 55 | #Change in conjunction with cts/hostsidetests/appsecurity/test-apps/IntentFilterApp |
| 56 | LOCAL_CERTIFICATE := platform |
| 57 | LOCAL_MANIFEST_FILE := shim/AndroidManifest.xml |
| 58 | |
| 59 | include $(BUILD_PACKAGE) |
| 60 | |
| 61 | |