• dpapad's avatar
    CrOS Settings: Add Polymer3 migration BUILD.gn boilerplate. · b4884a67
    dpapad authored
    These changes have been mostly generated with a local script,
    followed by some manual editing.
    
    Execute the following target locally
    ninja -C out/gchromeos/ chrome/browser/resources/settings/chromeos:polymer3_elements
    
    or just the following with optimize_webui=false (for now)
    ninja -C out/gchromeos/ chrome
    
    Problematic *_module targets that are causing build errors to be thrown
    from polymer.py have been commented out and a TODO has been added for
    each of them. For example
     - wherever cr.define() calls exist, they need to include the
       contents of the entire file
     - A single <script> tag is expected in an HTML file
    
    Bug: 1045266
    Change-Id: I6a9c98fe55d6d270e36d620b1aef1fef2fe8b8ba
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2133048
    Commit-Queue: dpapad <dpapad@chromium.org>
    Reviewed-by: default avatarKyle Horimoto <khorimoto@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#756124}
    b4884a67
BUILD.gn 3.54 KB