summaryrefslogtreecommitdiff
path: root/filesystem/filesystem_test.go
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2024-10-17 11:41:28 -0700
committer Colin Cross <ccross@android.com> 2024-10-21 04:22:29 +0000
commit0e097dd2bbe6fc7a03a1bb953b265fbe2f1a5045 (patch)
treec6eeb06e11c6f484d12e9497bbb864f50d98319b /filesystem/filesystem_test.go
parent177994b492e303d1df67b48d51724dfa916560f6 (diff)
Use --sysroot when compiling against the NDK
Match the NDK build by using --sysroot to point to the NDK headers rather than manually specifying the include directories with -isystem. Also remove --nostdlibinc from the global cflags so it is not used for NDK builds, and manually add it back for non-NDK builds. This relands I42ed714ba534d8ce252609bf618d4e3433875f28 with a fix to also apply -nostdlibinc to rust bindgen compilations. Bug: 374130155 Test: all NDK modules build Test: TestIncludeDirectoryOrdering Flag: EXEMPT refactor Change-Id: Ib809ca2790b6a62f52e5492a67767b49c25fd702
Diffstat (limited to 'filesystem/filesystem_test.go')
0 files changed, 0 insertions, 0 deletions