summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorJoe Onorato <joeo@google.com>2011-05-31 18:21:07 -0700
committerJoe Onorato <joeo@google.com>2011-05-31 18:21:07 -0700
commit149dd914b8799d67b8c4a6fb502b44058a3e14b8 (patch)
treea353fc8c884cf088a117483c7a3856d97d4fbd05 /core
parentf7ad63ae65f75e5aa0d0a8234feddacdace95df0 (diff)
downloadbuild-149dd914b8799d67b8c4a6fb502b44058a3e14b8.zip
build-149dd914b8799d67b8c4a6fb502b44058a3e14b8.tar.gz
build-149dd914b8799d67b8c4a6fb502b44058a3e14b8.tar.bz2
Switch the java encoding from ascii to utf8.
Change-Id: Iee0972df68b44fc8c653812cf165b57350a7ec5d
Diffstat (limited to 'core')
-rw-r--r--core/definitions.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/definitions.mk b/core/definitions.mk
index 8fb0215..065df78 100644
--- a/core/definitions.mk
+++ b/core/definitions.mk
@@ -1426,7 +1426,7 @@ $(hide) if [ -d "$(PRIVATE_SOURCE_INTERMEDIATES_DIR)" ]; then \
fi
$(hide) tr ' ' '\n' < $(PRIVATE_CLASS_INTERMEDIATES_DIR)/java-source-list \
| sort -u > $(PRIVATE_CLASS_INTERMEDIATES_DIR)/java-source-list-uniq
-$(hide) $(1) -encoding ascii \
+$(hide) $(1) -encoding UTF-8 \
$(strip $(PRIVATE_JAVAC_DEBUG_FLAGS)) \
$(if $(findstring true,$(LOCAL_WARNINGS_ENABLE)),$(xlint_unchecked),) \
$(2) \
@@ -1468,7 +1468,7 @@ $(hide) tr ' ' '\n' < $(PRIVATE_CLASS_INTERMEDIATES_DIR)/java-source-list \
@echo "(Incremental) build source files:"
@cat $(PRIVATE_CLASS_INTERMEDIATES_DIR)/java-source-list-uniq
$(hide) if [ -s $(PRIVATE_CLASS_INTERMEDIATES_DIR)/java-source-list-uniq ] ; then \
- $(1) -encoding ascii \
+ $(1) -encoding UTF-8 \
$(strip $(PRIVATE_JAVAC_DEBUG_FLAGS)) \
$(if $(findstring true,$(LOCAL_WARNINGS_ENABLE)),$(xlint_unchecked),) \
$(2) \