1# 2# Copyright (C) 2014 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 19include $(CLEAR_VARS) 20 21LOCAL_MODULE_TAGS := tests 22LOCAL_SDK_VERSION := current 23LOCAL_STATIC_JAVA_LIBRARIES := android-support-test 24 25LOCAL_SRC_FILES := $(call all-java-files-under, src) 26 27LOCAL_PACKAGE_NAME := CtsSplitApp 28LOCAL_PACKAGE_SPLITS := mdpi-v4 hdpi-v4 xhdpi-v4 xxhdpi-v4 v7 fr de 29 30# Tag this module as a cts test artifact 31LOCAL_COMPATIBILITY_SUITE := cts 32 33LOCAL_ASSET_DIR := $(LOCAL_PATH)/assets 34 35LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey1 36LOCAL_AAPT_FLAGS := --version-code 100 --version-name OneHundred --replace-version 37 38LOCAL_PROGUARD_ENABLED := disabled 39LOCAL_DEX_PREOPT := false 40 41include $(BUILD_CTS_SUPPORT_PACKAGE) 42 43 44################################################# 45# Define a variant with a different revision code 46 47include $(CLEAR_VARS) 48 49LOCAL_MODULE_TAGS := tests 50LOCAL_SDK_VERSION := current 51LOCAL_STATIC_JAVA_LIBRARIES := android-support-test 52 53LOCAL_SRC_FILES := $(call all-java-files-under, src) 54 55LOCAL_PACKAGE_NAME := CtsSplitAppDiffRevision 56LOCAL_PACKAGE_SPLITS := v7 57 58# Tag this module as a cts test artifact 59LOCAL_COMPATIBILITY_SUITE := cts 60 61LOCAL_MANIFEST_FILE := revision/AndroidManifest.xml 62LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey1 63LOCAL_AAPT_FLAGS := --version-code 100 --version-name OneHundredRevisionTwelve --replace-version 64 65LOCAL_PROGUARD_ENABLED := disabled 66LOCAL_DEX_PREOPT := false 67 68include $(BUILD_CTS_SUPPORT_PACKAGE) 69 70 71################################################ 72# Define a variant with a different version code 73 74include $(CLEAR_VARS) 75 76LOCAL_MODULE_TAGS := tests 77LOCAL_SDK_VERSION := current 78LOCAL_STATIC_JAVA_LIBRARIES := android-support-test 79 80LOCAL_SRC_FILES := $(call all-java-files-under, src) 81 82LOCAL_PACKAGE_NAME := CtsSplitAppDiffVersion 83LOCAL_PACKAGE_SPLITS := v7 84 85# Tag this module as a cts test artifact 86LOCAL_COMPATIBILITY_SUITE := cts 87 88LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey1 89LOCAL_AAPT_FLAGS := --version-code 101 --version-name OneHundredOne --replace-version 90 91LOCAL_PROGUARD_ENABLED := disabled 92LOCAL_DEX_PREOPT := false 93 94include $(BUILD_CTS_SUPPORT_PACKAGE) 95 96 97################################################ 98# Define a variant with a different signature 99 100include $(CLEAR_VARS) 101 102LOCAL_MODULE_TAGS := tests 103LOCAL_SDK_VERSION := current 104LOCAL_STATIC_JAVA_LIBRARIES := android-support-test 105 106LOCAL_SRC_FILES := $(call all-java-files-under, src) 107 108LOCAL_PACKAGE_NAME := CtsSplitAppDiffCert 109LOCAL_PACKAGE_SPLITS := v7 110 111# Tag this module as a cts test artifact 112LOCAL_COMPATIBILITY_SUITE := cts 113 114LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey2 115LOCAL_AAPT_FLAGS := --version-code 100 --version-name OneHundred --replace-version 116 117LOCAL_PROGUARD_ENABLED := disabled 118LOCAL_DEX_PREOPT := false 119 120include $(BUILD_CTS_SUPPORT_PACKAGE) 121 122 123ifeq (,$(ONE_SHOT_MAKEFILE)) 124include $(LOCAL_PATH)/libs/Android.mk $(LOCAL_PATH)/feature/Android.mk 125endif 126