Add a script to reduce source files to required set

Running build/strip_cmakelists.sh will attempt to build the CMake
project files with each line that contains a
comment iteratively removed. This allows to minimize the number of
required source files. In particular LLVM is considerably larger than
necessary and will be minimized in the following change.

Bug: b/129772660
Change-Id: I5c062a2643b79ba444b82737f23bc0c104044f07
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/28254
Tested-by: Nicolas Capens <nicolascapens@google.com>
Kokoro-Presubmit: kokoro <noreply+kokoro@google.com>
Reviewed-by: Ben Clayton <bclayton@google.com>
diff --git a/build/strip_cmakelists.sh b/build/strip_cmakelists.sh
new file mode 100755
index 0000000..161fd3d
--- /dev/null
+++ b/build/strip_cmakelists.sh
@@ -0,0 +1,2 @@
+cd $(dirname $0)
+go run strip_unneeded.go --file=../CMakeLists.txt --test="cmake -DREACTOR_BACKEND=LLVM -DREACTOR_EMIT_DEBUG_INFO=1 .. && cmake --build ."
\ No newline at end of file