Switch to prebuilt bison

Bug: 8517572
Change-Id: Iad91b1db9472712899c4b46e2a8da5ba34ccb1cd
This commit is contained in:
Ying Wang 2013-04-05 18:02:16 -07:00
parent ca95750801
commit 854be68363
1 changed files with 10 additions and 3 deletions

View File

@ -275,8 +275,15 @@ endif
# ---------------------------------------------------------------
# Generic tools.
LEX:= flex
YACC:= bison -d
LEX := flex
# 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
# BISON_PKGDATADIR.
BISON_PKGDATADIR := $(PWD)/external/bison/data
BISON := prebuilts/misc/$(HOST_PREBUILT_TAG)/bison/bison
YACC := $(BISON) -d
DOXYGEN:= doxygen
AAPT := $(HOST_OUT_EXECUTABLES)/aapt$(HOST_EXECUTABLE_SUFFIX)
AIDL := $(HOST_OUT_EXECUTABLES)/aidl$(HOST_EXECUTABLE_SUFFIX)
@ -449,4 +456,4 @@ RS_PREBUILT_CLCORE := prebuilts/sdk/renderscript/lib/$(TARGET_ARCH)/libclcore.bc
RS_PREBUILT_LIBPATH := -L prebuilts/ndk/8/platforms/android-9/arch-$(TARGET_ARCH)/usr/lib
RS_PREBUILT_COMPILER_RT := prebuilts/sdk/renderscript/lib/$(TARGET_ARCH)/libcompiler_rt.a
include $(BUILD_SYSTEM)/dumpvar.mk
include $(BUILD_SYSTEM)/dumpvar.mk