• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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_LICENSE_KINDS := SPDX-license-identifier-Apache-2.0
26LOCAL_LICENSE_CONDITIONS := notice
27LOCAL_SRC_FILES := TimeZoneData$(TIME_ZONE_DATA_APP_SUFFIX).apk
28LOCAL_OVERRIDES_PACKAGES := TimeZoneData$(TIME_ZONE_DATA_APP_SUFFIX)
29LOCAL_MODULE_TAGS := optional
30
31# OEM-INSTRUCTION: Change this
32LOCAL_MODULE_OWNER := oemcorp
33LOCAL_PRIVILEGED_MODULE := true
34LOCAL_PRODUCT_MODULE := true
35
36LOCAL_MODULE_SUFFIX := $(COMMON_ANDROID_PACKAGE_SUFFIX)
37LOCAL_MODULE_CLASS := APPS
38# OEM-INSTRUCTION: Change this to match your app-specific signing certificate.
39LOCAL_CERTIFICATE :=
40
41# If LOCAL_COMPATIBILITY_SUITE is set this also copies the APK to the appropriate xTS directory
42# and so this .mk can be used for prod and test targets.
43include $(BUILD_PREBUILT)
44