diff --git a/appops/Android.mk b/appops/Android.mk index 09ba90ba..1551931c 100644 --- a/appops/Android.mk +++ b/appops/Android.mk @@ -1,7 +1,3 @@ -define validate-xml-file - @echo "validating xml: $2" - @xmllint --noout --schema $1 $2 -endef LOCAL_PATH:= $(call my-dir) ####################################### @@ -13,7 +9,8 @@ include $(BUILD_SYSTEM)/base_rules.mk $(LOCAL_BUILT_MODULE): $(LOCAL_PATH)/appops_policy.xml $(APPOPS_POLICY_XSD_FILE) $(ACP) @echo Validating $< - @xmllint --noout --schema $(APPOPS_POLICY_XSD_FILE) $< + @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) #######################################