Switch the java encoding from ascii to utf8.
Change-Id: Iee0972df68b44fc8c653812cf165b57350a7ec5d
This commit is contained in:
@@ -1426,7 +1426,7 @@ $(hide) if [ -d "$(PRIVATE_SOURCE_INTERMEDIATES_DIR)" ]; then \
|
|||||||
fi
|
fi
|
||||||
$(hide) tr ' ' '\n' < $(PRIVATE_CLASS_INTERMEDIATES_DIR)/java-source-list \
|
$(hide) tr ' ' '\n' < $(PRIVATE_CLASS_INTERMEDIATES_DIR)/java-source-list \
|
||||||
| sort -u > $(PRIVATE_CLASS_INTERMEDIATES_DIR)/java-source-list-uniq
|
| sort -u > $(PRIVATE_CLASS_INTERMEDIATES_DIR)/java-source-list-uniq
|
||||||
$(hide) $(1) -encoding ascii \
|
$(hide) $(1) -encoding UTF-8 \
|
||||||
$(strip $(PRIVATE_JAVAC_DEBUG_FLAGS)) \
|
$(strip $(PRIVATE_JAVAC_DEBUG_FLAGS)) \
|
||||||
$(if $(findstring true,$(LOCAL_WARNINGS_ENABLE)),$(xlint_unchecked),) \
|
$(if $(findstring true,$(LOCAL_WARNINGS_ENABLE)),$(xlint_unchecked),) \
|
||||||
$(2) \
|
$(2) \
|
||||||
@@ -1468,7 +1468,7 @@ $(hide) tr ' ' '\n' < $(PRIVATE_CLASS_INTERMEDIATES_DIR)/java-source-list \
|
|||||||
@echo "(Incremental) build source files:"
|
@echo "(Incremental) build source files:"
|
||||||
@cat $(PRIVATE_CLASS_INTERMEDIATES_DIR)/java-source-list-uniq
|
@cat $(PRIVATE_CLASS_INTERMEDIATES_DIR)/java-source-list-uniq
|
||||||
$(hide) if [ -s $(PRIVATE_CLASS_INTERMEDIATES_DIR)/java-source-list-uniq ] ; then \
|
$(hide) if [ -s $(PRIVATE_CLASS_INTERMEDIATES_DIR)/java-source-list-uniq ] ; then \
|
||||||
$(1) -encoding ascii \
|
$(1) -encoding UTF-8 \
|
||||||
$(strip $(PRIVATE_JAVAC_DEBUG_FLAGS)) \
|
$(strip $(PRIVATE_JAVAC_DEBUG_FLAGS)) \
|
||||||
$(if $(findstring true,$(LOCAL_WARNINGS_ENABLE)),$(xlint_unchecked),) \
|
$(if $(findstring true,$(LOCAL_WARNINGS_ENABLE)),$(xlint_unchecked),) \
|
||||||
$(2) \
|
$(2) \
|
||||||
|
Reference in New Issue
Block a user