• Tibor Goldschwendt's avatar
    [build] Use metadata to collect APK's shared libraries · 02040379
    Tibor Goldschwendt authored
    Previously, we used runtime deps to collect the shared libraries. That
    worked due to some special runtime dependency propagation rules around
    shared_library targets. However, this will stop working with the new
    linker assisted native feature module approach where some shared
    libraries will become action targets. To solve this, this CL
    
    - adds the shared library output file to metadata of each shared_library
      target,
    
    - adds the new partitioned shared library output files to metadata as
      well,
    
    - adds barriers where propagation should be interrupted, and
    
    - adds generated_file targets to read the metadata.
    
    
    
    Bug: 980569
    Change-Id: Ib3f49a00d04d066a2fc1f0bb916d469adabac447
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1693023
    Commit-Queue: Tibor Goldschwendt <tiborg@chromium.org>
    Reviewed-by: default avatarAndrew Grieve <agrieve@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#675773}
    02040379
rules.gni 176 KB