Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4)

Unified Diff: third_party/freetype2/src/version.sed

Issue 1524973002: Update freetype sources (2.6.2) in third party. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/freetype2/src/src/winfonts/winfnt.c ('k') | third_party/freetype2/src/vms_make.com » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/freetype2/src/version.sed
diff --git a/third_party/freetype2/src/version.sed b/third_party/freetype2/src/version.sed
new file mode 100644
index 0000000000000000000000000000000000000000..c281ff506b44e196f8fe6cf07d787107777e09ea
--- /dev/null
+++ b/third_party/freetype2/src/version.sed
@@ -0,0 +1,5 @@
+#! /usr/bin/sed -nf
+
+s/^#define *FREETYPE_MAJOR *\([^ ][^ ]*\).*$/freetype_major="\1" ;/p
+s/^#define *FREETYPE_MINOR *\([^ ][^ ]*\).*$/freetype_minor=".\1" ;/p
+s/^#define *FREETYPE_PATCH *\([^ ][^ ]*\).*$/freetype_patch=".\1" ;/p
« no previous file with comments | « third_party/freetype2/src/src/winfonts/winfnt.c ('k') | third_party/freetype2/src/vms_make.com » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698