Project

General

Profile

build-allow-using-host-flex-binary.patch

My Self, 01/12/2016 10:45 PM

Download (1.41 KB)

View differences:

core/config.mk
410 410
JILL_JAR := $(HOST_OUT_JAVA_LIBRARIES)/jill.jar
411 411
JACK_MULTIDEX_DEFAULT_PREPROCESSOR := frameworks/multidex/library/resources/JACK-INF/legacyMultidexInstallation.jpp
412 412

  
413
LEX := prebuilts/misc/$(BUILD_OS)-$(HOST_PREBUILT_ARCH)/flex/flex-2.5.39
413
ifeq ($(USE_HOST_LEX),yes)
414
    LEX := flex
415
else
416
    LEX := prebuilts/misc/$(BUILD_OS)-$(HOST_PREBUILT_ARCH)/flex/flex-2.5.39
417
endif
414 418
# The default PKGDATADIR built in the prebuilt bison is a relative path
415 419
# external/bison/data.
416 420
# To run bison from elsewhere you need to set up enviromental variable
417
-