diff --git a/impeller/aiks/aiks_unittests.cc b/impeller/aiks/aiks_unittests.cc index 4097a43dca3c4..a9e4b162f36bc 100644 --- a/impeller/aiks/aiks_unittests.cc +++ b/impeller/aiks/aiks_unittests.cc @@ -22,7 +22,6 @@ #include "impeller/entity/contents/conical_gradient_contents.h" #include "impeller/entity/contents/filters/inputs/filter_input.h" #include "impeller/entity/contents/linear_gradient_contents.h" -#include "impeller/entity/contents/scene_contents.h" #include "impeller/entity/contents/solid_color_contents.h" #include "impeller/entity/contents/tiled_texture_contents.h" #include "impeller/geometry/color.h" diff --git a/impeller/entity/contents/scene_contents.h b/impeller/entity/contents/scene_contents.h index 9191728cb972b..b1f443cd7502d 100644 --- a/impeller/entity/contents/scene_contents.h +++ b/impeller/entity/contents/scene_contents.h @@ -4,6 +4,10 @@ #pragma once +#if !IMPELLER_ENABLE_3D +static_assert(false); +#endif + #include #include "impeller/entity/contents/color_source_contents.h"