Skip to content
  1. Apr 03, 2020
    • Vladimir Marko's avatar
      Add file with updatable BCP packages to /system/etc/ · b92ae27c
      Vladimir Marko authored
      Make `permitted_packages` mandatory for updatable boot class
      path jars. Collect the permitted_packages from those jars to
      a file installed as /system/etc/updatable_bcp_packages.txt .
      
      (cherry picked from commit 205e6c2a)
      
      Test: aosp_taimen-userdebug boots.
      Test: adb shell cat /system/etc/updatable-bcp-packages
      Test: Manual, remove permitted_packages from framework-tethering,
            build fails.
      Bug: 151314205
      Merged-In: I21def97ace9081e707910d449943c683189f16cf
      Change-Id: I68486f0d8d3368636e1a5324321bd0106fbe241a
      b92ae27c
    • David Srbecky's avatar
      Distinguish boot images by target rather than arch · 163bda65
      David Srbecky authored
      We plan to add boot image variants for host tests.
      Distinguishing the variants by arch does not work,
      since both host and device can have the same arch.
      
      (cherry picked from commit c177ebec)
      
      Test: m
      Bug: 152037801
      Merged-In: Iea73c77367affb074f97a0fc318389417ce537da
      Change-Id: I8b95882bb00cd2fd1f6cfd8a2784f9ebb957eec6
      163bda65
    • Bill Peckham's avatar
  2. Apr 02, 2020
    • Dan Willemsen's avatar
      Fix long mac test times; only initialize host settings once · 2071132e
      Dan Willemsen authored
      It looks like sometime in late February our Mac builds started taking
      ~10 minutes longer than before. On my local workstation the Soong tests
      were taking >25 minutes before completing (likely because I don't have
      the older SDKs installed, and we iterate from older to newer to find the
      oldest installed SDK).
      
      Most of this time was spend running the `xcrun` tools to interrogate the
      system about which Mac SDKs are installed and where the tools are. This
      will never change during any build or test, so wrap it all in a
      sync.Once so that we only ever call them once.
      
      And remove the macSdkPath variable, which has been unused for years and
      no longer works (as we don't allow the use of xcode-select during the
      build).
      
      Bug: 153010389
      Test: prebuilts/build-tools/build-prebuilts.sh on a Mac
      Change-Id: I39b2d49739e628e4c11bec4805b25039115d2fd0
      Merged-In: I39b2d49739e628e4c11bec4805b25039115d2fd0
      (cherry picked from commit 6ba5367a)
      2071132e
    • Bill Peckham's avatar
      Include partition tag in apexkeys.txt. · 1c610cfe
      Bill Peckham authored
      The partition tag helps merge_target_files.py determine
      which apexkeys.txt to select from the framework partial
      target files and which to select from the vendor partial
      target files. The partition tag is the pysical partition
      name, for example, a system_ext module on a device where
      system_ext is at system/system_ext has a system
      partition tag.
      
      Bug: 138942268
      Change-Id: Ia07887b34f1aa77dae94ef23610dfef83c1a5849
      Merged-In: Ia07887b34f1aa77dae94ef23610dfef83c1a5849
      1c610cfe
    • Anton Hansson's avatar
  3. Apr 01, 2020
  4. Mar 31, 2020
    • Dan Shi's avatar
      Merge "Rename VTS to VTS10" am: 7182c45f am: 4058983c am: 8989420f am: 2d2a3643 · 1a9a9127
      Dan Shi authored
      Bug: 151896491
      Test: none
      
      Change-Id: Iee9324c4edefef56171ecfac64fd11a9595e5f7c
      Merged-In: Iadad4ba96bf9a7f3b1d12c9d4eeb90fb1ed0841d
      Merged-In: Iee9324c4edefef56171ecfac64fd11a9595e5f7c
      (cherry picked from commit ee3ec387)
      1a9a9127
    • Anton Hansson's avatar
      Remove neverallow rules for framework-mediaprovider · a5cb6fe9
      Anton Hansson authored
      We actually want some targets (in particular, the MediaProvider apk)
      to link against framework-mediaprovider.
      
      The gist of what the neverallow rule achieves (disallow general use)
      is achieved equally well with visibility rules, which
      framework-mediaprovider already has.
      
      Bug: 152891096
      Test: m nothing
      Change-Id: Ic4b0a571985b9ad1dfdd56d45035f224a622700e
      a5cb6fe9
    • Artur Satayev's avatar
      Use modular removed-dex.txt files for greylisting. · a8ec5599
      Artur Satayev authored
      Use droidstubs for public and system stubs to provide a list of @removed APIs. As these APIs are not present in the stubs, they are not whitelisted / greylised automatically. Keep them on greylist manually.
      
      Bug: 143864733
      Test: diff out/soong/hiddenapi/hiddenapi-flags.csv
      Change-Id: I4c8e6899fadfdfd1da82f6f453cc92e71aa9b78c
      Merged-In: I4c8e6899fadfdfd1da82f6f453cc92e71aa9b78c
      Exempt-From-Owner-Approval: clean cherry-pick
      (cherry picked from commit c7fb5c99)
      a8ec5599
  5. Mar 30, 2020
  6. Mar 28, 2020
    • Dan Willemsen's avatar
      Simplify message around nsjail error · 6d5d8a6d
      Dan Willemsen authored
      We have known problems (docker; distros w/o user namespaces) which mean
      that we won't be turning this into a fatal error anytime soon. Also
      remove the bug report link, it's not useful to continue getting the same
      reports.
      
      Bug: 123210688
      Test: treehugger
      Change-Id: I271871d68150417ac938f074d3730cad4518e327
      Merged-In: I271871d68150417ac938f074d3730cad4518e327
      (cherry picked from commit 1871d88e)
      6d5d8a6d
  7. Mar 27, 2020
    • Jaewoong Jung's avatar
      Add code coverage support to android_app JNI libs. · 37ca4a1e
      Jaewoong Jung authored
      This is a cherry-pick change.
      
      Test: Built mainline module coverage data
      Bug: 152117890
      Change-Id: I47bf3e5d6e78c4518729bdb52616e248156d3cec
      Merged-In: I47bf3e5d6e78c4518729bdb52616e248156d3cec
      37ca4a1e
    • Dan Willemsen's avatar
      Always keep rsp files · 706d5f67
      Dan Willemsen authored
      It's painful to debug without these.
      
      Bug: 151160048
      Test: do a build; find out -name '*.rsp'
      Change-Id: I6fc25095442178c0bcbc1dea444ba51e9259c600
      Merged-In: I6fc25095442178c0bcbc1dea444ba51e9259c600
      706d5f67
    • Hsin-Yi Chen's avatar
      Fix the logic for selecting ABI dump paths · d41fc189
      Hsin-Yi Chen authored
      A library may have both VNDK variant and stubs. getRefAbiDumpFile should
      differentiate its vendor and core variants.
      
      Bug: 152277104
      Test: Add dumps to platform/ and vndk/ ; make libselinux.vendor libselinux
      Change-Id: Iad038cf4cd3eccc3dfbef13fab67da044498ce77
      Merged-In: Iad038cf4cd3eccc3dfbef13fab67da044498ce77
      (cherry picked from commit 27d235f9)
      d41fc189
  8. Mar 26, 2020
    • Jooyung Han's avatar
      Enforce apex.min_sdk_version for bundled builds · 74066606
      Jooyung Han authored
      Previously, when Q-targeting apexes are bundled-built, they are built
      against the latest stubs.
      
      It was because unwinder is linked dynamically in R and APIs are provided
      by libc while Q apexes should run on Q where libc doesn't provide those
      APIs. To make Q apexes run on Q device, libc++ should be linked with
      static unwinder. But, because libc++ with static unwinder may cause problem
      on HWASAN build, Q apexes were built against the latest stubs for bundled
      build.
      
      However, Q apexes should be built against Q stubs.
      
      Now, only for HWASAN builds, Q apexes are built against the latest stubs
      (and native modules are not linked with static unwinder).
      
      Bug: 151912436
      Test: TARGET_SANITIZE=hwaddress m
            => Q apexes(media, resolv, ..) are linked with the latest stubs
            m
            => Q apexes are linked with Q stubs,
               and Q apexes' libc++ is linked with static unwinder
      Change-Id: If32f1b547e6d93e3955c7521eec8aef5851f908c
      74066606
    • Songchun Fan's avatar
    • Songchun Fan's avatar
      [soong] new field in Android.bp to request APK signing V4 · 688de9af
      Songchun Fan authored
      If "v4_signature: true" is set, the v4 signature file,
      named [outputApkFile].idsig
      will be generated along side the outputApkFile.
      
      Test: m nothing
      Test: atest PackageManagerShellCommandIncrementalTest
      BUG: 149354175
      Change-Id: Ie84725a15406f96f65042ea9909460e4eb34d57f
      688de9af
  9. Mar 25, 2020
    • Jooyung Han's avatar
      Pass min_sdk_version to cc __ANDROID_SDK_VERSION__ · c3e9263d
      Jooyung Han authored
      The macro is required only for apex variants regardless of useVndk.
      Before the enforcement of LLNDK sdk version, the macro was not passed to
      vendor variants.
      
      Bug: 151689896
      Test: TARGET_BUILD_APPS=com.android.media.swcodec m
            libbase in swcodec apex is linked with liblog#29
            (compiled with __ANDROID_SDK_VERSIO__=29)
      
      Merged-In: I57fa4afe027eb39b98bd94d534be9ebe11713f19
      Change-Id: I57fa4afe027eb39b98bd94d534be9ebe11713f19
      (cherry picked from commit 24282778)
      
      Exempt-From-Owner-Approval: cp from aosp
      c3e9263d
    • Jooyung Han's avatar
      Enforce min_sdk_version of apex(use_vendor:true) · 67a96cd7
      Jooyung Han authored
      Even though use_vendor:true is prohibited, there is media.swcodec apex
      which is still use_vendor: true and also needs to support Android10.
      (min_sdk_version: 29)
      
      Because LLNDK stubs were provided only for the current VNDK version,
      media.swcodec couldn't be built against min_sdk_version: 29.
      
      This change introduces additional versions for LLNDK stubs which are
      enforced when an apex with use_vendor: true sets min_sdk_version.
      
      To make things easier, the versions of LLNDK stubs are borrowed from its
      implementation libraries.
      
      Bug: 147450930
      Bug: 149591522
      Test: TARGET_BUILD_APPS=com.android.media.swcodec m
            (with min_sdk_version: 29 set)
            check if liblog/libc/libm/libdl stubs are 29
            check if 29 stubs don't have new symbols.
      
      Merged-In: I79946cbb4da6617138a96d2b254349d3a298e77b
      Change-Id: I79946cbb4da6617138a96d2b254349d3a298e77b
      (cherry picked from commit 380fc361)
      67a96cd7
    • Jooyung Han's avatar
      cc: fix a utility to make C macro name · 89124ba3
      Jooyung Han authored
      Use the result of regex.ReplaceAllString()
      
      Bug: 149591522 (not directly related to this)
      Test: m (with new unit test)
      Merged-In: Ifce07547ccc067f1ee5bd8467c2fb7d7f8387b8e
      Change-Id: Ifce07547ccc067f1ee5bd8467c2fb7d7f8387b8e
      (cherry picked from commit b04a4997)
      89124ba3
  10. Mar 24, 2020
  11. Mar 23, 2020
  12. Mar 22, 2020
  13. Mar 21, 2020
    • Artur Satayev's avatar
      Merge CSV files generated by UnsupportedAppUsageProcessor. · 8a950790
      Artur Satayev authored
      Flow:
      1. Annotation processor generates a CSV file per class as a CLASS_OUTPUT resource.
      2. hiddenapi.go extracts individual .csv files and merges them into an index.csv file per module.
      3. hiddenapi_singleton.go merges individual index.csv files into a combined .csv file.
      
      In a follow up hiddenapi-index.csv would replace unsupportedappusage_index.csv
      
      Bug: 145132366
      Change-Id: I87d92f9c8d4b1cc1df526fc576ee3c2101116b58
      Merged-In: I87d92f9c8d4b1cc1df526fc576ee3c2101116b58
      Test: diff unsupportedappusage_index.csv hiddenapi-index.csv
      Exempt-From-Owner-Approval: cp from r.android.com/1239709
      8a950790
    • Yabin Cui's avatar
  14. Mar 20, 2020
Loading