Bump Closure Compiler version to v20151216
The closure-compiler jar now incudes its Java dependencies. closure-compiler-externs no longer publishes a sources jar. Change parse_graph() in Documentation/gen_licenses.py to always exclude the edge from //lib/codemirror:js to //lib/codemirror:js_minifier. Change-Id: I6a9160ffdb02347202a2b64c226f00c13cc0e19c
This commit is contained in:
@@ -56,14 +56,16 @@ def parse_graph():
|
|||||||
if target in KNOWN_PROVIDED_DEPS:
|
if target in KNOWN_PROVIDED_DEPS:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
if args.partial:
|
# js_minifier is only used by the build process.
|
||||||
|
# Skip it, even if --partial is not passed.
|
||||||
if dep == '//lib/codemirror:js_minifier':
|
if dep == '//lib/codemirror:js_minifier':
|
||||||
if target == '//lib/codemirror:js':
|
if (target == '//lib/codemirror:js'
|
||||||
|
or target.startswith('//lib/codemirror:mode_')):
|
||||||
continue
|
continue
|
||||||
if target.startswith('//lib/codemirror:mode_'):
|
|
||||||
continue
|
if (args.partial
|
||||||
if (target == '//gerrit-gwtui:ui_module'
|
and dep == '//gerrit-gwtexpui:CSS'
|
||||||
and dep == '//gerrit-gwtexpui:CSS'):
|
and target == '//gerrit-gwtui:ui_module'):
|
||||||
continue
|
continue
|
||||||
|
|
||||||
graph[target].append(dep)
|
graph[target].append(dep)
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ else:
|
|||||||
ZIP = 'codemirror-%s.zip' % VERSION
|
ZIP = 'codemirror-%s.zip' % VERSION
|
||||||
|
|
||||||
|
|
||||||
CLOSURE_VERSION = 'v20141120'
|
CLOSURE_VERSION = 'v20151216'
|
||||||
|
|
||||||
CLOSURE_COMPILER_ARGS = [
|
CLOSURE_COMPILER_ARGS = [
|
||||||
'--compilation_level SIMPLE_OPTIMIZATIONS',
|
'--compilation_level SIMPLE_OPTIMIZATIONS',
|
||||||
@@ -131,22 +131,17 @@ java_binary(
|
|||||||
maven_jar(
|
maven_jar(
|
||||||
name = 'compiler-jar',
|
name = 'compiler-jar',
|
||||||
id = 'com.google.javascript:closure-compiler:' + CLOSURE_VERSION,
|
id = 'com.google.javascript:closure-compiler:' + CLOSURE_VERSION,
|
||||||
sha1 = '369618bf5a96f73e32655dc48919c0f97558d3b1',
|
sha1 = 'b5cd14a356cd9079791ba10b6d9623ef4ae4df6e',
|
||||||
license = 'Apache2.0',
|
license = 'DO_NOT_DISTRIBUTE',
|
||||||
deps = [
|
deps = [':closure-compiler-externs'],
|
||||||
':closure-compiler-externs',
|
|
||||||
'//lib:args4j',
|
|
||||||
'//lib:gson',
|
|
||||||
'//lib:guava',
|
|
||||||
'//lib:protobuf',
|
|
||||||
],
|
|
||||||
visibility = [],
|
visibility = [],
|
||||||
)
|
)
|
||||||
|
|
||||||
maven_jar(
|
maven_jar(
|
||||||
name = 'closure-compiler-externs',
|
name = 'closure-compiler-externs',
|
||||||
id = 'com.google.javascript:closure-compiler-externs:' + CLOSURE_VERSION,
|
id = 'com.google.javascript:closure-compiler-externs:' + CLOSURE_VERSION,
|
||||||
sha1 = '247eff337e2737de43c8d963aaaef15bd8cda132',
|
sha1 = 'c2787d9927cb0825e8389e83fd3e1a798aae09cc',
|
||||||
license = 'Apache2.0',
|
license = 'Apache2.0',
|
||||||
visibility = [],
|
visibility = [],
|
||||||
|
attach_source = False,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user