Update usages of ckati_stamp_dump am: 5cb38ac7d1
Original change: https://android-review.googlesource.com/c/platform/tools/treble/+/2582072
Change-Id: I3794db9bd7a2df21660d6732f0283e0bb29bf351
Signed-off-by: Automerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>
diff --git a/split/manifest_split.py b/split/manifest_split.py
index 5114f24..7dc71d2 100644
--- a/split/manifest_split.py
+++ b/split/manifest_split.py
@@ -314,7 +314,7 @@
def get_kati_makefiles(kati_stamp_file, overlays):
"""Returns the set of makefile paths from the kati stamp file.
- Uses the ckati_stamp_dump prebuilt binary.
+ Uses the ckati prebuilt binary.
Also includes symlink sources in the resulting set for any
makefiles that are symlinks.
@@ -326,7 +326,8 @@
# Get a set of all makefiles that were parsed by Kati during the build.
makefiles = set(
subprocess.check_output([
- "prebuilts/build-tools/linux-x86/bin/ckati_stamp_dump",
+ "prebuilts/build-tools/linux-x86/bin/ckati",
+ "--dump_stamp_tool",
"--files",
kati_stamp_file,
]).decode().strip("\n").split("\n"))
diff --git a/split/manifest_split_test.py b/split/manifest_split_test.py
index d9c6f76..c07c870 100644
--- a/split/manifest_split_test.py
+++ b/split/manifest_split_test.py
@@ -221,7 +221,7 @@
# (The Kati stamp file does not resolve symlink sources.)
makefiles.append(symlink_dest)
- # Mock the output of ckati_stamp_dump:
+ # Mock the output of ckati --dump_stamp_tool:
mock_check_output.return_value = '\n'.join(makefiles).encode()
kati_makefiles = manifest_split.get_kati_makefiles(