Merge "Add a ModuleMetadata package."
am: 57e6db79f8

Change-Id: Ibf1d45afbbb78cb70fd8a0ac867f2cd222308ef1
diff --git a/Android.bp b/Android.bp
new file mode 100644
index 0000000..4fef128
--- /dev/null
+++ b/Android.bp
@@ -0,0 +1,21 @@
+//
+// Copyright (C) 2018 The Android Open Source Project
+//
+// Licensed under the Apache License, Version 2.0 (the "License");
+// you may not use this file except in compliance with the License.
+// You may obtain a copy of the License at
+//
+//      http://www.apache.org/licenses/LICENSE-2.0
+//
+// Unless required by applicable law or agreed to in writing, software
+// distributed under the License is distributed on an "AS IS" BASIS,
+// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+// See the License for the specific language governing permissions and
+// limitations under the License.
+//
+
+android_app {
+    name: "ModuleMetadata",
+    sdk_version: "28",
+    installable: false,
+}
\ No newline at end of file
diff --git a/AndroidManifest.xml b/AndroidManifest.xml
new file mode 100644
index 0000000..918fc63
--- /dev/null
+++ b/AndroidManifest.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="utf-8"?>
+<!-- Copyright (C) 2018 The Android Open Source Project
+
+     Licensed under the Apache License, Version 2.0 (the "License");
+     you may not use this file except in compliance with the License.
+     You may obtain a copy of the License at
+
+          http://www.apache.org/licenses/LICENSE-2.0
+
+     Unless required by applicable law or agreed to in writing, software
+     distributed under the License is distributed on an "AS IS" BASIS,
+     WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+     See the License for the specific language governing permissions and
+     limitations under the License.
+-->
+<manifest xmlns:android="http://schemas.android.com/apk/res/android"
+        package="com.android.modulemetadata">
+    <application android:name=".ModuleMetadataApplication"
+                 android:label="@string/app_name">
+        <meta-data android:name="android.content.pm.MODULE_METADATA"
+                   android:resource="@xml/module_metadata" />
+    </application>
+</manifest>
diff --git a/res/values/strings.xml b/res/values/strings.xml
new file mode 100644
index 0000000..2bb349b
--- /dev/null
+++ b/res/values/strings.xml
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="utf-8"?>
+<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
+  <string name="app_name">Module Metadata</string>
+
+  <!-- Module names go here -->
+</resources>
diff --git a/res/xml/module_metadata.xml b/res/xml/module_metadata.xml
new file mode 100644
index 0000000..e066161
--- /dev/null
+++ b/res/xml/module_metadata.xml
@@ -0,0 +1,2 @@
+<module-metadata xmlns:android="https://schemas.android.com/apk/res/android">
+</module-metadata>