summaryrefslogtreecommitdiff
path: root/java/generated_java_library.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-17 14:06:42 -0700
commit2757bb749ec635265dc2b4a55bb475133f605579 (patch)
treea6b3fd122163d1b850ee671e5ec69b8e870fba73 /java/generated_java_library.go
parentdd81e67ec12d2716ff4e2699b9cdb7a0b8dbe3ec (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. Bug: 374130155 Test: all NDK modules build Test: TestIncludeDirectoryOrdering Flag: EXEMPT refactor Change-Id: I42ed714ba534d8ce252609bf618d4e3433875f28
Diffstat (limited to 'java/generated_java_library.go')
0 files changed, 0 insertions, 0 deletions