blob: 5b3ec30bd550a83e2c0b88cbc5743262a9295f7a [file] [log] [blame]
Carlos Martinez Romero529fa062023-09-15 18:34:06 +00001// 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
John Reck38bc8a82024-02-21 17:08:27 -050015package {
16 default_applicable_licenses: ["frameworks_native_license"],
17 default_team: "trendy_team_android_core_graphics_stack",
18}
19
Carlos Martinez Romero529fa062023-09-15 18:34:06 +000020android_app {
21 name: "BufferStreamsDemoApp",
Carlos Martinez Romero4b01c0a2023-10-10 16:24:51 +000022 srcs: ["java/**/*.kt"],
Carlos Martinez Romero529fa062023-09-15 18:34:06 +000023 sdk_version: "current",
24
25 jni_uses_platform_apis: true,
26 jni_libs: ["libbufferstreamdemoapp"],
27 use_embedded_native_libs: true,
Carlos Martinez Romero4b01c0a2023-10-10 16:24:51 +000028 kotlincflags: [
29 "-opt-in=androidx.compose.material3.ExperimentalMaterial3Api",
30 ],
Carlos Martinez Romero5f02ef62023-11-21 12:46:45 -080031 optimize: {
32 proguard_flags_files: ["proguard-rules.pro"],
33 },
Carlos Martinez Romero4b01c0a2023-10-10 16:24:51 +000034
35 resource_dirs: ["res"],
Carlos Martinez Romero529fa062023-09-15 18:34:06 +000036
37 static_libs: [
Carlos Martinez Romero4b01c0a2023-10-10 16:24:51 +000038 "androidx.activity_activity-compose",
Carlos Martinez Romero529fa062023-09-15 18:34:06 +000039 "androidx.appcompat_appcompat",
Carlos Martinez Romero4b01c0a2023-10-10 16:24:51 +000040 "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",
Carlos Martinez Romero529fa062023-09-15 18:34:06 +000053 ],
54}