Skip to content

Commit 1be0807

Browse files
committed
build: scope patch hunk normalization
1 parent 49dbb5e commit 1be0807

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

scripts/patch_tfjava.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1500,8 +1500,7 @@ def write_tensorflow_android_absl_patch(path: Path) -> None:
15001500
text += TF_C_API_EXPERIMENTAL_CC_PATCH
15011501
text += SAVED_MODEL_ANDROID_LOADER_PATCH
15021502
text += TENSORFLOW_FRAMEWORK_ANDROID_PATCH
1503-
text += ANDROID_PORTABLE_LIB_SHIM_PATCH
1504-
text = normalize_unified_diff_hunk_counts(text)
1503+
text += normalize_unified_diff_hunk_counts(ANDROID_PORTABLE_LIB_SHIM_PATCH)
15051504
if not text.endswith("\n"):
15061505
text += "\n"
15071506
path.write_text(text, encoding="utf-8")

0 commit comments

Comments
 (0)