summaryrefslogtreecommitdiff
path: root/rust/coverage_test.go
diff options
context:
space:
mode:
author Spandan Das <spandandas@google.com> 2023-09-05 23:02:27 +0000
committer Spandan Das <spandandas@google.com> 2023-09-06 19:55:42 +0000
commit72b8fcbbec330f2c9f0465a551be287fbe8101f7 (patch)
tree7f6980a3745b6fbc680c8d8af4ebe064816be64c /rust/coverage_test.go
parentca22dfb5d165b075921320d39b2e8bd50e11cd2e (diff)
Use ndk_system STL header library
Soong currently adds -isystem prebuilts/ndk/current/sources/cxx-stl/system/include to modules that have ndk_system STL. This does not translate well to Bazel because of its stricter sandboxing constraints. In preparation for building sdk variants with Bazel, create an indirection where sdk variants that use this STL depend on a `ndk_system` header library module. This should be a no-op in Soong, but the resultant ninja files are not identical. (e.g diff https://diff.googleplex.com/#key=OOLtc1GFmDDF). The -isystem now appears _before_ the local cflags. However, this should be fine because we have a check in `CheckBadCompilerFlags` that bans use of -I/-isystem in user-provided cflags. Test: diff'd ninja file Test: TH Bug: 298258442 Change-Id: I8c4e2b66bb9ac25c44ceedd52298ba474a554a04
Diffstat (limited to 'rust/coverage_test.go')
0 files changed, 0 insertions, 0 deletions