Added patching of security.properties - removed "com.android." in front of all "com.android.org.*" classes

This commit is contained in:
Vasily Litvinov 2014-03-18 23:13:35 +04:00
parent df06564392
commit a311ced69e

View File

@ -1605,8 +1605,12 @@ $(build)/android.dep: $(luni-javas) $(libdvm-javas) $(crypto-javas) \
$(build)/android/java/lang/reflect/Proxy* $(build)/android/java/lang/reflect/Proxy*
cp -r $(build)/android/* $(classpath-build) cp -r $(build)/android/* $(classpath-build)
for x in $(luni-copied-nonjavas); \ for x in $(luni-copied-nonjavas); \
do cp -f $(luni-java)$${x} $(classpath-build)$${x} ; \ do cp $(luni-java)$${x} $(classpath-build)$${x} ; \
done done
# fix security.properties - get rid of "com.android" in front of classes starting with "org"
sed -i -e 's/\(.*=\)com\.android\.\(org\..*\)/\1\2/g' \
$(classpath-build)/java/security/security.properties
chmod +w $(classpath-build)/java/security/security.properties
@touch $(@) @touch $(@)
$(test-build)/%.class: $(test)/%.java $(test-build)/%.class: $(test)/%.java