am 98892291: am 3afc688a: Merge "javac: rename common_flags to avoid conflictions"

* commit '9889229133470c89acfb0083f8d5c62c29ea1d4e':
  javac: rename common_flags to avoid conflictions
This commit is contained in:
Ying Wang 2014-05-09 16:50:05 +00:00 committed by Android Git Automerger
commit 96e487b262
1 changed files with 4 additions and 4 deletions

View File

@ -10,9 +10,9 @@
#
ifneq ($(LEGACY_USE_JAVA6),)
common_flags := -target 1.5 -Xmaxerrs 9999999
common_jdk_flags := -target 1.5 -Xmaxerrs 9999999
else
common_flags := -source 1.7 -target 1.7 -Xmaxerrs 9999999
common_jdk_flags := -source 1.7 -target 1.7 -Xmaxerrs 9999999
endif
# Use the indexer wrapper to index the codebase instead of the javac compiler
@ -25,9 +25,9 @@ endif
# Whatever compiler is on this system.
ifeq ($(BUILD_OS), windows)
COMMON_JAVAC := development/host/windows/prebuilt/javawrap.exe -J-Xmx256m \
$(common_flags)
$(common_jdk_flags)
else
COMMON_JAVAC := $(JAVACC) -J-Xmx1024M $(common_flags)
COMMON_JAVAC := $(JAVACC) -J-Xmx1024M $(common_jdk_flags)
endif
# Eclipse.