Age | Commit message (Collapse) | Author |
|
Specifying no_frameworks_libs=true and not specifying sdk_version means
that this depends on core.platform.api. The only reason it does that is
because it needs access to UnsupportedAppUsage annotations but they are
available from unsupportedappusage-annotation library.
Bug: 134379140
Test: make out/soong/hiddenapi/hiddenapi-flags.csv
checked that it still contains correct entries for libphonenumber
Change-Id: Ie3d80528f731e1fd9bb0af1c3259bda70783f5dc
|
|
See build/soong/README.md for more information.
Change-Id: I137e3c818687038aa9c3ea952e4f6037238be4b5
Fixes: 122332075
Test: treehugger
|
|
Due to limitations with jarjar the libphonenumber-platform was built
for java 1.7. Now that it no longer uses jarjar that restriction is no
longer necessary.
Bug: 117818301
Test: make checkbuild
Change-Id: Ic40f84b9cdfd87c5e1bf50d6f4e8729bcc5115e1
|
|
Adds @UnsupportedAppUsage annotations to the parts of libphonenumber
that are in the hidden API. Allows the libphonenumber entries to be
removed from the frameworks/base/config/hiddenapi-light-greylist.txt.
The build rule had to be changed to depend (by default) on the
core.platform.api.stubs as UnsupportedAppUsage annotation is not
present in the core_current API.
This was tested by making and then manually checking that the generated
out/target/common/obj/PACKAGING/hiddenapi-light-greylist.txt was the
same (after sorting) before and after this change.
Bug: 117818301
Test: see above
Change-Id: Ic8c6a424a083b1a6c567126b93f49ce10f4e5f93
|
|
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
|
|
libphonenumber is for unbundled apps, but is too fat (2MB) and most of
the space is contributed to geocoder. For unbundled apps which do not
use the geocoder feature, libphonenumber-nogeocoder is provided. This is
much smaller (< 500KB).
Bug: 73707956
Bug: 69899800
Test: m -j GoogleContactsSyncAdapter builds successfully and does not
show link-type check warning
Test: flash this to walleye. add a new account. contacts are synced
correctly.
Test: marlin builds
Change-Id: Ie74539cab61216421501633e506713122d2644d2
|
|
This lib has been built with core-libart and core-oj which include
private APIs. In order to prevent this lib from depending on the private
APIs in the future, directly dependency to the core libraries are
replaced with the pseudo-sdk stub called 'core_current' that has public
core Java APIs only.
Bug: 72206056
Test: mma -j under this directory
Change-Id: Ia2d91c9911fe4fb4ab9bc8ae06d78829cafef0c3
|
|
See build/soong/README.md for more information.
Leaves the tests using make because of missing dependencies that
haven't been converted yet.
Test: m -j checkbuild
Change-Id: If95ebc2f8f0f2dbd242ebb4a5767307b41b8dfd6
|