diff options
author | Chris Parsons <cparsons@google.com> | 2015-10-20 17:39:26 +0000 |
---|---|---|
committer | Han-Wen Nienhuys <hanwen@google.com> | 2015-10-21 14:34:57 +0000 |
commit | e90d67e3b3e6e209551df40c97df6837ad35c4ba (patch) | |
tree | afa88925026442e2b363a4db6aeba519e6291566 /tools | |
parent | 0f1b51ec02055de47dc91255d13f7f9133776264 (diff) |
Include memleaks plugin support for experimental_ios_test
--
MOS_MIGRATED_REVID=105876178
Diffstat (limited to 'tools')
-rw-r--r-- | tools/BUILD | 1 | ||||
-rw-r--r-- | tools/objc/BUILD | 5 | ||||
-rw-r--r-- | tools/objc/memleaks/BUILD | 11 | ||||
-rw-r--r-- | tools/objc/memleaks/memleaks_stub | 7 | ||||
-rw-r--r-- | tools/objc/memleaks_plugin_stub | 7 |
5 files changed, 31 insertions, 0 deletions
diff --git a/tools/BUILD b/tools/BUILD index 8413b3df8a..3dde096c6b 100644 --- a/tools/BUILD +++ b/tools/BUILD @@ -14,6 +14,7 @@ filegroup( "//tools/cpp:srcs", "//tools/j2objc:srcs", "//tools/objc:srcs", + "//tools/objc/memleaks:srcs", "//tools/test:srcs", "//tools/python:srcs", ], diff --git a/tools/objc/BUILD b/tools/objc/BUILD index 46b0e4766c..897eac6ec9 100644 --- a/tools/objc/BUILD +++ b/tools/objc/BUILD @@ -46,6 +46,11 @@ filegroup( srcs = [":testrunner_stub"], ) +filegroup( + name = "memleaks_plugin", + srcs = [":memleaks_plugin_stub"], +) + sh_binary( name = "ibtoolwrapper", srcs = [":ibtoolwrapper.sh"], diff --git a/tools/objc/memleaks/BUILD b/tools/objc/memleaks/BUILD new file mode 100644 index 0000000000..3cfe42f405 --- /dev/null +++ b/tools/objc/memleaks/BUILD @@ -0,0 +1,11 @@ +package(default_visibility = ["//visibility:public"]) + +filegroup( + name = "memleaks", + srcs = [":memleaks_stub"], +) + +filegroup( + name = "srcs", + srcs = glob(["**"]), +) diff --git a/tools/objc/memleaks/memleaks_stub b/tools/objc/memleaks/memleaks_stub new file mode 100644 index 0000000000..9e6a18f5db --- /dev/null +++ b/tools/objc/memleaks/memleaks_stub @@ -0,0 +1,7 @@ +#!/bin/bash + +( + printf 'Bazel does not yet support memleaks detection for ios_tests.\n' +) >&2 + +exit 1 diff --git a/tools/objc/memleaks_plugin_stub b/tools/objc/memleaks_plugin_stub new file mode 100644 index 0000000000..9e6a18f5db --- /dev/null +++ b/tools/objc/memleaks_plugin_stub @@ -0,0 +1,7 @@ +#!/bin/bash + +( + printf 'Bazel does not yet support memleaks detection for ios_tests.\n' +) >&2 + +exit 1 |