summaryrefslogtreecommitdiff
path: root/chromium/third_party/closure_compiler/README.chromium
blob: 220b9411d0007d619831c769ccd0946f04c1e9ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
Name: Closure compiler
Short Name: closure-compiler
URL: http://github.com/google/closure-compiler
Version: v20200517
Date: 2020/06/04 19:52
License: Apache 2.0
License File: LICENSE
Security Critical: 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.