mirror of
https://fuchsia.googlesource.com/third_party/pigweed.googlesource.com/pigweed/pigweed
synced 2024-09-21 14:16:26 +00:00
Fix ARM build when not running tests on device
Change-Id: Ib1110355cdc3fe4065922a1efa3a4d8b39169dd7
This commit is contained in:
parent
30bc80d8f6
commit
e2f5d0f1b2
8
BUILD.gn
8
BUILD.gn
|
@ -17,9 +17,15 @@ import("$dir_pw_unit_test/test.gni")
|
||||||
# By default, Pigweed will build this target when invoking ninja.
|
# By default, Pigweed will build this target when invoking ninja.
|
||||||
group("default") {
|
group("default") {
|
||||||
deps = [
|
deps = [
|
||||||
":pw_module_tests_run",
|
|
||||||
"$dir_pigweed/docs",
|
"$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") {
|
group("pw_facades") {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user