Fix ASTC support for GN build

Defines in BUILD.gn files don't apply transitively to dependencies, so
we have to repeat the SWIFTSHADER_ENABLE_ASTC for the Device
subdirectory.

Note we could also use 'public_configs = [:swiftshader_libvulkan_private_config]'
but this adds more defines and build flags than what we need. Since this
is intended as a temporary workaround anyway, we're keeping it simple.

Bug: b/150600814
Change-Id: Ib06f4a22559ee58114da5841e66e59bfce9aec4a
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/41868
Tested-by: Nicolas Capens <nicolascapens@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
diff --git a/src/Device/BUILD.gn b/src/Device/BUILD.gn
index 23193f6..6a91ea1 100644
--- a/src/Device/BUILD.gn
+++ b/src/Device/BUILD.gn
@@ -72,6 +72,10 @@
     "../../third_party/SPIRV-Headers/include",
   ]
 
+  defines = [
+     "SWIFTSHADER_ENABLE_ASTC",  # TODO(b/150130101)
+  ]
+
   deps = [
     "../../third_party/marl:Marl_headers",
     "../Pipeline:Pipeline_headers",