xref: /aosp_15_r20/external/libaom/README.android (revision 77c1e3ccc04c968bd2bc212e87364f250e820521)
1*77c1e3ccSAndroid Build Coastguard WorkerName: libaom
2*77c1e3ccSAndroid Build Coastguard WorkerURL: https://aomedia.org
3*77c1e3ccSAndroid Build Coastguard WorkerVersion: v3.10.0
4*77c1e3ccSAndroid Build Coastguard WorkerLicense: BSD
5*77c1e3ccSAndroid Build Coastguard WorkerLicense File: libaom/LICENSE
6*77c1e3ccSAndroid Build Coastguard Worker
7*77c1e3ccSAndroid Build Coastguard WorkerDate: Tuesday November 19 2024
8*77c1e3ccSAndroid Build Coastguard WorkerBranch: v3.11.0
9*77c1e3ccSAndroid Build Coastguard WorkerCommit: d6f30ae474dd6c358f26de0a0fc26a0d7340a84c
10*77c1e3ccSAndroid Build Coastguard Worker
11*77c1e3ccSAndroid Build Coastguard WorkerCherry-picks:
12*77c1e3ccSAndroid Build Coastguard WorkerNone
13*77c1e3ccSAndroid Build Coastguard Worker
14*77c1e3ccSAndroid Build Coastguard WorkerDescription:
15*77c1e3ccSAndroid Build Coastguard WorkerContains the sources used to compile libaom.
16*77c1e3ccSAndroid Build Coastguard Worker
17*77c1e3ccSAndroid Build Coastguard WorkerThe libaom source is from aomedia.org:
18*77c1e3ccSAndroid Build Coastguard Worker  https://aomedia.googlesource.com/aom/
19*77c1e3ccSAndroid Build Coastguard Worker
20*77c1e3ccSAndroid Build Coastguard WorkerPlease follow these steps to update libaom source code:
21*77c1e3ccSAndroid Build Coastguard Worker
22*77c1e3ccSAndroid Build Coastguard Worker1. Update libaom source tree. Look for "Current HEAD: <hash>" output to update
23*77c1e3ccSAndroid Build Coastguard Worker   README.android. Look for "git log from upstream: <git log>" output to add
24*77c1e3ccSAndroid Build Coastguard Worker   to the commit message.
25*77c1e3ccSAndroid Build Coastguard Worker
26*77c1e3ccSAndroid Build Coastguard Worker   ./update_libaom.sh [branch name]
27*77c1e3ccSAndroid Build Coastguard Worker
28*77c1e3ccSAndroid Build Coastguard Worker2. Generate updated Android.bp and config files.
29*77c1e3ccSAndroid Build Coastguard Worker
30*77c1e3ccSAndroid Build Coastguard Worker   ./generate_config.sh
31*77c1e3ccSAndroid Build Coastguard Worker
32*77c1e3ccSAndroid Build Coastguard Worker3. Update this file with any Version, Date, Branch, or Commit changes. The
33*77c1e3ccSAndroid Build Coastguard Worker   version is in the file config/config/aom_version.h
34*77c1e3ccSAndroid Build Coastguard Worker
35*77c1e3ccSAndroid Build Coastguard Worker4. Commit the changes. The commit message should look like this and is printed
36*77c1e3ccSAndroid Build Coastguard Worker   by update_libaom.sh:
37*77c1e3ccSAndroid Build Coastguard Worker   libaom: Pull from upstream
38*77c1e3ccSAndroid Build Coastguard Worker
39*77c1e3ccSAndroid Build Coastguard Worker   Current HEAD: <hash>
40*77c1e3ccSAndroid Build Coastguard Worker
41*77c1e3ccSAndroid Build Coastguard Worker   git log from upstream:
42*77c1e3ccSAndroid Build Coastguard Worker   a6b2070 <git commit message 1>
43*77c1e3ccSAndroid Build Coastguard Worker   08dabbc <git commit message 2>
44*77c1e3ccSAndroid Build Coastguard Worker   c29fb02 <git commit message 3>
45*77c1e3ccSAndroid Build Coastguard Worker
46*77c1e3ccSAndroid Build Coastguard WorkerTools needed to build libaom:
47*77c1e3ccSAndroid Build Coastguard Worker
48*77c1e3ccSAndroid Build Coastguard Worker- generate_config.sh
49*77c1e3ccSAndroid Build Coastguard Worker
50*77c1e3ccSAndroid Build Coastguard WorkerGenerate config files that contain the source list for each platform.
51*77c1e3ccSAndroid Build Coastguard WorkerA list of prerequisites is at the top of generate_config.sh.
52