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

Commit 905c7f76 authored by Jordan Demeulenaere's avatar Jordan Demeulenaere
Browse files

Move SceneTransitionLayout test utils to a separate library (1/2)

Bug: 300242309
Test: atest PlatformComposeSceneTransitionLayoutTests
Change-Id: I89655c285c56fcf6292d2abcd79c8a3ac3945dbd
parent 9c6b8fee
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -34,6 +34,7 @@ android_test {

    static_libs: [
        "PlatformComposeSceneTransitionLayout",
        "PlatformComposeSceneTransitionLayoutTestsUtils",

        "androidx.test.runner",
        "androidx.test.ext.junit",
+40 −0
Original line number Diff line number Diff line
// Copyright (C) 2023 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_packages_SystemUI_license"
    // to get the below license kinds:
    //   SPDX-license-identifier-Apache-2.0
    default_applicable_licenses: ["frameworks_base_packages_SystemUI_license"],
}

android_library {
    name: "PlatformComposeSceneTransitionLayoutTestsUtils",
    manifest: "AndroidManifest.xml",

    srcs: [
        "src/**/*.kt",
    ],

    static_libs: [
        "PlatformComposeSceneTransitionLayout",
        "androidx.compose.runtime_runtime",
        "androidx.compose.ui_ui-test-junit4",
    ],

    kotlincflags: ["-Xjvm-default=all"],
    use_resource_processor: true,
}
+19 −0
Original line number Diff line number Diff line
<?xml version="1.0" encoding="utf-8"?>
<!-- Copyright (C) 2023 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.compose.animation.scene.tests.utils" >
</manifest>
 No newline at end of file
+0 −0

File moved.

+0 −0

File moved.