• Christopher Lam's avatar
    [Mojo Lite] Remove externs generators and use for-compile generators everywhere. · cd38dfe2
    Christopher Lam authored
    This CL removes the Mojo Lite externs generators and compiles all WebUIs
    with the for-compile targets instead.
    
    Structurally, all Mojo types are now Closure record typedefs, and their
    generated business logic is underneath a Spec object to prevent the name
    collisions that were happening in the original implementation.
    
    All goog.requires have also been dropped, and goog.provides are now
    per interface/struct/enum.
    
    This CL paves the way for generating single file Closure compiled blobs
    that have all the Mojo bindings for a single WebUI.
    
    TBR=kinuko@chromium.org
    
    Bug: 914149
    Change-Id: I8866fa9eaa707b2db42369e695ed0a51c373c6b6
    Reviewed-on: https://chromium-review.googlesource.com/c/1476886
    Commit-Queue: calamity <calamity@chromium.org>
    Reviewed-by: default avatarKen Rockot <rockot@google.com>
    Cr-Commit-Position: refs/heads/master@{#634527}
    cd38dfe2
BUILD.gn 546 Bytes