From a490e2cf1ef7257b40bcb45df6bde5972df2ac13 Mon Sep 17 00:00:00 2001 From: Victor Chang Date: Fri, 27 Dec 2024 14:04:08 +0000 Subject: Extract implementation of script and locale matching into LocaleDataLookup.h It helps adding new unit tests, and fixing correctness and performance bugs later. Bug: 386340812 Test: atest libandroidfw_tests Change-Id: I4d3ee1333637d2cd22d5fdfad730935951feeccb --- libs/androidfw/Android.bp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'libs/androidfw/Android.bp') diff --git a/libs/androidfw/Android.bp b/libs/androidfw/Android.bp index 1bc15d72bacc..a13dd78a23a1 100644 --- a/libs/androidfw/Android.bp +++ b/libs/androidfw/Android.bp @@ -80,6 +80,7 @@ cc_library { "LoadedArsc.cpp", "Locale.cpp", "LocaleData.cpp", + "LocaleDataLookup.cpp", "misc.cpp", "NinePatch.cpp", "ObbFile.cpp", @@ -224,6 +225,7 @@ cc_test { "tests/Idmap_test.cpp", "tests/LoadedArsc_test.cpp", "tests/Locale_test.cpp", + "tests/LocaleDataLookup_test.cpp", "tests/NinePatch_test.cpp", "tests/ResourceTimer_test.cpp", "tests/ResourceUtils_test.cpp", -- cgit v1.2.3-59-g8ed1b