191c98d778c80e53a7f458264233375f982dcae14Neil Fuller# Copyright (C) 2015 The Android Open Source Project 291c98d778c80e53a7f458264233375f982dcae14Neil Fuller# 391c98d778c80e53a7f458264233375f982dcae14Neil Fuller# Licensed under the Apache License, Version 2.0 (the "License"); 491c98d778c80e53a7f458264233375f982dcae14Neil Fuller# you may not use this file except in compliance with the License. 591c98d778c80e53a7f458264233375f982dcae14Neil Fuller# You may obtain a copy of the License at 691c98d778c80e53a7f458264233375f982dcae14Neil Fuller# 791c98d778c80e53a7f458264233375f982dcae14Neil Fuller# http://www.apache.org/licenses/LICENSE-2.0 891c98d778c80e53a7f458264233375f982dcae14Neil Fuller# 991c98d778c80e53a7f458264233375f982dcae14Neil Fuller# Unless required by applicable law or agreed to in writing, software 1091c98d778c80e53a7f458264233375f982dcae14Neil Fuller# distributed under the License is distributed on an "AS IS" BASIS, 1191c98d778c80e53a7f458264233375f982dcae14Neil Fuller# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 1291c98d778c80e53a7f458264233375f982dcae14Neil Fuller# See the License for the specific language governing permissions and 1391c98d778c80e53a7f458264233375f982dcae14Neil Fuller# limitations under the License. 1491c98d778c80e53a7f458264233375f982dcae14Neil Fuller 1591c98d778c80e53a7f458264233375f982dcae14Neil FullerLOCAL_PATH:= $(call my-dir) 1691c98d778c80e53a7f458264233375f982dcae14Neil Fuller 1791c98d778c80e53a7f458264233375f982dcae14Neil Fuller# Subprojects with separate makefiles 1891c98d778c80e53a7f458264233375f982dcae14Neil Fullersubdirs := update_test_app 1991c98d778c80e53a7f458264233375f982dcae14Neil Fullersubdir_makefiles := $(call all-named-subdir-makefiles,$(subdirs)) 2091c98d778c80e53a7f458264233375f982dcae14Neil Fuller 2191c98d778c80e53a7f458264233375f982dcae14Neil Fuller# Library of tools classes for tzdata updates. Not required on device, except in tests. 2291c98d778c80e53a7f458264233375f982dcae14Neil Fullerinclude $(CLEAR_VARS) 2391c98d778c80e53a7f458264233375f982dcae14Neil FullerLOCAL_MODULE := tzdata_tools 2491c98d778c80e53a7f458264233375f982dcae14Neil FullerLOCAL_MODULE_TAGS := optional 2591c98d778c80e53a7f458264233375f982dcae14Neil FullerLOCAL_SRC_FILES := $(call all-java-files-under, tools/src/main) 2691c98d778c80e53a7f458264233375f982dcae14Neil FullerLOCAL_JAVACFLAGS := -encoding UTF-8 2791c98d778c80e53a7f458264233375f982dcae14Neil FullerLOCAL_STATIC_JAVA_LIBRARIES := tzdata_update 2891c98d778c80e53a7f458264233375f982dcae14Neil FullerLOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk 2991c98d778c80e53a7f458264233375f982dcae14Neil Fullerinclude $(BUILD_STATIC_JAVA_LIBRARY) 3091c98d778c80e53a7f458264233375f982dcae14Neil Fuller 3191c98d778c80e53a7f458264233375f982dcae14Neil Fuller# Library of support classes for tzdata updates. Shared between update generation and 3291c98d778c80e53a7f458264233375f982dcae14Neil Fuller# on-device code. 3391c98d778c80e53a7f458264233375f982dcae14Neil Fullerinclude $(CLEAR_VARS) 3491c98d778c80e53a7f458264233375f982dcae14Neil FullerLOCAL_MODULE := tzdata_update 3591c98d778c80e53a7f458264233375f982dcae14Neil FullerLOCAL_MODULE_TAGS := optional 3691c98d778c80e53a7f458264233375f982dcae14Neil FullerLOCAL_SRC_FILES := $(call all-java-files-under, update/src/main) 3791c98d778c80e53a7f458264233375f982dcae14Neil FullerLOCAL_JAVACFLAGS := -encoding UTF-8 3891c98d778c80e53a7f458264233375f982dcae14Neil FullerLOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk 3991c98d778c80e53a7f458264233375f982dcae14Neil Fullerinclude $(BUILD_STATIC_JAVA_LIBRARY) 4091c98d778c80e53a7f458264233375f982dcae14Neil Fuller 4191c98d778c80e53a7f458264233375f982dcae14Neil Fuller# Tests for tzdata_update code 4291c98d778c80e53a7f458264233375f982dcae14Neil Fullerinclude $(CLEAR_VARS) 4391c98d778c80e53a7f458264233375f982dcae14Neil FullerLOCAL_MODULE := tzdata_update-tests 4491c98d778c80e53a7f458264233375f982dcae14Neil FullerLOCAL_MODULE_TAGS := optional 4591c98d778c80e53a7f458264233375f982dcae14Neil FullerLOCAL_SRC_FILES := $(call all-java-files-under, update/src/test) 4691c98d778c80e53a7f458264233375f982dcae14Neil FullerLOCAL_JAVACFLAGS := -encoding UTF-8 4791c98d778c80e53a7f458264233375f982dcae14Neil FullerLOCAL_STATIC_JAVA_LIBRARIES := tzdata_update tzdata_tools 4891c98d778c80e53a7f458264233375f982dcae14Neil FullerLOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk 4991c98d778c80e53a7f458264233375f982dcae14Neil Fullerinclude $(BUILD_STATIC_JAVA_LIBRARY) 5091c98d778c80e53a7f458264233375f982dcae14Neil Fuller 5191c98d778c80e53a7f458264233375f982dcae14Neil Fullerinclude $(subdir_makefiles) 52