forked from openkylin/platform_build
am 96e487b2: am 98892291: am 3afc688a: Merge "javac: rename common_flags to avoid conflictions"
* commit '96e487b262c2d5d7c02d49e29e71895588e15549': javac: rename common_flags to avoid conflictions
This commit is contained in:
commit
38e49504ef
|
@ -10,9 +10,9 @@
|
||||||
#
|
#
|
||||||
|
|
||||||
ifneq ($(LEGACY_USE_JAVA6),)
|
ifneq ($(LEGACY_USE_JAVA6),)
|
||||||
common_flags := -target 1.5 -Xmaxerrs 9999999
|
common_jdk_flags := -target 1.5 -Xmaxerrs 9999999
|
||||||
else
|
else
|
||||||
common_flags := -source 1.7 -target 1.7 -Xmaxerrs 9999999
|
common_jdk_flags := -source 1.7 -target 1.7 -Xmaxerrs 9999999
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Use the indexer wrapper to index the codebase instead of the javac compiler
|
# Use the indexer wrapper to index the codebase instead of the javac compiler
|
||||||
|
@ -25,9 +25,9 @@ endif
|
||||||
# Whatever compiler is on this system.
|
# Whatever compiler is on this system.
|
||||||
ifeq ($(BUILD_OS), windows)
|
ifeq ($(BUILD_OS), windows)
|
||||||
COMMON_JAVAC := development/host/windows/prebuilt/javawrap.exe -J-Xmx256m \
|
COMMON_JAVAC := development/host/windows/prebuilt/javawrap.exe -J-Xmx256m \
|
||||||
$(common_flags)
|
$(common_jdk_flags)
|
||||||
else
|
else
|
||||||
COMMON_JAVAC := $(JAVACC) -J-Xmx1024M $(common_flags)
|
COMMON_JAVAC := $(JAVACC) -J-Xmx1024M $(common_jdk_flags)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# Eclipse.
|
# Eclipse.
|
||||||
|
|
Loading…
Reference in New Issue