blob: 537b1714ba712084529c47939c3928e8514ba6a4 [file] [log] [blame]
Todd Kennedy5585dd92016-03-29 13:07:01 -07001#
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
17LOCAL_PATH := $(call my-dir)
18
19###########################################################
20# Variant: Privileged app
21
22include $(CLEAR_VARS)
23# this needs to be a privileged application
24LOCAL_PRIVILEGED_MODULE := true
25
26LOCAL_MODULE_TAGS := optional
27LOCAL_SDK_VERSION := current
28LOCAL_PROGUARD_ENABLED := disabled
29LOCAL_DEX_PREOPT := false
30
31LOCAL_PACKAGE_NAME := CtsShimPriv
32
33#TODO need to find the correct certificate
34#Change in conjunction with cts/hostsidetests/appsecurity/test-apps/IntentFilterApp
35LOCAL_CERTIFICATE := platform
36LOCAL_MANIFEST_FILE := priv_shim/AndroidManifest.xml
37
38include $(BUILD_PACKAGE)
39
40
41
42###########################################################
43# Variant: System app
44
45include $(CLEAR_VARS)
46
47LOCAL_MODULE_TAGS := optional
48LOCAL_SDK_VERSION := current
49LOCAL_PROGUARD_ENABLED := disabled
50LOCAL_DEX_PREOPT := false
51
52LOCAL_PACKAGE_NAME := CtsShim
53
54#TODO need to find the correct certificate
55#Change in conjunction with cts/hostsidetests/appsecurity/test-apps/IntentFilterApp
56LOCAL_CERTIFICATE := platform
57LOCAL_MANIFEST_FILE := shim/AndroidManifest.xml
58
59include $(BUILD_PACKAGE)
60
61