summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--third_party/freetype/OWNERS3
-rw-r--r--third_party/freetype/README.pdfium2
-rwxr-xr-xthird_party/freetype/roll-freetype.sh7
3 files changed, 12 insertions, 0 deletions
diff --git a/third_party/freetype/OWNERS b/third_party/freetype/OWNERS
new file mode 100644
index 0000000000..2ed4210aad
--- /dev/null
+++ b/third_party/freetype/OWNERS
@@ -0,0 +1,3 @@
+dsinclair@chromium.org
+npm@chromium.org
+thestig@chromium.org
diff --git a/third_party/freetype/README.pdfium b/third_party/freetype/README.pdfium
index f6eb83797c..f8059246e3 100644
--- a/third_party/freetype/README.pdfium
+++ b/third_party/freetype/README.pdfium
@@ -12,3 +12,5 @@ FreeType library.
Local Modifications:
0000-include.patch: Modifications to configuration header files.
+
+Most of the updating can be automated will roll-freetype.sh.
diff --git a/third_party/freetype/roll-freetype.sh b/third_party/freetype/roll-freetype.sh
new file mode 100755
index 0000000000..12c656de28
--- /dev/null
+++ b/third_party/freetype/roll-freetype.sh
@@ -0,0 +1,7 @@
+REVIEWERS=`paste -s -d, third_party/freetype/OWNERS` &&
+roll-dep -r "${REVIEWERS}" "$@" pdfium/third_party/freetype/src/ &&
+FTVERSION=`git -C third_party/freetype/src/ describe --long` &&
+FTCOMMIT=`git -C third_party/freetype/src/ rev-parse HEAD` &&
+sed -i "s/^Version: .*\$/Version: ${FTVERSION%-*}/" third_party/freetype/README.pdfium &&
+sed -i "s/^Revision: .*\$/Revision: ${FTCOMMIT}/" third_party/freetype/README.pdfium &&
+git add third_party/freetype/README.pdfium && git commit --quiet --amend --no-edit