blob: 8660971b911b26067507612859e5fdece6e10476 [file]
// 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 {
default_team: "trendy_team_system_ui_please_use_a_more_specific_subteam_if_possible_",
// 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: "PlatformComposeSceneTransitionLayout",
manifest: "AndroidManifest.xml",
srcs: [
"src/**/*.kt",
],
resource_dirs: [
"res",
],
static_libs: [
"//frameworks/libs/systemui/mechanics:mechanics",
"PlatformComposeCore",
"PlatformComposeCore_tunable",
"SystemUI-compile-constants",
"androidx.activity_activity",
"androidx.activity_activity-compose",
"androidx.annotation_annotation",
"androidx.collection_collection",
"androidx.compose.animation_animation",
"androidx.compose.animation_animation-core",
"androidx.compose.foundation_foundation",
"androidx.compose.foundation_foundation-layout",
"androidx.compose.material3_material3",
"androidx.compose.runtime_runtime",
"androidx.compose.runtime_runtime-annotation",
"androidx.compose.ui_ui",
"androidx.compose.ui_ui-geometry",
"androidx.compose.ui_ui-graphics",
"androidx.compose.ui_ui-text",
"androidx.compose.ui_ui-unit",
"androidx.compose.ui_ui-util",
"androidx.lifecycle_lifecycle-common",
"androidx.lifecycle_lifecycle-runtime",
"androidx.lifecycle_lifecycle-runtime-compose",
"com.android.tunable",
"com_android_scenetransitionlayout_flags_lib",
"com_android_systemui_flags_lib",
"kotlinx_coroutines",
"libprotobuf-java-lite",
],
libs: [
"SceneTransitionLayoutDelicateApiLib",
],
kotlincflags: [
"-P plugin:androidx.compose.compiler.plugins.kotlin:sourceInformation=true",
"-Xjvm-default=all",
],
use_resource_processor: true,
strict_deps: "error",
}