Name: Expat XML Parser
Short Name: expat
URL: https://github.com/libexpat/libexpat
Version: R_2_6_2-2-ga59c3edf
CPEPrefix: cpe:/a:libexpat_project:libexpat:2.6.2
Date: 2024-03-19
Revision: a59c3edffa54a77b8d7b268ef527da541076ca6a
Security Critical: yes
Shipped: yes
License: MIT
License File: src/expat/COPYING
Description:
This is Expat XML parser - very lightweight C library for parsing XML.
Expat is distributed under an MIT license detailed in src/expat/COPYING.
We include it here because libjingle depends on it.
Roll process:
cd $CHROMIUM_SRC
roll-dep --roll-to origin/upstream/master src/third_party/expat/src/
cd $CHROMIUM_SRC/third_party/expat/src/expat
./buildconf.sh
./configure
cp expat_config.h $CHROMIUM_SRC/third_party/expat/include/expat_config/
cd $CHROMIUM_SRC/third_party/expat
patch -p3 < 0001-Do-not-claim-getrandom.patch
Then update the README.chromium and BUILD.gn as needed.
This can usually by handled by running roll-expat.sh from $CHROMIUM_SRC.
Patches:
0001-Do-not-claim-getrandom.patch:
* Not all platforms have getrandom.
Added files:
include/expat_config/expat_config.h (a generated config file)