• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright (C) 2019 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_PACKAGE_NAME := CtsUseEmbeddedDexApp_Canonical
22LOCAL_USE_EMBEDDED_DEX := true
23LOCAL_MANIFEST_FILE := AndroidManifest.xml
24
25LOCAL_MODULE_TAGS := tests
26LOCAL_SRC_FILES := $(call all-java-files-under, src)
27LOCAL_SDK_VERSION := current
28LOCAL_MIN_SDK_VERSION := 27
29LOCAL_COMPATIBILITY_SUITE := cts vts general-tests
30LOCAL_PROGUARD_ENABLED := disabled
31LOCAL_DEX_PREOPT := false
32
33include $(BUILD_CTS_SUPPORT_PACKAGE)
34
35
36include $(CLEAR_VARS)
37
38LOCAL_PACKAGE_NAME := CtsUseEmbeddedDexApp_DexCompressed
39# Not specifying LOCAL_USE_EMBEDDED_DEX keeps dex compressed
40LOCAL_MANIFEST_FILE := AndroidManifest.xml
41
42LOCAL_MODULE_TAGS := tests
43LOCAL_SRC_FILES := $(call all-java-files-under, src)
44LOCAL_SDK_VERSION := current
45LOCAL_MIN_SDK_VERSION := 28
46LOCAL_COMPATIBILITY_SUITE := cts vts general-tests
47LOCAL_PROGUARD_ENABLED := disabled
48LOCAL_DEX_PREOPT := false
49
50include $(BUILD_CTS_SUPPORT_PACKAGE)
51
52
53include $(CLEAR_VARS)
54
55LOCAL_PACKAGE_NAME := CtsUseEmbeddedDexApp_NotPreferred
56LOCAL_MANIFEST_FILE := AndroidManifest_use_extracted_dex.xml
57
58LOCAL_MODULE_TAGS := tests
59LOCAL_SRC_FILES := $(call all-java-files-under, src)
60LOCAL_SDK_VERSION := current
61LOCAL_MIN_SDK_VERSION := 28
62LOCAL_COMPATIBILITY_SUITE := cts vts general-tests
63LOCAL_PROGUARD_ENABLED := disabled
64LOCAL_DEX_PREOPT := false
65
66include $(BUILD_CTS_SUPPORT_PACKAGE)
67
68
69include $(CLEAR_VARS)
70
71LOCAL_PACKAGE_NAME := CtsUseEmbeddedDexAppSplit_Canonical
72LOCAL_MANIFEST_FILE := feature_split/AndroidManifest.xml
73
74# We want the dex to be uncompressed, but there is a side effect of extra
75# android:useEmbeddedDex in the manifest (which the framework will ignore
76# for split).
77LOCAL_USE_EMBEDDED_DEX := true
78
79LOCAL_MODULE_TAGS := tests
80LOCAL_SRC_FILES := $(call all-java-files-under, feature_split/src)
81LOCAL_SDK_VERSION := current
82LOCAL_MIN_SDK_VERSION := 27
83LOCAL_COMPATIBILITY_SUITE := cts vts general-tests
84LOCAL_PROGUARD_ENABLED := disabled
85LOCAL_DEX_PREOPT := false
86
87include $(BUILD_CTS_SUPPORT_PACKAGE)
88
89
90include $(CLEAR_VARS)
91
92LOCAL_PACKAGE_NAME := CtsUseEmbeddedDexAppSplit_CompressedDex
93LOCAL_MANIFEST_FILE := feature_split/AndroidManifest.xml
94
95LOCAL_MODULE_TAGS := tests
96LOCAL_SRC_FILES := $(call all-java-files-under, feature_split/src)
97LOCAL_SDK_VERSION := current
98LOCAL_MIN_SDK_VERSION := 27
99LOCAL_COMPATIBILITY_SUITE := cts vts general-tests
100LOCAL_PROGUARD_ENABLED := disabled
101LOCAL_DEX_PREOPT := false
102
103include $(BUILD_CTS_SUPPORT_PACKAGE)
104
105
106#include $(CLEAR_VARS)
107#
108#LOCAL_PACKAGE_NAME := CtsUseEmbeddedDexAppSplit_CompressedSo
109#LOCAL_MANIFEST_FILE := feature_split/AndroidManifest.xml
110#
111#LOCAL_MODULE_TAGS := tests
112#LOCAL_SRC_FILES := $(call all-java-files-under, feature_split/src)
113#LOCAL_PREBUILT_JNI_LIBS := dummy.so
114#LOCAL_SDK_VERSION := current
115#LOCAL_MIN_SDK_VERSION := 27
116#LOCAL_COMPATIBILITY_SUITE := cts vts general-tests
117#LOCAL_PROGUARD_ENABLED := disabled
118#LOCAL_DEX_PREOPT := false
119#
120#include $(BUILD_CTS_SUPPORT_PACKAGE)
121