1# Copyright (C) 2008 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# signature-tools java library 18# ============================================================ 19include $(CLEAR_VARS) 20 21LOCAL_SRC_FILES := $(call all-java-files-under,src) 22LOCAL_JAVA_RESOURCE_DIRS := templates 23 24LOCAL_MODULE := signature-tools 25LOCAL_JAVA_LIBRARIES := dx dex-tools 26LOCAL_STATIC_JAVA_LIBRARIES := stringtemplate antlr-2.7.7 27LOCAL_CLASSPATH := $(HOST_JDK_TOOLS_JAR) 28 29include $(BUILD_HOST_JAVA_LIBRARY) 30 31# prebuilt stringtemplate.jar 32# ============================================================ 33include $(CLEAR_VARS) 34 35LOCAL_PREBUILT_JAVA_LIBRARIES := stringtemplate:lib/stringtemplate.jar 36 37include $(BUILD_HOST_PREBUILT) 38 39# prebuilt antlr-2.7.7.jar 40# ============================================================ 41include $(CLEAR_VARS) 42 43LOCAL_PREBUILT_JAVA_LIBRARIES := antlr-2.7.7:lib/antlr-2.7.7.jar 44 45include $(BUILD_HOST_PREBUILT) 46 47# signature-tool script 48# ============================================================ 49include $(CLEAR_VARS) 50 51LOCAL_PREBUILT_EXECUTABLES := sig 52include $(BUILD_HOST_PREBUILT) 53 54# signature-create script 55# ============================================================ 56include $(CLEAR_VARS) 57 58LOCAL_PREBUILT_EXECUTABLES := sig-create 59include $(BUILD_HOST_PREBUILT) 60 61# signature-check script 62# ============================================================ 63include $(CLEAR_VARS) 64 65LOCAL_PREBUILT_EXECUTABLES := sig-check 66include $(BUILD_HOST_PREBUILT) 67