am c3b2314a: am a37550ed: Merge "Use prebuilt flex."

* commit 'c3b2314a58e8d6f90766db2ef82303bafcefb766':
  Use prebuilt flex.
This commit is contained in:
Ying Wang 2014-05-06 18:46:10 +00:00 committed by Android Git Automerger
commit bf4cdb49a3

View file

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