Use prebuilt flex.

Bug: 14446414
Change-Id: I07fe8d7f246de853e5bae17286834268e36d260c
This commit is contained in:
Ying Wang 2014-05-05 18:34:57 -07:00
parent 57df0c7bf5
commit fb1236a9a8

View file

@ -336,7 +336,7 @@ endif
# ---------------------------------------------------------------
# Generic tools.
LEX := flex
LEX := prebuilts/misc/$(BUILD_OS)-$(BUILD_ARCH)/flex/flex-2.5.39$(HOST_EXECUTABLE_SUFFIX)
# The default PKGDATADIR built in the prebuilt bison is a relative path
# external/bison/data.
# To run bison from elsewhere you need to set up enviromental variable
@ -394,8 +394,6 @@ else
COLUMN:= column
endif
OLD_FLEX := prebuilts/misc/$(HOST_PREBUILT_TAG)/flex/flex-2.5.4a$(HOST_EXECUTABLE_SUFFIX)
ifeq ($(HOST_OS),darwin)
ifeq ($(LEGACY_USE_JAVA6),)
HOST_JDK_TOOLS_JAR:= $(shell $(BUILD_SYSTEM)/find-jdk-tools-jar.sh)