Home | History | Annotate | Download | only in CtsShim
      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 
     24 LOCAL_MODULE := CtsShimPrivPrebuilt
     25 LOCAL_MODULE_TAGS := optional
     26 # this needs to be a privileged application
     27 LOCAL_PRIVILEGED_MODULE := true
     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
     32 LOCAL_DEX_PREOPT := false
     33 
     34 LOCAL_SRC_FILES := CtsShimPriv.apk
     35 
     36 include $(BUILD_PREBUILT)
     37 
     38 
     39 ###########################################################
     40 # Variant: System app
     41 
     42 include $(CLEAR_VARS)
     43 
     44 LOCAL_MODULE := CtsShimPrebuilt
     45 LOCAL_MODULE_TAGS := optional
     46 LOCAL_MODULE_CLASS := APPS
     47 LOCAL_BUILT_MODULE_STEM := package.apk
     48 # Make sure the build system doesn't try to resign the APK
     49 LOCAL_CERTIFICATE := PRESIGNED
     50 LOCAL_DEX_PREOPT := false
     51 
     52 LOCAL_SRC_FILES := CtsShim.apk
     53 
     54 include $(BUILD_PREBUILT)
     55 
     56 include $(call all-makefiles-under,$(LOCAL_PATH))
     57