Merge changes I8e432950,Id325b8cf

* changes:
  Build android.test.base/legacy against SDK
  Fix visibility issues with android.test.mock.stubs
This commit is contained in:
Treehugger Robot
2018-02-22 13:39:10 +00:00
committed by Gerrit Code Review
7 changed files with 45 additions and 148 deletions

View File

@@ -31,12 +31,8 @@ java_library {
// Needs to be consistent with the repackaged version of this make target.
java_version: "1.8",
no_framework_libs: true,
sdk_version: "current",
hostdex: true,
libs: [
"framework",
],
}
// Build the legacy-test library
@@ -46,12 +42,9 @@ java_library {
// Also contains the com.android.internal.util.Predicate[s] classes.
java_library {
name: "legacy-test",
static_libs: ["android.test.base"],
no_framework_libs: true,
libs: [
"framework",
],
sdk_version: "current",
static_libs: ["android.test.base"],
}
// Build the repackaged.android.test.base library
@@ -61,11 +54,8 @@ java_library {
java_library_static {
name: "repackaged.android.test.base",
sdk_version: "current",
static_libs: ["android.test.base"],
no_framework_libs: true,
libs: [
"framework",
],
jarjar_rules: "jarjar-rules.txt",
// Pin java_version until jarjar is certified to support later versions. http://b/72703434

View File

@@ -26,10 +26,7 @@ include $(CLEAR_VARS)
LOCAL_SRC_FILES := \
$(call all-java-files-under, src)
LOCAL_JAVA_LIBRARIES := \
core-oj \
core-libart \
framework \
LOCAL_SDK_VERSION := current
LOCAL_MODULE_CLASS := JAVA_LIBRARIES
LOCAL_DROIDDOC_SOURCE_PATH := $(LOCAL_PATH)/src