Skip to content
  1. May 12, 2020
  2. May 11, 2020
  3. May 10, 2020
    • Paul Duffin's avatar
      java_sdk_library: Path extraction from deps depend on tag · c878250d
      Paul Duffin authored
      Previously, the information that the java_sdk_library extracted from
      its child dependencies was determined purely by the type of the
      dependency and whether it had a tag of the appropriate type. The actual
      tag itself was ignored. That worked but was a little fragile as it
      relied on there being no overlap between the types of the dependencies
      or if there was overlap on the order in which the dependencies were
      processed and the dependency types were checked to ensure that the
      correct information was collected.
      
      This change makes the information that is extracted dependent on the
      tag that is used. That makes the behavior much more robust and also
      simplifes the follow up change which may get the stubs source and API
      files from separate droidstubs invocations.
      
      Changes:
      * A func field is added to the scopeDependencyTag that is supplied with
        a dependency from which to extract the information and scopePaths
        into which the information will be stored.
      * Each scopeDependencyTag instance supplies its own function.
      * Various items are renamed to more closely reflect what they actually
        do. e.g. the apiFileTag is renamed to stubsSourceAndApiTag field
        because if provides access to both api file and stubs source.
      
      Test: m checkapi
      Bug: 155164730
      Change-Id: I4e1861ea67f441f2948a0d7d7053ab0b1169955f
      c878250d
    • Paul Duffin's avatar
      Switch java_sdk_library_import to use SetDefaultableHook() · 6e7ecbf9
      Paul Duffin authored
      Ensure consistency with java_sdk_library.
      
      Bug: 155295806
      Test: m checkapi
      Change-Id: I074e7c865b6b52c7bcf568da3342d8772623ce4f
      6e7ecbf9
    • Paul Duffin's avatar
  4. May 09, 2020
  5. May 08, 2020
  6. May 07, 2020
    • Daniel Norman's avatar
      Removes $(PRODUCT_OUT)/misc_info.txt on installclean. · b8e7f81a
      Daniel Norman authored
      misc_info.txt's build rule does not contain inputs to tell it to
      refresh on an incremental build, so incremental builds (even after
      installclean) were reusing this file.
      
      With this change, misc_info.txt is removed by installclean so that an
      incremental build generates the file fresh.
      
      Test: # misc_info.txt exists; m installclean; # misc_info.txt gone
      Bug: 155930200
      Change-Id: Ia319925dad26f98049a988ee1ceb1e20db621353
      b8e7f81a
Loading