| Geremy Condra | 649fd55 | 2013-10-21 20:34:13 +0000 | [diff] [blame] | 1 | LOCAL_PATH:= $(call my-dir) |
| 2 | |
| 3 | include $(CLEAR_VARS) |
| 4 | LOCAL_MODULE := generate_verity_key |
| 5 | LOCAL_SRC_FILES := generate_verity_key.c |
| 6 | LOCAL_MODULE_CLASS := EXECUTABLES |
| 7 | LOCAL_MODULE_TAGS := optional |
| 8 | LOCAL_SHARED_LIBRARIES := libcrypto-host |
| 9 | LOCAL_C_INCLUDES += external/openssl/include |
| 10 | include $(BUILD_HOST_EXECUTABLE) |
| 11 | |
| Geremy Condra | 649fd55 | 2013-10-21 20:34:13 +0000 | [diff] [blame] | 12 | include $(CLEAR_VARS) |
| Geremy Condra | cee5bfd | 2014-06-11 13:38:45 -0700 | [diff] [blame] | 13 | LOCAL_SRC_FILES := VeritySigner.java Utils.java |
| Geremy Condra | 649fd55 | 2013-10-21 20:34:13 +0000 | [diff] [blame] | 14 | LOCAL_MODULE := VeritySigner |
| 15 | LOCAL_JAR_MANIFEST := VeritySigner.mf |
| 16 | LOCAL_MODULE_TAGS := optional |
| Doug Zongker | 260fe11 | 2014-06-10 13:45:24 -0700 | [diff] [blame] | 17 | LOCAL_STATIC_JAVA_LIBRARIES := bouncycastle-host |
| Geremy Condra | 649fd55 | 2013-10-21 20:34:13 +0000 | [diff] [blame] | 18 | include $(BUILD_HOST_JAVA_LIBRARY) |
| 19 | |
| 20 | include $(CLEAR_VARS) |
| Geremy Condra | cee5bfd | 2014-06-11 13:38:45 -0700 | [diff] [blame] | 21 | LOCAL_SRC_FILES := BootSignature.java VeritySigner.java Utils.java |
| 22 | LOCAL_MODULE := BootSignature |
| 23 | LOCAL_JAR_MANIFEST := BootSignature.mf |
| 24 | LOCAL_MODULE_TAGS := optional |
| 25 | LOCAL_STATIC_JAVA_LIBRARIES := bouncycastle-host |
| 26 | include $(BUILD_HOST_JAVA_LIBRARY) |
| 27 | |
| 28 | include $(CLEAR_VARS) |
| 29 | LOCAL_SRC_FILES := BootSignature.java KeystoreSigner.java Utils.java |
| 30 | LOCAL_MODULE := BootKeystoreSigner |
| 31 | LOCAL_JAR_MANIFEST := KeystoreSigner.mf |
| 32 | LOCAL_MODULE_TAGS := optional |
| 33 | LOCAL_STATIC_JAVA_LIBRARIES := bouncycastle-host |
| 34 | include $(BUILD_HOST_JAVA_LIBRARY) |
| 35 | |
| 36 | include $(CLEAR_VARS) |
| Geremy Condra | 649fd55 | 2013-10-21 20:34:13 +0000 | [diff] [blame] | 37 | LOCAL_SRC_FILES := verity_signer |
| 38 | LOCAL_MODULE := verity_signer |
| 39 | LOCAL_MODULE_CLASS := EXECUTABLES |
| 40 | LOCAL_IS_HOST_MODULE := true |
| 41 | LOCAL_MODULE_TAGS := optional |
| Colin Cross | f9fd34f | 2014-04-28 16:28:25 -0700 | [diff] [blame] | 42 | LOCAL_REQUIRED_MODULES := VeritySigner |
| Geremy Condra | 649fd55 | 2013-10-21 20:34:13 +0000 | [diff] [blame] | 43 | include $(BUILD_PREBUILT) |
| 44 | |
| 45 | include $(CLEAR_VARS) |
| Geremy Condra | cee5bfd | 2014-06-11 13:38:45 -0700 | [diff] [blame] | 46 | LOCAL_SRC_FILES := boot_signer |
| 47 | LOCAL_MODULE := boot_signer |
| Geremy Condra | 649fd55 | 2013-10-21 20:34:13 +0000 | [diff] [blame] | 48 | LOCAL_MODULE_CLASS := EXECUTABLES |
| 49 | LOCAL_IS_HOST_MODULE := true |
| 50 | LOCAL_MODULE_TAGS := optional |
| Geremy Condra | f6a6ddb | 2014-07-10 13:21:45 -0700 | [diff] [blame^] | 51 | LOCAL_REQUIRED_MODULES := BootSignature |
| Geremy Condra | cee5bfd | 2014-06-11 13:38:45 -0700 | [diff] [blame] | 52 | include $(BUILD_PREBUILT) |
| 53 | |
| 54 | include $(CLEAR_VARS) |
| 55 | LOCAL_SRC_FILES := keystore_signer |
| 56 | LOCAL_MODULE := keystore_signer |
| 57 | LOCAL_MODULE_CLASS := EXECUTABLES |
| 58 | LOCAL_IS_HOST_MODULE := true |
| 59 | LOCAL_MODULE_TAGS := optional |
| 60 | LOCAL_REQUIRED_MODULES := KeystoreSigner |
| Geremy Condra | 649fd55 | 2013-10-21 20:34:13 +0000 | [diff] [blame] | 61 | include $(BUILD_PREBUILT) |
| 62 | |
| 63 | include $(CLEAR_VARS) |
| 64 | LOCAL_MODULE := build_verity_metadata.py |
| 65 | LOCAL_MODULE_CLASS := EXECUTABLES |
| 66 | LOCAL_SRC_FILES := build_verity_metadata.py |
| 67 | LOCAL_IS_HOST_MODULE := true |
| 68 | LOCAL_MODULE_TAGS := optional |
| 69 | include $(BUILD_PREBUILT) |
| Colin Cross | 724396e | 2014-04-17 14:09:23 -0700 | [diff] [blame] | 70 | |
| 71 | include $(CLEAR_VARS) |
| 72 | LOCAL_MODULE := build_verity_tree |
| 73 | LOCAL_SRC_FILES := build_verity_tree.cpp |
| 74 | LOCAL_MODULE_TAGS := optional |
| 75 | LOCAL_STATIC_LIBRARIES := libsparse_host libz |
| 76 | LOCAL_SHARED_LIBRARIES := libcrypto-host |
| 77 | LOCAL_C_INCLUDES := external/openssl/include |
| 78 | LOCAL_CFLAGS += -Wall -Werror |
| 79 | include $(BUILD_HOST_EXECUTABLE) |