Fix ARM build when not running tests on device

Change-Id: Ib1110355cdc3fe4065922a1efa3a4d8b39169dd7
This commit is contained in:
Keir Mierle 2019-12-16 11:36:22 -08:00 committed by CQ Bot Account
parent 30bc80d8f6
commit e2f5d0f1b2

View File

@ -17,9 +17,15 @@ import("$dir_pw_unit_test/test.gni")
# By default, Pigweed will build this target when invoking ninja.
group("default") {
deps = [
":pw_module_tests_run",
"$dir_pigweed/docs",
]
if (pw_automatic_test_runner == "") {
# Without a test runner defined, build the tests but don't run them.
deps += [ ":pw_module_tests" ]
} else {
# With a test runner, depend on the run targets so they run with the build.
deps += [ ":pw_module_tests_run" ]
}
}
group("pw_facades") {