auto import from //branches/cupcake/...@125939
diff --git a/samples/PlatformLibrary/Android.mk b/samples/PlatformLibrary/Android.mk
index d700386..afb54a2 100644
--- a/samples/PlatformLibrary/Android.mk
+++ b/samples/PlatformLibrary/Android.mk
@@ -35,6 +35,23 @@
 include $(BUILD_JAVA_LIBRARY)
 
 # ============================================================
+include $(CLEAR_VARS)
+
+LOCAL_MODULE := com.example.android.platform_library.xml
+
+LOCAL_MODULE_TAGS := samples
+
+LOCAL_MODULE_CLASS := ETC
+
+# This will install the file in /system/etc/permissions
+#
+LOCAL_MODULE_PATH := $(TARGET_OUT_ETC)/permissions
+
+LOCAL_SRC_FILES := $(LOCAL_MODULE)
+
+include $(BUILD_PREBUILT)
+
+# ============================================================
 
 # Also build all of the sub-targets under this one: the library's
 # associated JNI code, and a sample client of the library.