• Tibor Goldschwendt's avatar
    Auto-load PAKs of a module · ec181f5c
    Tibor Goldschwendt authored
    We write the list of PAK files in a module to the module's Java
    descriptor and load those PAK files when first accessing the module
    via the autogenerated module class. This gets rid of the whitelist in
    Module.java. Going forward DFM authors simply have to specify pak_deps
    and paks in the module_desc.
    
    APKs do not have proper Java module descriptors. Therefore, we add all
    resources of modules that are packaged into the chrome APKs to the APK's
    main resources.pak.
    
    Change-Id: Iaa555de0682894397ee40e6a12c3681dfd0542eb
    Bug: 986960
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1877139
    Commit-Queue: Tibor Goldschwendt <tiborg@chromium.org>
    Commit-Queue: Yaron Friedman <yfriedman@chromium.org>
    Reviewed-by: default avatarYaron Friedman <yfriedman@chromium.org>
    Auto-Submit: Tibor Goldschwendt <tiborg@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#711732}
    ec181f5c
BUILD.gn 2.03 KB