From 5dc9abfad26c0eda25950ee8ab70b9db1942e8dc Mon Sep 17 00:00:00 2001 From: Michael Thvedt Date: Mon, 20 Jul 2015 15:10:49 +0000 Subject: Delete unnecessary example PrenotCalculatorInstruments. -- MOS_MIGRATED_REVID=98640520 --- examples/objc/BUILD | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'examples') diff --git a/examples/objc/BUILD b/examples/objc/BUILD index 3480775bc5..61e704b61a 100644 --- a/examples/objc/BUILD +++ b/examples/objc/BUILD @@ -82,29 +82,6 @@ objc_library( datamodels = glob(["PrenotCalculator/DataModel.xcdatamodeld/**"]), ) -# If instruments is supported this genrule should *not timeout* and it should -# produce a screenshot of the PrenotCalculator.ipa in ~ few seconds. -genrule( - name = "PrenotCalculatorInstruments", - srcs = [":PrenotCalculator.ipa"], - outs = ["hello_instruments.png"], - cmd = - # This command expects the PrenotCalculator.ipa as input then unzips - # it into a temporary directory, creates a .js script on the fly - # that captures a screenshot, and finally invokes /usr/bin/instruments - # with the former as arguments. - "unzip -q $(location :PrenotCalculator.ipa) -d $${TMPDIR} ; " + - "echo 'UIATarget.localTarget().delay(5); UIATarget.localTarget().captureScreenWithName(\"hello_instruments\");' > $${TMPDIR}/hello_instruments.js && " + - "/usr/bin/instruments " + - "-t /Applications/Xcode.app/Contents/Applications/Instruments.app/Contents/PlugIns/AutomationInstrument.xrplugin/Contents/Resources/Automation.tracetemplate " + - "-w 'iPhone 5 (8.1 Simulator)' " + - "$${TMPDIR}/Payload/PrenotCalculator.app " + - "-e UIASCRIPT $${TMPDIR}/hello_instruments.js " + - "-e UIARESULTSPATH $${TMPDIR} -v && " + - "cp $${TMPDIR}'/Run 1/hello_instruments.png' $(@)", - tags = ["requires-darwin"], -) - filegroup( name = "srcs", srcs = glob([ -- cgit v1.2.3