• Luciano Pacheco's avatar
    Files app: Generate JS module for //u/f/f/b/j/task_queue.m.js · 04a1bb6d
    Luciano Pacheco authored
    Generate JS modules for:
    //ui/file_manager/externs/background/task_queue.js
    //ui/file_manager/file_manager/background/js/task_queue.js
    
    Because Closure doesn't deal well importing the same namespace from
    different files, I started splitting the "importer" namespace so each
    file will have its own namespace.  Files in the "externs" directory will
    have the suffix "Interface" on their namespace.  I'll use this logic for
    all files related to "importer" namespace.
    
    The "importer" namespace will remain for the file "importer_common.js"
    
    Move the `UpdateType` our of the TaskQueue namespace to remove the
    reference of importer.TaskQueue from importer_common.js because it was
    causing a circular dependency between externs/b/task_queue.js and
    importer_common.js.
    
    Bug: 1133186
    Change-Id: I53af2ceb7f75e463702fdfbb3f2c4758f1fbc540
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2592578
    Commit-Queue: Luciano Pacheco <lucmult@chromium.org>
    Commit-Queue: Jeremie Boulic <jboulic@chromium.org>
    Reviewed-by: default avatarJeremie Boulic <jboulic@chromium.org>
    Auto-Submit: Luciano Pacheco <lucmult@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#837920}
    04a1bb6d
BUILD.gn 2.19 KB