Commit graph

2 commits

Author SHA1 Message Date
Robin Peng
6940a61c92 check_current_prebuilt: Move symlink file into out/pixel
From Android Build System, it's improper to update the source tree during
'lunch'. Move symlink files into out/pixel folder

Bug: 364831620
Flag: EXEMPT export current prebuilt path
Change-Id: I5024788e169abb8f117a289c6a07e7c47527fe60
Signed-off-by: Robin Peng <robinpeng@google.com>
2024-12-20 23:08:43 -08:00
Robin Peng
c8a640f591 check_current_prebuilt: Symlink current prebuilt folder to android root
The Android are now based on Trunk Stable world and Pixel prebuilts CLs
also needs to reply with this which controlled by the flag which results:
- the flag value might be different on each branches
- the flag value are mostly different on each release configuration
- for local builds, ENGs' needs to figure out the correct location
  of current prebuilts by checking through entire prebuilt textproto
  files

To alleviate this problem, create an symlink file under android root
indicates current prebuilt path after invoke the android lunch cmd.

Bug: 364831620
Flag: EXEMPT export current prebuilt path
Change-Id: Idd130a70815fe1fe5288b003c5edb6979fd4c88c
Signed-off-by: Robin Peng <robinpeng@google.com>
2024-09-06 09:35:30 +00:00