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 := CtsIsolatedSplitAppFeatureC 21LOCAL_SDK_VERSION := current 22LOCAL_USE_AAPT2 := true 23LOCAL_MODULE_TAGS := tests 24LOCAL_COMPATIBILITY_SUITE := cts vts general-tests 25 26# Make sure our test locale polish is not stripped. 27LOCAL_AAPT_INCLUDE_ALL_RESOURCES := true 28 29LOCAL_SRC_FILES := $(call all-subdir-java-files) 30 31# Generate a locale split. 32LOCAL_PACKAGE_SPLITS := pl 33 34# Code and resource dependency on the base. 35LOCAL_APK_LIBRARIES := CtsIsolatedSplitApp 36LOCAL_RES_LIBRARIES := $(LOCAL_APK_LIBRARIES) 37 38# Although feature splits use unique resource package names, they must all 39# have the same manifest package name to be considered one app. 40LOCAL_AAPT_FLAGS := --rename-manifest-package com.android.cts.isolatedsplitapp 41 42# Use the same package ID as feature A, since this is an isolated split and 43# will not be loaded together with feature A. 44LOCAL_AAPT_FLAGS += --package-id 0x80 45 46include $(BUILD_CTS_SUPPORT_PACKAGE) 47