aboutsummaryrefslogtreecommitdiff
path: root/UPDATING
diff options
context:
space:
mode:
authorAndroid Build Coastguard Worker <android-build-coastguard-worker@google.com>2023-02-01 11:36:11 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2023-02-01 11:36:11 +0000
commitaf9f1a921da189437cc66ce958ff8392e72afa03 (patch)
treee8cf5f7cdc94a5abfe84a758a4245d7269b65f8f /UPDATING
parent8b05ee40e72d2042d2f05fd9beb23e15fe17f674 (diff)
parentae40525c466f4ffc607a4fd0befdd86fca592e6c (diff)
downloadlibyuv-platform-tools-34.0.1.tar.gz
Merge "Snap for 9550355 from 435db9f11b09187e0d60683813a28d07cc13166b to sdk-release" into sdk-releaseplatform-tools-34.0.3platform-tools-34.0.1platform-tools-34.0.0platform-tools-33.0.4
Diffstat (limited to 'UPDATING')
-rw-r--r--UPDATING36
1 files changed, 36 insertions, 0 deletions
diff --git a/UPDATING b/UPDATING
new file mode 100644
index 00000000..2679284c
--- /dev/null
+++ b/UPDATING
@@ -0,0 +1,36 @@
+To sync the libyuv checkout to an upstream revision, do the following:
+
+These commands are known to work from the external/libyuv directory of the
+Android tree's checkout.
+
+Step 1: Remove the files/ subdirectory.
+
+$ rm -rf files
+
+Step 2: Clone the libyuv repository from upstream.
+
+$ git clone https://chromium.googlesource.com/libyuv/libyuv files
+
+Step 3 (optional): Checkout a specific commit/tag.
+
+$ cd files
+$ git checkout <commit_or_tag>
+$ cd ..
+
+Step 4: Remove files that aren't necessary (Android.mk, .git and OWNERS).
+
+$ rm files/Android.mk
+$ rm -rf files/.git
+$ find files/ -name "OWNERS" | xargs rm
+
+Step 5: Update the version and last_upgrade_date fields in the METADATA file.
+
+Step 6: Update README.version with the version (can be found in
+ files/include/libyuv/version.h)
+
+Step 7: If any local modifications are being done, update README.version and
+ this file with updated instructions.
+
+Step 8: Ensure that libyuv builds and camera and media related CTS tests are
+ passing. If there are any linker errors about missing symbols, try
+ updating frameworks/av/media/libstagefright/export.lds.