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) |
Todd Kennedy | 20047d7 | 2016-04-20 14:07:07 -0700 | [diff] [blame] | 23 | |
| 24 | LOCAL_MODULE := CtsShimPrivPrebuilt |
| 25 | LOCAL_MODULE_TAGS := optional |
Todd Kennedy | 5585dd9 | 2016-03-29 13:07:01 -0700 | [diff] [blame] | 26 | # this needs to be a privileged application |
| 27 | LOCAL_PRIVILEGED_MODULE := true |
Todd Kennedy | 20047d7 | 2016-04-20 14:07:07 -0700 | [diff] [blame] | 28 | LOCAL_MODULE_CLASS := APPS |
| 29 | LOCAL_BUILT_MODULE_STEM := package.apk |
| 30 | # Make sure the build system doesn't try to resign the APK |
| 31 | LOCAL_CERTIFICATE := PRESIGNED |
Todd Kennedy | ffe4fcb | 2016-05-03 11:11:39 -0700 | [diff] [blame] | 32 | LOCAL_DEX_PREOPT := false |
Winston Man | 5036500 | 2017-10-17 21:24:31 +0100 | [diff] [blame] | 33 | LOCAL_MODULE_TARGET_ARCH := arm arm64 x86 x86_64 |
Todd Kennedy | 5585dd9 | 2016-03-29 13:07:01 -0700 | [diff] [blame] | 34 | |
Anton Hansson | 6965807 | 2018-02-08 13:32:40 +0000 | [diff] [blame] | 35 | LOCAL_SRC_FILES_arm := apk/arm/CtsShimPriv.apk |
| 36 | LOCAL_SRC_FILES_arm64 := apk/arm/CtsShimPriv.apk |
| 37 | LOCAL_SRC_FILES_x86 := apk/x86/CtsShimPriv.apk |
| 38 | LOCAL_SRC_FILES_x86_64 := apk/x86/CtsShimPriv.apk |
Todd Kennedy | 5585dd9 | 2016-03-29 13:07:01 -0700 | [diff] [blame] | 39 | |
Todd Kennedy | 20047d7 | 2016-04-20 14:07:07 -0700 | [diff] [blame] | 40 | include $(BUILD_PREBUILT) |
Todd Kennedy | 5585dd9 | 2016-03-29 13:07:01 -0700 | [diff] [blame] | 41 | |
| 42 | |
| 43 | ########################################################### |
| 44 | # Variant: System app |
| 45 | |
| 46 | include $(CLEAR_VARS) |
| 47 | |
Todd Kennedy | 20047d7 | 2016-04-20 14:07:07 -0700 | [diff] [blame] | 48 | LOCAL_MODULE := CtsShimPrebuilt |
Todd Kennedy | 5585dd9 | 2016-03-29 13:07:01 -0700 | [diff] [blame] | 49 | LOCAL_MODULE_TAGS := optional |
Todd Kennedy | 20047d7 | 2016-04-20 14:07:07 -0700 | [diff] [blame] | 50 | LOCAL_MODULE_CLASS := APPS |
| 51 | LOCAL_BUILT_MODULE_STEM := package.apk |
| 52 | # Make sure the build system doesn't try to resign the APK |
| 53 | LOCAL_CERTIFICATE := PRESIGNED |
Todd Kennedy | ffe4fcb | 2016-05-03 11:11:39 -0700 | [diff] [blame] | 54 | LOCAL_DEX_PREOPT := false |
Winston Man | 5036500 | 2017-10-17 21:24:31 +0100 | [diff] [blame] | 55 | LOCAL_MODULE_TARGET_ARCH := arm arm64 x86 x86_64 |
Todd Kennedy | 5585dd9 | 2016-03-29 13:07:01 -0700 | [diff] [blame] | 56 | |
Anton Hansson | 6965807 | 2018-02-08 13:32:40 +0000 | [diff] [blame] | 57 | LOCAL_SRC_FILES_arm := apk/arm/CtsShim.apk |
| 58 | LOCAL_SRC_FILES_arm64 := apk/arm/CtsShim.apk |
| 59 | LOCAL_SRC_FILES_x86 := apk/x86/CtsShim.apk |
| 60 | LOCAL_SRC_FILES_x86_64 := apk/x86/CtsShim.apk |
Todd Kennedy | 5585dd9 | 2016-03-29 13:07:01 -0700 | [diff] [blame] | 61 | |
Todd Kennedy | 20047d7 | 2016-04-20 14:07:07 -0700 | [diff] [blame] | 62 | include $(BUILD_PREBUILT) |
Todd Kennedy | 5585dd9 | 2016-03-29 13:07:01 -0700 | [diff] [blame] | 63 | |
Dan Willemsen | 06b9391 | 2016-06-08 15:08:04 -0700 | [diff] [blame] | 64 | include $(call all-makefiles-under,$(LOCAL_PATH)) |