diff options
author | Michael Thvedt <mthvedt@google.com> | 2015-07-20 15:10:49 +0000 |
---|---|---|
committer | Kristina Chodorow <kchodorow@google.com> | 2015-07-21 15:13:38 -0400 |
commit | 5dc9abfad26c0eda25950ee8ab70b9db1942e8dc (patch) | |
tree | ac037b2feaffbae2e8ddbe075b9062931a537eac | |
parent | 54874d9782c9870045923b2b0b0ff7a0f2a0ceea (diff) |
Delete unnecessary example PrenotCalculatorInstruments.
--
MOS_MIGRATED_REVID=98640520
-rw-r--r-- | examples/objc/BUILD | 23 |
1 files changed, 0 insertions, 23 deletions
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([ |