diff options
author | Dario Freni <dariofreni@google.com> | 2018-12-28 08:48:58 -0800 |
---|---|---|
committer | android-build-merger <android-build-merger@google.com> | 2018-12-28 08:48:58 -0800 |
commit | 12fd86921bde25388a096c2fdcc79f54f45fb853 (patch) | |
tree | b654b25d09e4285ae5b79e18f142db48a3269cd3 | |
parent | f2f1aa742f47282e082e3b8483ae7236c2d61b9f (diff) | |
parent | 57e6db79f83d0f2e5c1a253c120866dda4cb927d (diff) | |
download | ModuleMetadata-12fd86921bde25388a096c2fdcc79f54f45fb853.tar.gz |
Merge "Add a ModuleMetadata package."
am: 57e6db79f8
Change-Id: Ibf1d45afbbb78cb70fd8a0ac867f2cd222308ef1
-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> |