Disable seccomp policy for configstore hal on coverage builds.

Test: lunch walleye_coverage-userdebug && make
      verify configstore@1.0.policy is not generated.

Change-Id: Iad1f55fe10c2c77a3ca56418ec315e10ab71753f
This commit is contained in:
Zhuoyao Zhang
2018-01-05 13:41:19 -08:00
parent c0204ee13d
commit 207e97c735

View File

@@ -3,7 +3,10 @@ LOCAL_PATH := $(call my-dir)
################################################################################
include $(CLEAR_VARS)
LOCAL_MODULE := android.hardware.configstore@1.0-service
# seccomp is not required for coverage build.
ifneq ($(NATIVE_COVERAGE),true)
LOCAL_REQUIRED_MODULES_arm64 := configstore@1.0.policy
endif
LOCAL_PROPRIETARY_MODULE := true
LOCAL_MODULE_CLASS := EXECUTABLES
LOCAL_MODULE_RELATIVE_PATH := hw