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