Inform the kernel via configfs, of userids that should be excluded when an app is not installed for them. Also push userid to remove_userid when a user is removed so that the exclude list of that user can be cleaned up in one command for all packages. Test: runtest -x ....KernelPackageMappingTests.java Change-Id: Ib94b1a0b737f45b2d03deb9650f0f0eb68e363d9
21 lines
459 B
Makefile
21 lines
459 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
include $(CLEAR_VARS)
|
|
|
|
# We only want this apk build for tests.
|
|
LOCAL_MODULE_TAGS := tests
|
|
|
|
# Include all test java files.
|
|
LOCAL_SRC_FILES := \
|
|
$(call all-java-files-under, src)
|
|
|
|
LOCAL_STATIC_JAVA_LIBRARIES := \
|
|
android-support-test \
|
|
frameworks-base-testutils
|
|
|
|
LOCAL_JAVA_LIBRARIES := android.test.runner
|
|
LOCAL_PACKAGE_NAME := FrameworksCorePackageManagerTests
|
|
|
|
LOCAL_CERTIFICATE := platform
|
|
|
|
include $(BUILD_PACKAGE)
|