frameworks/base/services/tests/servicestests/jni no longer exists after I993eeaa5dec001c39389023f355f506129b356e7, remove it. Test: m -j FrameworksServicesTests Change-Id: I8f307373aede9e749f1b992dde0f7252bf74b065
57 lines
1.5 KiB
Makefile
57 lines
1.5 KiB
Makefile
#########################################################################
|
|
# Build FrameworksNotificationTests package
|
|
#########################################################################
|
|
|
|
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
# We only want this apk build for tests.
|
|
LOCAL_MODULE_TAGS := tests
|
|
|
|
# Include test java files and source from notifications package.
|
|
LOCAL_SRC_FILES := $(call all-java-files-under, src) \
|
|
$(call all-java-files-under, ../../core/java/com/android/server/notification)
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES := \
|
|
frameworks-base-testutils \
|
|
services.accessibility \
|
|
services.core \
|
|
services.devicepolicy \
|
|
services.net \
|
|
services.retaildemo \
|
|
services.usage \
|
|
guava \
|
|
android-support-test \
|
|
mockito-target-minus-junit4 \
|
|
platform-test-annotations
|
|
|
|
LOCAL_JAVA_LIBRARIES := android.test.runner
|
|
|
|
LOCAL_PACKAGE_NAME := FrameworksNotificationTests
|
|
|
|
LOCAL_CERTIFICATE := platform
|
|
|
|
# These are not normally accessible from apps so they must be explicitly included.
|
|
LOCAL_JNI_SHARED_LIBRARIES := \
|
|
libbacktrace \
|
|
libbase \
|
|
libbinder \
|
|
libc++ \
|
|
libcutils \
|
|
liblog \
|
|
liblzma \
|
|
libnativehelper \
|
|
libnetdaidl \
|
|
libui \
|
|
libunwind \
|
|
libutils
|
|
|
|
LOCAL_ADDITIONAL_DEPENDENCIES := $(LOCAL_PATH)/Android.mk
|
|
|
|
# Code coverage puts us over the dex limit, so enable multi-dex for coverage-enabled builds
|
|
ifeq (true,$(EMMA_INSTRUMENT))
|
|
LOCAL_JACK_FLAGS := --multi-dex native
|
|
endif # EMMA_INSTRUMENT_STATIC
|
|
|
|
include $(BUILD_PACKAGE)
|