• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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
30LOCAL_ASSET_DIR := $(LOCAL_PATH)/assets
31
32LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey1
33LOCAL_AAPT_FLAGS := --version-code 100 --version-name OneHundred --replace-version -c mdpi -c hdpi -c xhdpi -c xxhdpi
34
35LOCAL_PROGUARD_ENABLED := disabled
36LOCAL_DEX_PREOPT := false
37
38include $(BUILD_PACKAGE)
39
40
41################################################
42# Define a variant with a different version code
43
44include $(CLEAR_VARS)
45
46LOCAL_MODULE_TAGS := tests
47LOCAL_SDK_VERSION := current
48LOCAL_STATIC_JAVA_LIBRARIES := android-support-test
49
50LOCAL_SRC_FILES := $(call all-java-files-under, src)
51
52LOCAL_PACKAGE_NAME := CtsSplitAppDiffVersion
53LOCAL_PACKAGE_SPLITS := v7
54
55LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey1
56LOCAL_AAPT_FLAGS := --version-code 101 --version-name OneHundredOne --replace-version -c mdpi -c hdpi -c xhdpi -c xxhdpi
57
58LOCAL_PROGUARD_ENABLED := disabled
59LOCAL_DEX_PREOPT := false
60
61include $(BUILD_PACKAGE)
62
63
64################################################
65# Define a variant with a different signature
66
67include $(CLEAR_VARS)
68
69LOCAL_MODULE_TAGS := tests
70LOCAL_SDK_VERSION := current
71LOCAL_STATIC_JAVA_LIBRARIES := android-support-test
72
73LOCAL_SRC_FILES := $(call all-java-files-under, src)
74
75LOCAL_PACKAGE_NAME := CtsSplitAppDiffCert
76LOCAL_PACKAGE_SPLITS := v7
77
78LOCAL_CERTIFICATE := cts/hostsidetests/appsecurity/certs/cts-testkey2
79LOCAL_AAPT_FLAGS := --version-code 100 --version-name OneHundred --replace-version -c mdpi -c hdpi -c xhdpi -c xxhdpi
80
81LOCAL_PROGUARD_ENABLED := disabled
82LOCAL_DEX_PREOPT := false
83
84include $(BUILD_PACKAGE)
85
86
87ifeq (,$(ONE_SHOT_MAKEFILE))
88include $(LOCAL_PATH)/libs/Android.mk $(LOCAL_PATH)/feature/Android.mk
89endif
90