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