Skip to content

Commit

Permalink
Merge "Avoid dropping Android.bp when updating modules"
Browse files Browse the repository at this point in the history
  • Loading branch information
adelva1984 authored and Gerrit Code Review committed Feb 11, 2021
2 parents 2c89cd5 + a020cf7 commit 41f10bc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gki/download_from_ci
Original file line number Diff line number Diff line change
Expand Up @@ -374,11 +374,13 @@ def update_androidx_virtual_device_modules(gitlog, output_dir, version):

try:
subprocess.check_call(["git", "rm", "-rf", "*"], cwd=arm64_mods_dir)
subprocess.check_call(["git", "checkout", "HEAD", "Android.bp"], cwd=arm64_mods_dir)
except subprocess.CalledProcessError:
pass

try:
subprocess.check_call(["git", "rm", "-rf", "*"], cwd=x86_64_mods_dir)
subprocess.check_call(["git", "checkout", "HEAD", "Android.bp"], cwd=x86_64_mods_dir)
except subprocess.CalledProcessError:
pass

Expand Down

0 comments on commit 41f10bc

Please sign in to comment.