diff options
author | Dario Freni <dariofreni@google.com> | 2018-12-27 15:26:08 +0000 |
---|---|---|
committer | Gerrit Code Review <noreply-gerritcodereview@google.com> | 2018-12-27 15:26:08 +0000 |
commit | 57e6db79f83d0f2e5c1a253c120866dda4cb927d (patch) | |
tree | b654b25d09e4285ae5b79e18f142db48a3269cd3 | |
parent | 95acb50893a99836df869c50556ca3488d02f3c0 (diff) | |
parent | 4fb840ee2b2a7d9a55f68affe0bb6f554a3a6025 (diff) | |
download | ModuleMetadata-57e6db79f83d0f2e5c1a253c120866dda4cb927d.tar.gz |
Merge "Add a ModuleMetadata package."
-rw-r--r-- | Android.bp | 21 | ||||
-rw-r--r-- | AndroidManifest.xml | 23 | ||||
-rw-r--r-- | res/values/strings.xml | 6 | ||||
-rw-r--r-- | res/xml/module_metadata.xml | 2 |
4 files changed, 52 insertions, 0 deletions
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> |