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

Commit 3989e8f6 authored by Winson Chung's avatar Winson Chung Committed by Android (Google) Code Review
Browse files

Merge "Add resources for shell/shared" into main

parents 56b5042c 8f64d5cb
Loading
Loading
Loading
Loading
+0 −45
Original line number Diff line number Diff line
@@ -156,51 +156,6 @@ java_library {
    },
}

filegroup {
    name: "wm_shell-shared-utils",
    srcs: [
        "shared/src/com/android/wm/shell/shared/TransitionUtil.java",
    ],
}

filegroup {
    name: "wm_shell-shared-aidls",

    srcs: [
        "shared/**/*.aidl",
    ],

    path: "shared/src",
}

java_library {
    name: "WindowManager-Shell-shared",

    srcs: [
        "shared/**/*.java",
        "shared/**/*.kt",
        ":wm_shell-shared-aidls",
    ],
    static_libs: [
        "androidx.core_core-animation",
        "androidx.dynamicanimation_dynamicanimation",
        "jsr330",
    ],
    kotlincflags: ["-Xjvm-default=all"],
}

java_library {
    name: "WindowManager-Shell-shared-desktopMode",

    srcs: [
        "shared/**/desktopmode/*.java",
        "shared/**/desktopmode/*.kt",
    ],
    static_libs: [
        "com.android.window.flags.window-aconfig-java",
    ],
}

android_library {
    name: "WindowManager-Shell",
    srcs: [
+78 −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.

package {
    // See: http://go/android-license-faq
    // A large-scale-change added 'default_applicable_licenses' to import
    // all of the 'license_kinds' from "frameworks_base_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_base_license"],
    default_team: "trendy_team_multitasking_windowing",
}

filegroup {
    name: "wm_shell-shared-utils",
    srcs: [
        "src/com/android/wm/shell/shared/TransitionUtil.java",
    ],
}

filegroup {
    name: "wm_shell-shared-aidls",

    srcs: [
        "**/*.aidl",
    ],

    path: "src",
}

// NOTE: This shared lib is built with various apps and should not
//       contain resources that can be overlaid, as they would need
//       to be overlaid in each app individually.
android_library {
    name: "WindowManager-Shell-shared",

    resource_dirs: [
        "res",
    ],
    srcs: [
        "**/*.java",
        "**/*.kt",
        ":wm_shell-shared-aidls",
    ],
    static_libs: [
        "androidx.core_core-animation",
        "androidx.dynamicanimation_dynamicanimation",
        "jsr330",
    ],
    kotlincflags: ["-Xjvm-default=all"],
    use_resource_processor: true,
}

// NOTE: This shared lib is built with various apps and should not
//       contain resources that can be overlaid, as they would need
//       to be overlaid in each app individually.
java_library {
    name: "WindowManager-Shell-shared-desktopMode",

    srcs: [
        "**/desktopmode/*.java",
        "**/desktopmode/*.kt",
    ],
    static_libs: [
        "com.android.window.flags.window-aconfig-java",
    ],
}
+19 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
     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.
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
    package="com.android.wm.shell.shared">
</manifest>
+18 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!--
    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.
-->
<resources>
</resources>
 No newline at end of file