Name: Closure compiler
Short Name: closure-compiler
URL: http://github.com/google/closure-compiler
Version: 20210906.0.0
Date: 2023/05/03 17:45
License: Apache 2.0
License File: LICENSE
Security Critical: no
Shipped: no
Description:
The Closure Compiler provides warnings for illegal JavaScript and warnings for
potentially dangerous operations, helping you to produce JavaScript that is less
buggy and easier to maintain.
Local modifications:
- Use the script third_party/closure_compiler/roll_closure_compiler to update
the versions of third_party/closure_compiler/compiler/compiler.jar and/or
third_party/closure_compiler/externs/chrome_extensions.js.
- Some externs here are for chrome-specific use; these primarily include the
*_private.js files.
- Fix bug in js_binary.py causing it to drop externs.
- Cache dependency subtrees in js_binary.py for a huge performance boost.
- Add js_unit_tests.gni for generating .html files for running unit tests.
- Forward target visibility in the js_library template.
- Forward closure_flags in js_type_check and js_unit_tests templates.