@@ -62,7 +62,6 @@ ifneq ($(EMMA_INSTRUMENT_STATIC),true)
62
62
endif
63
63
endif
64
64
65
- libdvm_core_src_files += $(common_core_src_files ) $(call all-main-java-files-under,libdvm)
66
65
libart_core_src_files += $(common_core_src_files ) $(call all-main-java-files-under,libart)
67
66
68
67
local_javac_flags =-encoding UTF-8
@@ -75,18 +74,6 @@ local_javac_flags+=-Xmaxwarns 9999999
75
74
76
75
# Definitions to make the core library.
77
76
78
- include $(CLEAR_VARS )
79
- LOCAL_SRC_FILES := $(libdvm_core_src_files )
80
- LOCAL_JAVA_RESOURCE_DIRS := $(core_resource_dirs )
81
- LOCAL_NO_STANDARD_LIBRARIES := true
82
- LOCAL_JAVACFLAGS := $(local_javac_flags )
83
- LOCAL_DX_FLAGS := --core-library
84
- LOCAL_MODULE_TAGS := optional
85
- LOCAL_MODULE := core
86
- LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH ) /JavaLibrary.mk
87
- LOCAL_REQUIRED_MODULES := tzdata
88
- include $(BUILD_JAVA_LIBRARY )
89
-
90
77
include $(CLEAR_VARS )
91
78
LOCAL_SRC_FILES := $(libart_core_src_files )
92
79
LOCAL_JAVA_RESOURCE_DIRS := $(core_resource_dirs )
@@ -108,7 +95,7 @@ include $(CLEAR_VARS)
108
95
LOCAL_SRC_FILES := $(test_src_files )
109
96
LOCAL_JAVA_RESOURCE_DIRS := $(test_resource_dirs )
110
97
LOCAL_NO_STANDARD_LIBRARIES := true
111
- LOCAL_JAVA_LIBRARIES := bouncycastle core core-junit okhttp
98
+ LOCAL_JAVA_LIBRARIES := bouncycastle core-libart core-junit okhttp
112
99
LOCAL_STATIC_JAVA_LIBRARIES := core-tests-support sqlite-jdbc mockwebserver nist-pkix-tests
113
100
LOCAL_JAVACFLAGS := $(local_javac_flags )
114
101
LOCAL_MODULE := core-tests
@@ -122,7 +109,7 @@ include $(CLEAR_VARS)
122
109
LOCAL_SRC_FILES := $(call all-test-java-files-under,support)
123
110
LOCAL_JAVA_RESOURCE_DIRS := $(test_resource_dirs )
124
111
LOCAL_NO_STANDARD_LIBRARIES := true
125
- LOCAL_JAVA_LIBRARIES := bouncycastle core core-junit
112
+ LOCAL_JAVA_LIBRARIES := bouncycastle core-libart core-junit
126
113
LOCAL_JAVACFLAGS := $(local_javac_flags )
127
114
LOCAL_MODULE := core-tests-support
128
115
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH ) /JavaLibrary.mk
@@ -135,7 +122,7 @@ include $(CLEAR_VARS)
135
122
LOCAL_SRC_FILES := $(call all-test-java-files-under, jsr166-tests)
136
123
LOCAL_JAVA_RESOURCE_DIRS := $(test_resource_dirs )
137
124
LOCAL_NO_STANDARD_LIBRARIES := true
138
- LOCAL_JAVA_LIBRARIES := core core-junit
125
+ LOCAL_JAVA_LIBRARIES := core-libart core-junit
139
126
LOCAL_JAVACFLAGS := $(local_javac_flags )
140
127
LOCAL_MODULE := jsr166-tests
141
128
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH ) /JavaLibrary.mk
@@ -168,18 +155,6 @@ LOCAL_MODULE := dex-host
168
155
include $(BUILD_HOST_JAVA_LIBRARY )
169
156
170
157
# Definitions to make the core library.
171
- include $(CLEAR_VARS )
172
- LOCAL_SRC_FILES := $(libdvm_core_src_files )
173
- LOCAL_JAVA_RESOURCE_DIRS := $(core_resource_dirs )
174
- LOCAL_NO_STANDARD_LIBRARIES := true
175
- LOCAL_JAVACFLAGS := $(local_javac_flags )
176
- LOCAL_DX_FLAGS := --core-library
177
- LOCAL_MODULE_TAGS := optional
178
- LOCAL_MODULE := core-hostdex
179
- LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH ) /JavaLibrary.mk
180
- LOCAL_REQUIRED_MODULES := tzdata-host
181
- include $(BUILD_HOST_DALVIK_JAVA_LIBRARY )
182
-
183
158
include $(CLEAR_VARS )
184
159
LOCAL_SRC_FILES := $(libart_core_src_files )
185
160
LOCAL_JAVA_RESOURCE_DIRS := $(core_resource_dirs )
0 commit comments