summaryrefslogtreecommitdiff
path: root/rust/protobuf_test.go
diff options
context:
space:
mode:
author Cole Faust <colefaust@google.com> 2023-12-08 12:27:24 -0800
committer Cole Faust <colefaust@google.com> 2023-12-08 12:34:42 -0800
commitdf1efd7251a82394e576bad2490e1301d2f0827a (patch)
tree41d52304ea4c0a1bbffe43ce03164dbcf169cb37 /rust/protobuf_test.go
parent25861686fe434c5abae530258bdff4ba2e435ede (diff)
Add compile_data for android apps
Compile_data is a property on rust rules to declare extra files that are used by the compiler. In rust's case this happens commonly with `include_str!()`. Other compilers like javac or aapt2 don't often reach out to other files, so it's not as neccessary. But they will follow symlinks. We're making a change to only include symlinks themselves in sbox sandboxes, and the targets of the symlinks must be listed explicitly. For this, we need compile_data to list the targets of symlinks. Bug: 307824623 Test: m out/soong/.intermediates/frameworks/base/tools/aapt2/integration-tests/SymlinkTest/AaptSymlinkTest/android_common/lint/lint-baseline.xml with the symlink change Change-Id: I33eb9cbe4b6eb25e3f33ea0ac9dade88c3d4a624
Diffstat (limited to 'rust/protobuf_test.go')
0 files changed, 0 insertions, 0 deletions