Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9e26d5ae authored by Jihoon Kang's avatar Jihoon Kang
Browse files

Define recovery resources prebuilt_res modules

resource files in res-*/images/ directory are selectively installed
based on the logic defined in make. This change defines the modules in
each directory to migrate the installation logic from make to soong in
the long term.

Test: m nothing
Bug: 381888358
Change-Id: Ieb49dd25224c41522b08c52edbc6f4c7f332b013
parent 78d309ba
Loading
Loading
Loading
Loading

res-hdpi/Android.bp

0 → 100644
+26 −0
Original line number Diff line number Diff line
//
// Copyright (C) 2024 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.
//

prebuilt_res {
    name: "recovery-resources-common-hdpi",
    recovery: true,
    install_in_root: true,
    relative_install_path: "images",
    srcs: [
        "images/*.png",
    ],
    no_full_install: true,
}

res-mdpi/Android.bp

0 → 100644
+26 −0
Original line number Diff line number Diff line
//
// Copyright (C) 2024 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.
//

prebuilt_res {
    name: "recovery-resources-common-mdpi",
    recovery: true,
    install_in_root: true,
    relative_install_path: "images",
    srcs: [
        "images/*.png",
    ],
    no_full_install: true,
}

res-xhdpi/Android.bp

0 → 100644
+26 −0
Original line number Diff line number Diff line
//
// Copyright (C) 2024 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.
//

prebuilt_res {
    name: "recovery-resources-common-xhdpi",
    recovery: true,
    install_in_root: true,
    relative_install_path: "images",
    srcs: [
        "images/*.png",
    ],
    no_full_install: true,
}

res-xxhdpi/Android.bp

0 → 100644
+26 −0
Original line number Diff line number Diff line
//
// Copyright (C) 2024 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.
//

prebuilt_res {
    name: "recovery-resources-common-xxhdpi",
    recovery: true,
    install_in_root: true,
    relative_install_path: "images",
    srcs: [
        "images/*.png",
    ],
    no_full_install: true,
}

res-xxxhdpi/Android.bp

0 → 100644
+26 −0
Original line number Diff line number Diff line
//
// Copyright (C) 2024 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.
//

prebuilt_res {
    name: "recovery-resources-common-xxxhdpi",
    recovery: true,
    install_in_root: true,
    relative_install_path: "images",
    srcs: [
        "images/*.png",
    ],
    no_full_install: true,
}