• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1To sync the libyuv checkout to an upstream revision, do the following:
2
3These commands are known to work from the external/libyuv directory of the
4Android tree's checkout.
5
6Step 1: Remove the files/ subdirectory.
7
8$ rm -rf files
9
10Step 2: Clone the libyuv repository from upstream.
11
12$ git clone https://chromium.googlesource.com/libyuv/libyuv files
13
14Step 3 (optional): Checkout a specific commit/tag.
15
16$ cd files
17$ git checkout <commit_or_tag>
18$ cd ..
19
20Step 4: Remove files that aren't necessary (Android.mk, .git and OWNERS).
21
22$ rm files/Android.mk
23$ rm -rf files/.git
24$ find files/ -name "OWNERS" | xargs rm
25
26Step 5: Update the version and last_upgrade_date fields in the METADATA file.
27
28Step 6: Update README.version with the version (can be found in
29        files/include/libyuv/version.h)
30
31Step 7: If any local modifications are being done, update README.version and
32        this file with updated instructions.
33
34Step 8: Ensure that libyuv builds and camera and media related CTS tests are
35        passing. If there are any linker errors about missing symbols, try
36	updating frameworks/av/media/libstagefright/export.lds.
37