diff options
author | Roozbeh Pournader <roozbeh@google.com> | 2016-03-31 13:05:32 -0700 |
---|---|---|
committer | Roozbeh Pournader <roozbeh@google.com> | 2016-03-31 13:23:15 -0700 |
commit | 27ec3ace18e329eb9654f297dedf667f94baaf81 (patch) | |
tree | 4ff33d2ba3195aa9389b50d03e0809f1af09565b /data/fonts | |
parent | bb8c30901dc0d17c4da6ef0d68c4ad2808fd0ded (diff) |
Re-enable emoji font tests
This re-enables the emoji font tests, but doesn't run the tests if
SMALLER_FONT_FOOTPRINT is set.
Additionally, we test that there's one and only one emoji font in the
fallback chain.
Bug: 26187231
Bug: 27785690
Change-Id: I2e6d467e3f54ee3d41737170d7c2492a0f6b30f0
Diffstat (limited to 'data/fonts')
-rw-r--r-- | data/fonts/Android.mk | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/data/fonts/Android.mk b/data/fonts/Android.mk index fd28f64db19e..e3639ecdeeb8 100644 --- a/data/fonts/Android.mk +++ b/data/fonts/Android.mk @@ -101,8 +101,13 @@ font_src_files := checkbuild: fontchain_lint FONTCHAIN_LINTER := frameworks/base/tools/fonts/fontchain_lint.py +ifeq ($(SMALLER_FONT_FOOTPRINT),true) +CHECK_EMOJI := false +else +CHECK_EMOJI := true +endif .PHONY: fontchain_lint fontchain_lint: $(FONTCHAIN_LINTER) $(TARGET_OUT)/etc/fonts.xml PYTHONPATH=$$PYTHONPATH:external/fonttools/Lib \ - python $(FONTCHAIN_LINTER) $(TARGET_OUT) external/unicode + python $(FONTCHAIN_LINTER) $(TARGET_OUT) $(CHECK_EMOJI) external/unicode |