Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 9cefc57b authored by Henri Chataing's avatar Henri Chataing
Browse files

RootCanal: Get rust executable path from EXECUTABLE_PATH property

Bug: (build error on emulator M1 build)
Test: ./android/rebuild.sh
Change-Id: I17d30340ee28a4a5a5fa3f662ad0efdb92128402
parent 5eae43a1
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ corrosion_set_env_vars(generate-canonical-tests CARGO_HOME=${Rust_CARGO_HOME})
corrosion_set_env_vars(pdl CARGO_HOME=${Rust_CARGO_HOME})
corrosion_set_hostbuild(pdl)

get_property(pdl_EXECUTABLE TARGET pdl PROPERTY IMPORTED_LOCATION_RELEASE)
get_property(pdl_EXECUTABLE TARGET pdl PROPERTY EXECUTABLE_PATH)

# These tests depend on the tempfile crate which was not imported because
# the crate remove_dir_all does not have a compatible version.