 +OPENCV3_CONTRIB_MODULES := \
 +  bgsegm \
 +  face \
-+  optflow \
-+  tracking \
-+  xfeatures2d \
 +  xobjdetect \
 +
 +OPENCV3_3RDPARTY_COMPONENTS := \

+include $(call all-makefiles-under,$(LOCAL_PATH))
diff --git a/apps/traincascade/Android.mk b/apps/traincascade/Android.mk
new file mode 100644
index 0000000..71fef7c
--- /dev/null
+++ b/apps/traincascade/Android.mk
@@ -0,0 +1,19 @@

From f3cba47b930764cd69943f76b02c22a20f1e70b8 Mon Sep 17 00:00:00 2001
From: Michael Vines <mvines@silklabs.com>
Date: Mon, 7 Mar 2016 08:51:20 -0800
Subject: [PATCH] Android.mk

---
 Android.mk                   | 112 +++++++++++++++++++++++++++++++++++++++++++
 apps/traincascade/Android.mk |  19 ++++++++
 opencv.mk                    |  46 ++++++++++++++++++
 3 files changed, 177 insertions(+)
 create mode 100644 Android.mk
 create mode 100644 apps/traincascade/Android.mk
 create mode 100644 opencv.mk

diff --git a/Android.mk b/Android.mk
new file mode 100644
index 000000000..574c68ccd
--- /dev/null
+++ b/Android.mk
@@ -0,0 +1,114 @@
+LOCAL_PATH:= $(call my-dir)
+
+include $(CLEAR_VARS)
