Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

Made buildroot able to build vulkan validation layers for android #741

Merged
merged 1 commit into from
Jun 7, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions build/config/android/config.gni
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,8 @@ if (is_android) {

# Unused. Required for GN files maintained in other buildroots.
enable_java_templates = false

android_api_level = 22
}

# Host stuff -----------------------------------------------------------------
Expand Down Expand Up @@ -92,9 +94,7 @@ if (is_android) {

# Subdirectories inside android_ndk_root that contain the sysroot for the
# associated platform.
if (current_cpu == "x64" || current_cpu == "arm64") {
android_api_level = 22
} else {
if (current_cpu != "x64" && current_cpu != "arm64") {
android_api_level = 16
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -463,10 +463,12 @@ foreach(layer_info, layers) {
}
if (is_android) {
libs = [
"c++", # Note: C++ added by Flutter.
"log",
"nativewindow",
]
configs -= [ "//build/config/android:hide_all_but_jni_onload" ]
# Note: config edit removed by Flutter
# configs -= [ "//build/config/android:hide_all_but_jni_onload" ]
}
defines += layer_info[3]
}
Expand Down