Carlos Martinez Romero | 529fa06 | 2023-09-15 18:34:06 +0000 | [diff] [blame] | 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 | |
| 15 | android_app { |
| 16 | name: "BufferStreamsDemoApp", |
Carlos Martinez Romero | 4b01c0a | 2023-10-10 16:24:51 +0000 | [diff] [blame] | 17 | srcs: ["java/**/*.kt"], |
Carlos Martinez Romero | 529fa06 | 2023-09-15 18:34:06 +0000 | [diff] [blame] | 18 | sdk_version: "current", |
| 19 | |
| 20 | jni_uses_platform_apis: true, |
| 21 | jni_libs: ["libbufferstreamdemoapp"], |
| 22 | use_embedded_native_libs: true, |
Carlos Martinez Romero | 4b01c0a | 2023-10-10 16:24:51 +0000 | [diff] [blame] | 23 | kotlincflags: [ |
| 24 | "-opt-in=androidx.compose.material3.ExperimentalMaterial3Api", |
| 25 | ], |
Carlos Martinez Romero | 5f02ef6 | 2023-11-21 12:46:45 -0800 | [diff] [blame] | 26 | optimize: { |
| 27 | proguard_flags_files: ["proguard-rules.pro"], |
| 28 | }, |
Carlos Martinez Romero | 4b01c0a | 2023-10-10 16:24:51 +0000 | [diff] [blame] | 29 | |
| 30 | resource_dirs: ["res"], |
Carlos Martinez Romero | 529fa06 | 2023-09-15 18:34:06 +0000 | [diff] [blame] | 31 | |
| 32 | static_libs: [ |
Carlos Martinez Romero | 4b01c0a | 2023-10-10 16:24:51 +0000 | [diff] [blame] | 33 | "androidx.activity_activity-compose", |
Carlos Martinez Romero | 529fa06 | 2023-09-15 18:34:06 +0000 | [diff] [blame] | 34 | "androidx.appcompat_appcompat", |
Carlos Martinez Romero | 4b01c0a | 2023-10-10 16:24:51 +0000 | [diff] [blame] | 35 | "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 Romero | 529fa06 | 2023-09-15 18:34:06 +0000 | [diff] [blame] | 48 | ], |
| 49 | } |