17 lines
548 B
Makefile
17 lines
548 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
#######################################
|
|
|
|
include $(CLEAR_VARS)
|
|
LOCAL_MODULE_CLASS := ETC
|
|
LOCAL_MODULE := appops_policy.xml
|
|
APPOPS_POLICY_XSD_FILE := $(LOCAL_PATH)/appops_policy.xsd
|
|
include $(BUILD_SYSTEM)/base_rules.mk
|
|
|
|
$(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/appops_policy.xml $(APPOPS_POLICY_XSD_FILE) $(ACP)
|
|
@echo Validating $<
|
|
@LD_LIBRARY_PATH=/usr/lib/i386-linux-gnu:/usr/lib/x86_64-linux-gnu xmllint \
|
|
--noout --schema $(APPOPS_POLICY_XSD_FILE) $<
|
|
$(copy-file-to-target)
|
|
#######################################
|
|
|