diff options
author | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 18:28:14 -0800 |
---|---|---|
committer | The Android Open Source Project <initial-contribution@android.com> | 2009-03-03 18:28:14 -0800 |
commit | 05806d7af62e07c6225b2e7103a1b115ecf6c9ad (patch) | |
tree | 4b825dc642cb6eb9a060e54bf8d69288fbee4904 /tools/signapk/test/run | |
parent | 094268cf8cb37b9d904c8a1e3559cdd46d73cf66 (diff) | |
download | build-05806d7af62e07c6225b2e7103a1b115ecf6c9ad.zip build-05806d7af62e07c6225b2e7103a1b115ecf6c9ad.tar.gz build-05806d7af62e07c6225b2e7103a1b115ecf6c9ad.tar.bz2 |
auto import from //depot/cupcake/@135843
Diffstat (limited to 'tools/signapk/test/run')
-rwxr-xr-x | tools/signapk/test/run | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/tools/signapk/test/run b/tools/signapk/test/run deleted file mode 100755 index 4e24625..0000000 --- a/tools/signapk/test/run +++ /dev/null @@ -1,30 +0,0 @@ -#!/usr/bin/make -f - -package := NotePad.apk - -all: out/signed-$(package) - -clean: - rm -rf out - -.PHONY: FORCE - -DSAPARAM := out/dsaparam -$(DSAPARAM): - mkdir -p $(dir $@) - umask 0077 && openssl dsaparam -out $@ 1024 - -%.pem: $(DSAPARAM) FORCE - mkdir -p $(dir $@) - umask 0077 && openssl gendsa -out $@.pk~ $(DSAPARAM) - umask 0077 && openssl pkcs8 -topk8 -nocrypt \ - -in $@.pk~ -out $@.pk - umask 0077 && openssl req -new -x509 -key $@.pk -out $@ -days 1095 \ - -subj "/C=US/ST=California/L=Mountain View/O=Android/OU=Android/CN=Android/emailAddress=android@android.com" - -cert := out/key1.pem -out/signed-$(package): $(package) $(cert) - mkdir -p $(dir $@) - SIGNAPK_DEBUG=1 \ - signapk -input $< -output $@ \ - -key $(cert).pk -cert $(cert) -tempdir out |