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

[Impeller] Fail GN when building an enabled Impeller backend is impossible. #40772

Merged
merged 1 commit into from
Mar 30, 2023
Merged
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
3 changes: 3 additions & 0 deletions impeller/renderer/backend/BUILD.gn
Original file line number Diff line number Diff line change
Expand Up @@ -8,14 +8,17 @@ group("backend") {
public_deps = []

if (impeller_enable_metal) {
assert(is_mac || is_ios)
public_deps += [ "metal" ]
}

if (impeller_enable_opengles) {
assert(is_mac || is_linux || is_win || is_android)
public_deps += [ "gles" ]
}

if (impeller_enable_vulkan) {
assert(is_mac || is_linux || is_win || is_android)
public_deps += [ "vulkan" ]
}
}