forked from openkylin/platform_build
Merge "Build: Move LOCAL_ERROR_PRONE_FLAGS"
This commit is contained in:
commit
304be2ec74
|
@ -58,11 +58,6 @@ include $(BUILD_SYSTEM)/java_common.mk
|
|||
# Run build/make/tools/java-layers.py for more details.
|
||||
layers_file := $(addprefix $(LOCAL_PATH)/, $(LOCAL_JAVA_LAYERS_FILE))
|
||||
|
||||
# If error prone is enabled then add LOCAL_ERROR_PRONE_FLAGS to LOCAL_JAVACFLAGS
|
||||
ifeq ($(RUN_ERROR_PRONE),true)
|
||||
LOCAL_JAVACFLAGS += $(LOCAL_ERROR_PRONE_FLAGS)
|
||||
endif
|
||||
|
||||
# List of dependencies for anything that needs all java sources in place
|
||||
java_sources_deps := \
|
||||
$(java_sources) \
|
||||
|
|
|
@ -48,3 +48,8 @@ endif
|
|||
|
||||
LOCAL_INTERMEDIATE_SOURCE_DIR := $(intermediates.COMMON)/src
|
||||
LOCAL_JAVA_LIBRARIES := $(sort $(LOCAL_JAVA_LIBRARIES))
|
||||
|
||||
# If error prone is enabled then add LOCAL_ERROR_PRONE_FLAGS to LOCAL_JAVACFLAGS
|
||||
ifeq ($(RUN_ERROR_PRONE),true)
|
||||
LOCAL_JAVACFLAGS += $(LOCAL_ERROR_PRONE_FLAGS)
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue