Sandbox angle_commit_id

Sandboxing it generates this diff:

  1c1
  < #define ANGLE_COMMIT_HASH "1f7a2ce0bf57"
  ---
  > #define ANGLE_COMMIT_HASH "unknown hash"
  3,4c3,4
  < #define ANGLE_COMMIT_DATE "2023-11-17 17:33:59 +0000"
  < #define ANGLE_COMMIT_POSITION 26027
  ---
  > #define ANGLE_COMMIT_DATE "unknown date"
  > #define ANGLE_COMMIT_POSITION 0

These constants appear to be unused, and we don't really want the build
to inspect the git history, so just let them be unkown.

Bug: 307824623
Test: ./build/soong/tests/genrule_sandbox_test.py angle_commit_id
Change-Id: I3e35af14d13142927ded9477e975576d7324c6b7
This commit is contained in:
Cole Faust
2023-11-21 13:52:52 -08:00
parent c400022f0a
commit babb750cdf

View File

@@ -40,7 +40,6 @@ var (
"aidl-golden-test-build-hook-gen",
"aidl_camera_build_version",
"android-cts-verifier",
"angle_commit_id",
"atest_integration_fake_src",
"awkgram.tab.h",
"c2hal_test_genc++",