Skip to content
  1. Jun 29, 2021
  2. Jun 28, 2021
  3. Jun 27, 2021
    • Paul Duffin's avatar
      Add test to show issues with widest stub dex jars · d2b1e0ca
      Paul Duffin authored
      The widest stub dex jars should include the widest stub dex jars
      provided by each module. So, if module A has public, system and test
      and module B has only public then the widest stub dex jars should
      include module A's test and module B's public stub dex jars. Instead,
      they just include module A's test.
      
      That behaviour is needed so that when the "hiddenapi list" tool is run
      against a module C that it is passed stub dex jars from both module A
      and module B so that any references to the types provided by those APIs
      can be resolved.
      
      A follow up change will fix this issue.
      
      Bug: 179354495
      Test: m nothing
      Change-Id: Ibd31964e8d2a33fa92fbd0b800c9fe054ee359c7
      d2b1e0ca
    • Paul Duffin's avatar
      Allow hiddenapi list to ignore missing classes/members · 156b5d3b
      Paul Duffin authored
      When generating the stub-flags.csv for a bootclasspath_fragment the
      hiddenapi list tool is not given a complete set of all classes and
      members. This change causes it to ignore them by passing the new
      --fragment option to it.
      
      This does not risk changing the flags as the stub-flags.csv files
      created with the --fragment option are compared with the monolithic
      out/soong/hiddenapi/hiddenapi-stub-flags.txt file which is not run
      with this option to ensure that they match.
      
      Bug: 179354495
      Test: m out/soong/hiddenapi-stub-flags.csv
            - make sure that this does not change the file.
      Change-Id: I890c7374c445759cade4d685f51e81261b7ccea2
      156b5d3b
    • Paul Duffin's avatar
      Add sdk_library_test.go to Android.bp file · 9fc208ee
      Paul Duffin authored
      When this file was initially created by extracting the test from the
      java_test.go file it was not added to Android.bp file so was not being
      built and tested as it should. That lead to a recent change that left
      it unable to compile. This change corrects both those issues.
      
      Bug: 186723288
      Bug: 179354495
      Test: m nothing
      Change-Id: I06f32bb572f57b6df3c772f1d9d21fe323fbf353
      9fc208ee
    • Treehugger Robot's avatar
      7c32e223
  4. Jun 25, 2021
Loading