xref: /aosp_15_r20/development/samples/SceneTransitionLayoutDemo/Android.bp (revision 90c8c64db3049935a07c6143d7fd006e26f8ecca)
1// Copyright (C) 2023 The Android Open Source Project
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//      http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15package {
16    // See: http://go/android-license-faq
17    default_applicable_licenses: ["Android-Apache-2.0"],
18}
19
20android_library {
21    name: "PlatformComposeSceneTransitionLayoutDemoLib",
22
23    sdk_version: "current",
24    manifest: "AndroidManifest.xml",
25
26    srcs: [
27        "src/**/*.kt",
28    ],
29
30    static_libs: [
31        "PlatformComposeSceneTransitionLayout",
32        "androidx.compose.runtime_runtime",
33        "androidx.compose.material3_material3",
34        "androidx.compose.material3_material3-window-size-class",
35        "androidx.compose.material_material-icons-extended",
36        "androidx.window_window",
37    ],
38
39    kotlincflags: ["-Xjvm-default=all"],
40    use_resource_processor: true,
41}
42
43android_app {
44    name: "PlatformComposeSceneTransitionLayoutDemo",
45    defaults: [
46        "platform_app_defaults",
47        "SystemUI_optimized_defaults",
48    ],
49
50    sdk_version: "current",
51    manifest: "app/AndroidManifest.xml",
52
53    static_libs: [
54        "PlatformComposeSceneTransitionLayoutDemoLib",
55    ],
56
57    dxflags: ["--multi-dex"],
58    use_resource_processor: true,
59}
60