Turn devicesettings resources into a static library

* In order to make it accessible for blueprint.

Change-Id: I9d8af8d0a5b8e253084adfe85252e275fef45b0e
This commit is contained in:
Pig 2020-12-16 07:41:00 +08:00 committed by Bruno Martins
parent d47a1b1f19
commit fd14363bd3
2 changed files with 52 additions and 0 deletions

31
Android.bp Normal file
View file

@ -0,0 +1,31 @@
//
// Copyright (C) 2020 The LineageOS 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_library {
name: "org.lineageos.settings.resources",
defaults: [
"SettingsLibDefaults",
],
resource_dirs: ["res"],
static_libs: [
"androidx.core_core",
"androidx.preference_preference",
],
sdk_version: "current",
}

21
AndroidManifest.xml Normal file
View file

@ -0,0 +1,21 @@
<!--
Copyright (C) 2020 The LineageOS 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"
xmlns:tools="http://schemas.android.com/tools"
package="org.lineageos.settings.resources">
<application android:hasCode="false" />
</manifest>