diff options
| author | 2023-11-21 14:18:27 -0800 | |
|---|---|---|
| committer | 2023-11-21 14:18:27 -0800 | |
| commit | ae36d6b964ff683acab5ebec2bb3406063fd565d (patch) | |
| tree | fd0f7644b868410e0c241ef7a9496515a9a1c151 | |
| parent | b12a98651d091e0cbfbb3cc2135747899296d562 (diff) | |
Sandbox awkgram.tab.h
Sandboxing it generates this diff:
38,39c38,39
< #ifndef YY_YY_OUT_SOONG_TEMP_SBOX_794A09CEE4E110D9FF38139A8943928FFD7288A5_OUT_AWKGRAM_TAB_H_INCLUDED
< # define YY_YY_OUT_SOONG_TEMP_SBOX_794A09CEE4E110D9FF38139A8943928FFD7288A5_OUT_AWKGRAM_TAB_H_INCLUDED
---
> #ifndef YY_YY_OUT_AWKGRAM_TAB_H_INCLUDED
> # define YY_YY_OUT_AWKGRAM_TAB_H_INCLUDED
280c280
< #endif /* !YY_YY_OUT_SOONG_TEMP_SBOX_794A09CEE4E110D9FF38139A8943928FFD7288A5_OUT_AWKGRAM_TAB_H_INCLUDED */
---
> #endif /* !YY_YY_OUT_AWKGRAM_TAB_H_INCLUDED */
Which is acceptable, the ifdef is based on the path to the file and
just there to prevent duplicate imports.
Bug: 307824623
Test: ./build/soong/tests/genrule_sandbox_test.py awkgram.tab.h
Change-Id: I85c5e0f65e97d18f1aa8b36fa6b19402d2da6c8c
| -rw-r--r-- | genrule/allowlists.go | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/genrule/allowlists.go b/genrule/allowlists.go index 874821b04..3cec16636 100644 --- a/genrule/allowlists.go +++ b/genrule/allowlists.go @@ -42,7 +42,6 @@ var ( "android-cts-verifier", "angle_commit_id", "atest_integration_fake_src", - "awkgram.tab.h", "camera-its", "checkIn-service-stub-lite", "chre_atoms_log.h", |