summaryrefslogtreecommitdiffstats
path: root/tools/signtos/Android.mk
diff options
context:
space:
mode:
authorKenny Root <kroot@google.com>2014-08-08 13:18:53 -0700
committerKenny Root <kroot@google.com>2014-08-08 13:18:53 -0700
commit9221ce6705f83b365366534949b25cfc93cb750b (patch)
tree177dc176cdbf845bfaf08538de66f74654804c46 /tools/signtos/Android.mk
parent6dbbb15997d2cf032b098a33f65387fcd36d478a (diff)
downloadbuild-9221ce6705f83b365366534949b25cfc93cb750b.zip
build-9221ce6705f83b365366534949b25cfc93cb750b.tar.gz
build-9221ce6705f83b365366534949b25cfc93cb750b.tar.bz2
Add SignTos tool
Change-Id: Iac7db75cda383e333a55236c3678cd56f8245d6e
Diffstat (limited to 'tools/signtos/Android.mk')
-rw-r--r--tools/signtos/Android.mk25
1 files changed, 25 insertions, 0 deletions
diff --git a/tools/signtos/Android.mk b/tools/signtos/Android.mk
new file mode 100644
index 0000000..94ab944
--- /dev/null
+++ b/tools/signtos/Android.mk
@@ -0,0 +1,25 @@
+#
+# Copyright (C) 2014 The Android Open Source Project
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+LOCAL_PATH := $(call my-dir)
+
+# the signtos tool - signs Trusty images
+# ============================================================
+include $(CLEAR_VARS)
+LOCAL_MODULE := signtos
+LOCAL_SRC_FILES := SignTos.java
+LOCAL_JAR_MANIFEST := SignTos.mf
+LOCAL_STATIC_JAVA_LIBRARIES := bouncycastle-host bouncycastle-bcpkix-host
+include $(BUILD_HOST_JAVA_LIBRARY)