blob: bb573c596ce0ee9246ecacb7837abfb07e3bd4fc [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
15android_app {
16 name: "BufferStreamsDemoApp",
Carlos Martinez Romero4b01c0a2023-10-10 16:24:51 +000017 srcs: ["java/**/*.kt"],
Carlos Martinez Romero529fa062023-09-15 18:34:06 +000018 sdk_version: "current",
19
20 jni_uses_platform_apis: true,
21 jni_libs: ["libbufferstreamdemoapp"],
22 use_embedded_native_libs: true,
Carlos Martinez Romero4b01c0a2023-10-10 16:24:51 +000023 kotlincflags: [
24 "-opt-in=androidx.compose.material3.ExperimentalMaterial3Api",
25 ],
Carlos Martinez Romero5f02ef62023-11-21 12:46:45 -080026 optimize: {
27 proguard_flags_files: ["proguard-rules.pro"],
28 },
Carlos Martinez Romero4b01c0a2023-10-10 16:24:51 +000029
30 resource_dirs: ["res"],
Carlos Martinez Romero529fa062023-09-15 18:34:06 +000031
32 static_libs: [
Carlos Martinez Romero4b01c0a2023-10-10 16:24:51 +000033 "androidx.activity_activity-compose",
Carlos Martinez Romero529fa062023-09-15 18:34:06 +000034 "androidx.appcompat_appcompat",
Carlos Martinez Romero4b01c0a2023-10-10 16:24:51 +000035 "androidx.compose.foundation_foundation",
36 "androidx.compose.material3_material3",
37 "androidx.compose.runtime_runtime",
38 "androidx.compose.ui_ui",
39 "androidx.compose.ui_ui-graphics",
40 "androidx.compose.ui_ui-tooling-preview",
41 "androidx.core_core-ktx",
42 "androidx.lifecycle_lifecycle-runtime-ktx",
43 "androidx.navigation_navigation-common-ktx",
44 "androidx.navigation_navigation-compose",
45 "androidx.navigation_navigation-fragment-ktx",
46 "androidx.navigation_navigation-runtime-ktx",
47 "androidx.navigation_navigation-ui-ktx",
Carlos Martinez Romero529fa062023-09-15 18:34:06 +000048 ],
49}