summaryrefslogtreecommitdiff
path: root/update-from-external.sh
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2018-11-19 17:06:59 +0000
committerPaul Duffin <paulduffin@google.com>2018-11-20 14:13:11 +0000
commit8b412270f9a9c5c066ee7c5854055b3e5ab1335f (patch)
tree94081b15b4184bf0a2ce7c5619de73b756e5f452 /update-from-external.sh
parentbc1508dad5df524bdc37262caa08cbea33de1192 (diff)
downloadlibphonenumber-8b412270f9a9c5c066ee7c5854055b3e5ab1335f.tar.gz
Use generated source not jarjar
This is in preparation to adding UnsupportedAppUsage annotations to the source. Note: Although the classes in the android/ directory are in the correct package and so do not need to be moved to a different package they do reference classes that are in the wrong package and so they need those references transformed. Tested using: m -j32 droid adb reboot bootloader fastboot flashall -w m -j32 cts cts-tradefed run cts -m CtsTelephonyTestCases -t android.telephony.cts.PhoneNumberUtilsTest Bug: 117818301 Test: see above Change-Id: I523e98eabc7eddff593afeddd399c11061664a59
Diffstat (limited to 'update-from-external.sh')
-rwxr-xr-xupdate-from-external.sh2
1 files changed, 2 insertions, 0 deletions
diff --git a/update-from-external.sh b/update-from-external.sh
index 18ada952..a505e5b6 100755
--- a/update-from-external.sh
+++ b/update-from-external.sh
@@ -44,3 +44,5 @@ do
sed "s|Version: .*$|Version: $VERSION|" < $tmp/$i > $DIR/$i
(cd $DIR; git add $i)
done
+
+${DIR}/srcgen/generate_android_src.sh