don't build apicheck for PDK builds, removing dependency on doclava
PDK builds have no Java APIs...
Change-Id: I719e0c206234d03a70f3178fd618676f8ee0e6f4
diff --git a/tools/apicheck/Android.mk b/tools/apicheck/Android.mk
index 24f697c..1674a17 100644
--- a/tools/apicheck/Android.mk
+++ b/tools/apicheck/Android.mk
@@ -12,6 +12,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+ifneq ($(TARGET_BUILD_PDK),true)
LOCAL_PATH := $(call my-dir)
# We use copy-file-to-new-target so that the installed
@@ -36,3 +37,4 @@
$(hide) chmod 755 $@
# Apicheck is now part of Doclava -- See external/doclava.
+endif