aboutsummaryrefslogtreecommitdiffstats
path: root/tools/dicttool/Android.mk
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2014-07-29 10:46:38 -0700
committerYing Wang <wangying@google.com>2014-07-29 10:46:38 -0700
commitece7240c7ac09b1448998c202f991d0acd4bab01 (patch)
treeba67ad89a9643357aa9bb77de9f20a08f9502710 /tools/dicttool/Android.mk
parent666f1b384f539c6426b9ee7bd6312005c69a3350 (diff)
downloadlatinime-ece7240c7ac09b1448998c202f991d0acd4bab01.tar.gz
latinime-ece7240c7ac09b1448998c202f991d0acd4bab01.tar.xz
latinime-ece7240c7ac09b1448998c202f991d0acd4bab01.zip
Don't build dicttool unless it's explicitly requested.
It easily breaks the checkbuild. Change-Id: I43b35fade550ff9d64782ea43cb6e3a804424830
Diffstat (limited to 'tools/dicttool/Android.mk')
-rw-r--r--tools/dicttool/Android.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/tools/dicttool/Android.mk b/tools/dicttool/Android.mk
index b108a8a81..e4de59db6 100644
--- a/tools/dicttool/Android.mk
+++ b/tools/dicttool/Android.mk
@@ -13,6 +13,9 @@
# See the License for the specific language governing permissions and
# limitations under the License.
+# Only build if it's explicitly requested, or running mm/mmm.
+ifneq ($(ONE_SHOT_MAKEFILE)$(filter $(MAKECMDGOALS),dicttool_aosp),)
+
# HACK: Temporarily disable host tool build on Mac until the build system is ready for C++11.
LATINIME_HOST_OSNAME := $(shell uname -s)
ifeq ($(LATINIME_HOST_OSNAME), Darwin) # TODO: Remove this
@@ -98,3 +101,5 @@ endif # Darwin - TODO: Remove this
LATINIME_DICTTOOL_AOSP_LOCAL_PATH :=
LATINIME_LOCAL_DIR :=
LATINIME_HOST_OSNAME :=
+
+endif