Commit de9e6494 by Nicolas Capens Committed by Nicolas Capens

Fix GN build for aarch64

Subzero does not support aarch64, so we should not generate Reactor unit test targets for Subzero on Fuchsia ARM64. Bug: b/173404759 Change-Id: Id6da8b3b4cded8a70855996ee020f55ec1d984e3 Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/50588 Kokoro-Result: kokoro <noreply+kokoro@google.com> Tested-by: 's avatarNicolas Capens <nicolascapens@google.com> Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
parent 1ba1e15e
......@@ -13,41 +13,46 @@
# limitations under the License.
import("//testing/test.gni")
import("../../src/Reactor/reactor.gni")
test("swiftshader_reactor_llvm_unittests") {
deps = [
"//base",
"//base/test:test_support",
"//testing/gmock",
"//testing/gtest",
"//third_party/swiftshader/src/Reactor:swiftshader_llvm_reactor",
]
if (supports_llvm) {
test("swiftshader_reactor_llvm_unittests") {
deps = [
"//base",
"//base/test:test_support",
"//testing/gmock",
"//testing/gtest",
"//third_party/swiftshader/src/Reactor:swiftshader_llvm_reactor",
]
sources = [
"//gpu/swiftshader_tests_main.cc",
"ReactorUnitTests.cpp",
]
sources = [
"//gpu/swiftshader_tests_main.cc",
"ReactorUnitTests.cpp",
]
include_dirs = [
"../../src/Reactor"
]
include_dirs = [
"../../src/Reactor"
]
}
}
test("swiftshader_reactor_subzero_unittests") {
deps = [
"//base",
"//base/test:test_support",
"//testing/gmock",
"//testing/gtest",
"//third_party/swiftshader/src/Reactor:swiftshader_subzero_reactor",
]
if (supports_subzero) {
test("swiftshader_reactor_subzero_unittests") {
deps = [
"//base",
"//base/test:test_support",
"//testing/gmock",
"//testing/gtest",
"//third_party/swiftshader/src/Reactor:swiftshader_subzero_reactor",
]
sources = [
"//gpu/swiftshader_tests_main.cc",
"ReactorUnitTests.cpp",
]
sources = [
"//gpu/swiftshader_tests_main.cc",
"ReactorUnitTests.cpp",
]
include_dirs = [
"../../src/Reactor"
]
include_dirs = [
"../../src/Reactor"
]
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment