blob: 178454aedcc4a162a783cc851fb75af5f0cbf8b0 [file] [log] [blame]
Neil Fuller55c615d2018-11-22 10:17:38 +00001# -*- mode: makefile -*-
2# Copyright (C) 2018 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
Neil Fuller35467e12017-06-12 16:55:44 +010016LOCAL_PATH:= $(call my-dir)
17
18include $(CLEAR_VARS)
19LOCAL_MODULE := tzlookup.xml
Neil Fuller35467e12017-06-12 16:55:44 +010020LOCAL_SRC_FILES := $(LOCAL_MODULE)
21LOCAL_MODULE_CLASS := ETC
22LOCAL_MODULE_TAGS := optional
23LOCAL_MODULE_PATH := $(TARGET_OUT)/usr/share/zoneinfo
24include $(BUILD_PREBUILT)
25
26ifeq ($(WITH_HOST_DALVIK),true)
27
Colin Cross6bc905a2017-10-09 13:55:50 -070028# A host version of the tzlookup.xml module for use by
29# hostdex rules.
30
Neil Fuller35467e12017-06-12 16:55:44 +010031include $(CLEAR_VARS)
Colin Cross6bc905a2017-10-09 13:55:50 -070032LOCAL_MODULE := tzlookup.xml
Neil Fuller35467e12017-06-12 16:55:44 +010033LOCAL_IS_HOST_MODULE := true
34LOCAL_SRC_FILES := tzlookup.xml
35LOCAL_MODULE_CLASS := ETC
36LOCAL_MODULE_TAGS := optional
37LOCAL_MODULE_STEM := $(LOCAL_SRC_FILES)
38LOCAL_MODULE_PATH := $(HOST_OUT)/usr/share/zoneinfo
39include $(BUILD_PREBUILT)
40
41endif