Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3afc688a authored by Ying Wang's avatar Ying Wang Committed by Gerrit Code Review
Browse files

Merge "javac: rename common_flags to avoid conflictions"

parents afe444a5 c43ab6ed
Loading
Loading
Loading
Loading
+4 −4
Original line number Diff line number Diff line
@@ -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.