1# Copyright (C) 2017 The Android Open Source Project
2#
3# Licensed under the Apache License, Version 2.0 (the "License");
4# you may not use this file except in compliance with the License.
5# You may obtain a copy of the License at
6#
7#      http://www.apache.org/licenses/LICENSE-2.0
8#
9# Unless required by applicable law or agreed to in writing, software
10# distributed under the License is distributed on an "AS IS" BASIS,
11# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12# See the License for the specific language governing permissions and
13# limitations under the License.
14
15# An .mk include file that contains the boilerplate needed to include real and
16# test, OEM-specific Time Zone Data app prebuilts.
17#
18# Users should set:
19#   TIME_ZONE_DATA_APP_SUFFIX - the suffix to apply to the package name. Can be
20#       empty, or contain things like _test1 for test .apk files.
21#   LOCAL_COMPATIBILITY_SUITE - if the package is to be included in xTS tests.
22#
23
24LOCAL_MODULE := TimeZoneDataPrebuilt$(TIME_ZONE_DATA_APP_SUFFIX)
25LOCAL_SRC_FILES := TimeZoneData$(TIME_ZONE_DATA_APP_SUFFIX).apk
26LOCAL_OVERRIDES_PACKAGES := TimeZoneData$(TIME_ZONE_DATA_APP_SUFFIX)
27LOCAL_MODULE_TAGS := optional
28
29# OEM-INSTRUCTION: Change this
30LOCAL_MODULE_OWNER := oemcorp
31LOCAL_PRIVILEGED_MODULE := true
32
33LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
34LOCAL_MODULE_CLASS := APPS
35# OEM-INSTRUCTION: Change this to match your app-specific signing certificate.
36LOCAL_CERTIFICATE :=
37
38# If LOCAL_COMPATIBILITY_SUITE is set this also copies the APK to the appropriate xTS directory
39# and so this .mk can be used for prod and test targets.
40include $(BUILD_PREBUILT)
41