• Mike Dougherty's avatar
    [iOS] Move base, common, and message JS out of js_compile.gni · cf13c9a5
    Mike Dougherty authored
    The base, common, and message JS files were previously always included
    for every js_compile_checked gn target even though all compiled scripts
    do not rely on functions defined in these files.
    
    In this CL, the script dependencies are split apart in order to more
    explicitly list JavaScript dependencies. This is done in preparation
    of moving these shared scripts to a new architecture in order to
    support isolated worlds on iOS 14 and later.
    
    Additionally, improve script error logging messages which were useful
    while debugging script execution.
    
    Bug: 1042335
    Change-Id: Iee9adef123c32bb69ebb8b3c9bb1fc58878f04f5
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2554900Reviewed-by: default avatarJohn Wu <jzw@chromium.org>
    Reviewed-by: default avatarEugene But <eugenebut@chromium.org>
    Commit-Queue: Mike Dougherty <michaeldo@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#835692}
    cf13c9a5
translate_ios.js 4.93 KB