• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1#
2# Copyright (C) 2017 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)
18include $(CLEAR_VARS)
19
20LOCAL_PACKAGE_NAME := CtsIsolatedSplitAppFeatureA
21LOCAL_SDK_VERSION := current
22LOCAL_USE_AAPT2 := true
23LOCAL_MODULE_TAGS := tests
24LOCAL_COMPATIBILITY_SUITE := cts vts general-tests
25
26# Feature splits are dependent on this split, so it must be exported.
27LOCAL_EXPORT_PACKAGE_RESOURCES := true
28
29# Make sure our test locale polish is not stripped.
30LOCAL_AAPT_INCLUDE_ALL_RESOURCES := true
31
32LOCAL_SRC_FILES := $(call all-subdir-java-files)
33
34# Generate a locale split.
35LOCAL_PACKAGE_SPLITS := pl
36
37# Code and resource dependency on the base.
38LOCAL_APK_LIBRARIES := CtsIsolatedSplitApp
39LOCAL_RES_LIBRARIES := $(LOCAL_APK_LIBRARIES)
40
41# Although feature splits use unique resource package names, they must all
42# have the same manifest package name to be considered one app.
43LOCAL_AAPT_FLAGS += --rename-manifest-package com.android.cts.isolatedsplitapp
44
45# Assign a unique package ID to this feature split. Since these are isolated splits,
46# it must only be unique across a dependency chain.
47LOCAL_AAPT_FLAGS += --package-id 0x80
48
49include $(BUILD_CTS_SUPPORT_PACKAGE)
50