commit | 716e9b686c555ce8b4d0b10c820881a4c04c385c | [log] [tgz] |
---|---|---|
author | Dario Freni <dariofreni@google.com> | Tue Jul 31 15:29:13 2018 +0100 |
committer | Dario Freni <dariofreni@google.com> | Wed Aug 01 00:22:08 2018 +0100 |
tree | ff8478485e43b2f8e0fb307797dfa8a407cc22a6 | |
parent | 7b599947517a8142eb93b2e68b7991beba8b9c61 [diff] |
Run appcompat on vendor and product-services. Also add some more relevant information at the beginning of each report, to make triaging of the reports easier. To test this I declared ExactCalculator as LOCAL_PRODUCT_SERVICES_MODULE, and this is the resulting log: """ Package name: com.android.calculator2 Module name in Android tree: ExactCalculator Local path in Android tree: packages/apps/ExactCalculator Install path on aosp_marlin-eng: out/target/product/marlin/system/product-services/app/ExactCalculator/ExactCalculator.apk appcompat.sh output: NOTE: appcompat.sh is still under development. It can report API uses that do not execute at runtime, and reflection uses that do not exist. It can also miss on reflection uses. 1: Reflection light greylist Landroid/os/Bundle;->getIBinder use(s): Landroid/support/v4/app/BundleCompat$BundleCompatBaseImpl;->getBinder(Landroid/os/Bundle;Ljava/lang/String;)Landroid/os/IBinder; 2: Reflection light greylist Landroid/view/View;->mAccessibilityDelegate use(s): Landroid/support/v4/view/ViewCompat$ViewCompatBaseImpl;->hasAccessibilityDelegate(Landroid/view/View;)Z 3: Reflection light greylist Landroid/view/View;->mMinHeight use(s): Landroid/support/v4/view/ViewCompat$ViewCompatBaseImpl;->getMinimumHeight(Landroid/view/View;)I 4: Reflection light greylist Landroid/view/View;->mMinWidth use(s): Landroid/support/v4/view/ViewCompat$ViewCompatBaseImpl;->getMinimumWidth(Landroid/view/View;)I 4 hidden API(s) used: 0 linked against, 4 through reflection 0 in blacklist 0 in dark greylist 4 in light greylist To run an analysis that can give more reflection accesses, but could include false positives, pass the --imprecise flag. """ Test: m (also on internal) Bug: 110073830 Change-Id: I5114f51d1ab163e954fcffb159ef335abc289cf6
This is the Makefile-based portion of the Android Build System.
For documentation on how to run a build, see Usage.txt
For a list of behavioral changes useful for Android.mk writers see Changes.md
For an outdated reference on Android.mk files, see build-system.html. Our Android.mk files look similar, but are entirely different from the Android.mk files used by the NDK build system. When searching for documentation elsewhere, ensure that it is for the platform build system -- most are not.
This Makefile-based system is in the process of being replaced with Soong, a new build system written in Go. During the transition, all of these makefiles are read by Kati, and generate a ninja file instead of being executed directly. That's combined with a ninja file read by Soong so that the build graph of the two systems can be combined and run as one.