1// Copyright (C) 2024 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: ["Android-Apache-2.0"], 17} 18 19filegroup { 20 name: "libcuttlefish_vulkan_samples_default_srcs", 21 srcs: [ 22 "image.cpp", 23 "main.cpp", 24 "sample_base.cpp", 25 ], 26} 27 28cc_library_headers { 29 name: "libcuttlefish_vulkan_samples_default_headers", 30 export_include_dirs: ["."], 31 min_sdk_version: "34", 32 sdk_version: "current", 33} 34 35cc_defaults { 36 name: "libcuttlefish_vulkan_samples_defaults", 37 srcs: [ 38 ":libcuttlefish_vulkan_samples_default_srcs", 39 ], 40 header_libs: [ 41 "libcuttlefish_vulkan_samples_default_headers", 42 "vulkan_headers", 43 ], 44 shared_libs: [ 45 "libandroid", 46 "libc++", 47 "libjnigraphics", 48 "liblog", 49 "libnativehelper", 50 ], 51 static_libs: [ 52 "libbase_ndk", 53 ], 54 whole_static_libs: [ 55 "android_native_app_glue", 56 ], 57 cflags: [ 58 "-DVK_USE_PLATFORM_ANDROID_KHR=1", 59 ], 60 min_sdk_version: "34", 61 sdk_version: "current", 62} 63