Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
halo
libcore
Commits
e3b37c28
Commit
e3b37c28
authored
9 years ago
by
Przemyslaw Szczepaniak
Committed by
Narayan Kamath
9 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Update makefiles to deal with ICU4J related changes.
Change-Id: I3dfbf6b417a883165421b79748ae0bc5bdb4ee1e
parent
bf07204b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
32 deletions
+2
-32
JavaLibrary.mk
JavaLibrary.mk
+1
-31
NativeCode.mk
NativeCode.mk
+1
-1
No files found.
JavaLibrary.mk
View file @
e3b37c28
...
...
@@ -67,33 +67,6 @@ local_javac_flags=-encoding UTF-8
local_javac_flags
+=
-Xmaxwarns
9999999
#
# ICU4J related rules.
#
# We compile icu4j along with core-libart because we're implementing parts of core-libart
# in terms of icu4j.
icu4j_root
:=
../external/icu/icu4j/
icu4j_src_files
:=
$(
call
all-java-files-under,
$(icu4j_root)
/main/classes
)
# Filter out bits of ICU4J we don't use yet : the SPIs (which we have limited support for),
# and the charset encoders
icu4j_src_files
:=
$(
filter-out
$(icu4j_root)
/main/classes/localespi/%,
$(icu4j_src_files)
)
icu4j_src_files
:=
$(
filter-out
$(icu4j_root)
/main/classes/charset/%,
$(icu4j_src_files)
)
# Not all src dirs contain resources, some instead contain other random files
# that should not be included as resources. The ones that should be included
# can be identifed by the fact that they contain particular subdir trees.
#
define
all-icu-subdir-with-subdir
$(patsubst
$(LOCAL_PATH)/%/$(2),%,$(wildcard
$(LOCAL_PATH)/$(1)/$(2)))
endef
icu4j_resource_dirs
:=
$(
call
all-icu-subdir-with-subdir,
$(icu4j_root)
/main/classes/
*
/src,com/ibm/icu
)
icu4j_resource_dirs
:=
$(
filter-out
$(icu4j_root)
/main/classes/localespi/%,
$(icu4j_resource_dirs)
)
icu4j_resource_dirs
:=
$(
filter-out
$(icu4j_root)
/main/classes/charset/%,
$(icu4j_resource_dirs)
)
#
# ICU4J related rules.
#
...
...
@@ -194,7 +167,6 @@ include $(BUILD_JAVA_LIBRARY)
# Definitions to make the core library.
include
$(CLEAR_VARS)
LOCAL_SRC_FILES
:=
$(non_openjdk_java_files)
$(icu4j_src_files)
LOCAL_JAVA_RESOURCE_DIRS
:=
$(icu4j_resource_dirs)
LOCAL_NO_STANDARD_LIBRARIES
:=
true
LOCAL_JAVACFLAGS
:=
$(local_javac_flags)
LOCAL_DX_FLAGS
:=
--core-library
...
...
@@ -208,7 +180,6 @@ endif
LOCAL_ADDITIONAL_DEPENDENCIES
+=
$(LOCAL_PATH)
/JavaLibrary.mk
LOCAL_JAVA_LIBRARIES
:=
core-all-unobfuscated
LOCAL_CORE_LIBRARY
:=
true
LOCAL_JARJAR_RULES
:=
$(LOCAL_PATH)
/jarjar-rules.txt
LOCAL_REQUIRED_MODULES
:=
tzdata
LOCAL_JARJAR_RULES
:=
$(LOCAL_PATH)
/jarjar-rules.txt
include
$(BUILD_JAVA_LIBRARY)
...
...
@@ -277,7 +248,7 @@ include $(BUILD_HOST_JAVA_LIBRARY)
include
$(CLEAR_VARS)
LOCAL_SRC_FILES
:=
$(non_openjdk_java_files)
$(openjdk_java_files)
$(icu4j_src_files)
LOCAL_JAVA_RESOURCE_DIRS
:=
$(core_resource_dirs)
$(icu4j_resource_dirs)
LOCAL_JAVA_RESOURCE_DIRS
:=
$(core_resource_dirs)
LOCAL_NO_STANDARD_LIBRARIES
:=
true
LOCAL_JAVACFLAGS
:=
$(local_javac_flags)
LOCAL_DX_FLAGS
:=
--core-library
...
...
@@ -308,7 +279,6 @@ include $(BUILD_HOST_DALVIK_JAVA_LIBRARY)
# Definitions to make the core library.
include
$(CLEAR_VARS)
LOCAL_SRC_FILES
:=
$(non_openjdk_java_files)
$(icu4j_src_files)
LOCAL_JAVA_RESOURCE_DIRS
:=
$(icu4j_resource_dirs)
LOCAL_NO_STANDARD_LIBRARIES
:=
true
LOCAL_JAVACFLAGS
:=
$(local_javac_flags)
LOCAL_DX_FLAGS
:=
--core-library
...
...
This diff is collapsed.
Click to expand it.
NativeCode.mk
View file @
e3b37c28
...
...
@@ -123,7 +123,7 @@ LOCAL_SHARED_LIBRARIES += libart libnativehelper libdl
LOCAL_STATIC_LIBRARIES
:=
$(core_static_libraries)
libfdlibm
LOCAL_MODULE_TAGS
:=
optional
LOCAL_MODULE
:=
libxxavacore
include
external/stlport/libstlport.mk
LOCAL_CXX_STL
:=
libc++
include
$(BUILD_SHARED_LIBRARY)
# Test JNI library.
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment