• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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    default_applicable_licenses: ["frameworks_native_license"],
17    default_team: "trendy_team_android_core_graphics_stack",
18}
19
20android_app {
21    name: "BufferStreamsDemoApp",
22    srcs: ["java/**/*.kt"],
23    sdk_version: "current",
24
25    jni_uses_platform_apis: true,
26    jni_libs: ["libbufferstreamdemoapp"],
27    use_embedded_native_libs: true,
28    kotlincflags: [
29        "-opt-in=androidx.compose.material3.ExperimentalMaterial3Api",
30    ],
31    optimize: {
32        proguard_flags_files: ["proguard-rules.pro"],
33    },
34
35    resource_dirs: ["res"],
36
37    static_libs: [
38        "androidx.activity_activity-compose",
39        "androidx.appcompat_appcompat",
40        "androidx.compose.foundation_foundation",
41        "androidx.compose.material3_material3",
42        "androidx.compose.runtime_runtime",
43        "androidx.compose.ui_ui",
44        "androidx.compose.ui_ui-graphics",
45        "androidx.compose.ui_ui-tooling-preview",
46        "androidx.core_core-ktx",
47        "androidx.lifecycle_lifecycle-runtime-ktx",
48        "androidx.navigation_navigation-common-ktx",
49        "androidx.navigation_navigation-compose",
50        "androidx.navigation_navigation-fragment-ktx",
51        "androidx.navigation_navigation-runtime-ktx",
52        "androidx.navigation_navigation-ui-ktx",
53    ],
54}
55