am a37550ed: Merge "Use prebuilt flex."

* commit 'a37550edd39b3520839251b2a4acceca779a8a8b':
  Use prebuilt flex.
This commit is contained in:
Ying Wang 2014-05-06 18:43:28 +00:00 committed by Android Git Automerger
commit c3b2314a58
1 changed files with 1 additions and 3 deletions

View File

@ -351,7 +351,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
@ -409,8 +409,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)