Test and generalize font configuration parser
authortomhudson <tomhudson@chromium.org>
Tue, 5 Aug 2014 13:36:11 +0000 (06:36 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 5 Aug 2014 13:36:14 +0000 (06:36 -0700)
commitf79673bbae0a662c1428755e2719dadf944e4ba1
tree3bfd801126fc879610dce5de45484f1b235098ea
parent8f961b373b829d288a6d4d0652bafc530e9a1144
Test and generalize font configuration parser

Add a basic unit test for the Android font configuration parser.
Add a check for the new LMP file format; on detection, switch to a new
(as-yet unwritten) parser.

R=bungeman@google.com, djsollen@google.com, tomhudson@google.com

Author: tomhudson@chromium.org

Review URL: https://codereview.chromium.org/439813002
gyp/tests.gypi
resources/android_fonts/pre_v17/fallback_fonts.xml [new file with mode: 0644]
resources/android_fonts/pre_v17/system_fonts.xml [new file with mode: 0644]
resources/android_fonts/v17/fallback_fonts.xml [new file with mode: 0644]
resources/android_fonts/v17/system_fonts.xml [new file with mode: 0644]
resources/android_fonts/v22/fonts.xml [new file with mode: 0644]
src/ports/SkFontConfigParser_android.cpp
tests/FontConfigParser.cpp [new file with mode: 0644]