• Christopher Lam's avatar
    Convert ChromeOS resources Closure Compile to GN. · 69c1aef3
    Christopher Lam authored
    See go/closure-compile-gn for details.
    
    This CL converts the Closure Compilation of ChromeOS resources from GYP to
    GN.
    
    A local closure compile can be run by setting closure_compile = true in
    args.gn, and then running ninja -C out/Default webui_closure_compile.
    A more localized compile may look like:
    ninja -C out/Default chrome/browser/resources/chromeos:closure_compile
    
    TBR=dpranke@chromium.org, dpapad@chromium.org
    TEST=Running the compilation with a type mismatch should cause a failure.
    
    Bug: 632206
    Cq-Include-Trybots: master.tryserver.chromium.linux:closure_compilation
    Change-Id: If1656b63a5571a00f54a913d5295231970eba44e
    Reviewed-on: https://chromium-review.googlesource.com/1049350
    Commit-Queue: calamity <calamity@chromium.org>
    Reviewed-by: default avatarAchuith Bhandarkar <achuith@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#566316}
    69c1aef3
BUILD.gn 8.09 KB