Skip to content

Commit ee0ade3

Browse files
ahumeskylberki
authored andcommitted
Hardcodes Linux as the platform for the NDK crosstool unit tests because that's what the test data is based on. Fixes #581.
-- MOS_MIGRATED_REVID=107687820
1 parent 63aa7e8 commit ee0ade3

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/test/java/com/google/devtools/build/lib/bazel/rules/android/ndkcrosstools/AndroidNdkCrosstoolsTest.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,8 @@ public class AndroidNdkCrosstoolsTest {
6161
static {
6262
try {
6363

64-
String hostPlatform = AndroidNdkCrosstools.getHostPlatform(NDK_RELEASE);
64+
// NDK test data is based on the x86 64-bit Linux Android NDK.
65+
String hostPlatform = "linux-x86_64";
6566
NdkPaths ndkPaths = new NdkPaths(
6667
REPOSITORY_NAME,
6768
hostPlatform,

0 commit comments

Comments
 (0)