summaryrefslogtreecommitdiff
path: root/tools/edit_monitor/utils.py
diff options
context:
space:
mode:
author Colin Cross <ccross@android.com> 2024-10-17 11:49:05 -0700
committer Colin Cross <ccross@android.com> 2024-10-21 04:20:57 +0000
commit3394e2f22a20418b6983248b1d0a4a25f726a7ba (patch)
treed9c380a54edd77cd2b27c6f7d6156bdae56b2b0f /tools/edit_monitor/utils.py
parentde392e175a5c1473ab60294d95361bf851f04887 (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 I20d5605a3154bf51d64132ac1d8ea427eda32066 with a fix to also apply -nostdlibinc to vendor modules defined in Android.mk files. Bug: 374130155 Test: builds Flag: EXEMPT refactor Change-Id: I90bedfe00d4fd1f4d94f562e5fe65da55ae16e07
Diffstat (limited to 'tools/edit_monitor/utils.py')
0 files changed, 0 insertions, 0 deletions