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 15LOCAL_PATH:= $(call my-dir) 16 17# Proto library 18include $(CLEAR_VARS) 19LOCAL_MODULE := countryzonesprotos 20LOCAL_PROTOC_OPTIMIZE_TYPE := full 21LOCAL_PROTOC_FLAGS := -Iexternal/protobuf/src 22LOCAL_SOURCE_FILES_ALL_GENERATED := true 23LOCAL_SRC_FILES := $(call all-proto-files-under, src/main/proto) 24include $(BUILD_HOST_JAVA_LIBRARY) 25 26# A static library for the tzlookup_generator host tool. 27# The tool can be run with java -jar tzlookup_generator.jar 28include $(CLEAR_VARS) 29LOCAL_MODULE := tzlookup_generator 30LOCAL_MODULE_TAGS := optional 31LOCAL_JAR_MANIFEST := src/main/manifest/MANIFEST.mf 32LOCAL_SRC_FILES := $(call all-java-files-under, src/main/java) 33LOCAL_JAVACFLAGS := -encoding UTF-8 34LOCAL_STATIC_JAVA_LIBRARIES := \ 35 icu4j-host \ 36 countryzonesprotos \ 37 libprotobuf-java-full 38include $(BUILD_HOST_JAVA_LIBRARY) 39