Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4255)

Unified Diff: chrome/test/data/safe_browsing/mach_o/Makefile

Issue 2934373002: Record Code Signature of Downloaded DMG files (Closed)
Patch Set: addressing comments Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/test/data/safe_browsing/mach_o/Makefile
diff --git a/chrome/test/data/safe_browsing/mach_o/Makefile b/chrome/test/data/safe_browsing/mach_o/Makefile
index 199685ba4be827136bd1cbccc42a0a523b0cfa34..56da65ebc9cd1ea7c3e88f8d7d032a4385151596 100644
--- a/chrome/test/data/safe_browsing/mach_o/Makefile
+++ b/chrome/test/data/safe_browsing/mach_o/Makefile
@@ -58,6 +58,10 @@ signedexecutablefat: executablefat codesign.keychain
codesign -s $(KEYCHAIN_IDENTITY) --keychain $(PWD)/codesign.keychain \
$@ --all-architectures
+signed-archive.dmg: codesign.keychain
+ hdiutil create -srcfolder base-bundle.app -format UDZO -layout SPUD -volname "Signed Archive" -ov $@
+ codesign -f -s $(KEYCHAIN_IDENTITY) --keychain $(PWD)/codesign.keychain $@
+
.PHONY: test-bundle.app
test-bundle.app: signedexecutablefat libsigned64.dylib executable32
ditto base-bundle.app $@

Powered by Google App Engine
This is Rietveld 408576698