M7350v1_en_gpl

This commit is contained in:
T
2024-09-09 08:52:07 +00:00
commit f9cc65cfda
65988 changed files with 26357421 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.android.aapt.test.plurals">
</manifest>

View File

@@ -0,0 +1,7 @@
<resources xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2">
<string name="ok">OK</string>
<plurals name="a_plural">
<item quantity="one">A dog</item>
<item quantity="other">Some dogs</item>
</plurals>
</resources>

View File

@@ -0,0 +1,16 @@
TEST_DIR=tools/aapt/tests/plurals
TEST_OUT_DIR=out/plurals_test
rm -rf $TEST_OUT_DIR
mkdir -p $TEST_OUT_DIR
mkdir -p $TEST_OUT_DIR/java
#gdb --args \
aapt package -v -x -m -z -J $TEST_OUT_DIR/java -M $TEST_DIR/AndroidManifest.xml \
-I out/target/common/obj/APPS/framework-res_intermediates/package-export.apk \
-P $TEST_OUT_DIR/public_resources.xml \
-S $TEST_DIR/res
echo
echo "==================== FILES CREATED ==================== "
find $TEST_OUT_DIR -type f