Add license for diff-match-patch JS.

Fix dependencies for codemirror targets.

Change-Id: Ibda5573438b0ab76c42f5faaa3a463b5975bd43c
This commit is contained in:
Han-Wen Nienhuys 2016-12-19 11:53:43 +01:00
parent bd09af64ad
commit 238c6e9763

View File

@ -244,10 +244,7 @@ def pkg_cm():
['unzip -p $(location %s) %s/addon/%s >>$@' % (archive, top, n) ['unzip -p $(location %s) %s/addon/%s >>$@' % (archive, top, n)
for n in CM_ADDONS] for n in CM_ADDONS]
), ),
tools = [ tools = [archive],
'@codemirror_original//jar',
'@codemirror_minified//jar',
],
outs = ['cm%s.js' % suffix], outs = ['cm%s.js' % suffix],
) )
@ -262,10 +259,7 @@ def pkg_cm():
['unzip -p $(location %s) %s/%s >>$@' % (archive, top, n) ['unzip -p $(location %s) %s/%s >>$@' % (archive, top, n)
for n in CM_CSS] for n in CM_CSS]
), ),
tools = [ tools = [archive],
'@codemirror_original//jar',
'@codemirror_minified//jar',
],
outs = ['cm%s.css' % suffix], outs = ['cm%s.css' % suffix],
) )
@ -280,10 +274,7 @@ def pkg_cm():
'unzip -p $(location %s) %s/mode/%s/%s.js >>$@' % (archive, top, n, n), 'unzip -p $(location %s) %s/mode/%s/%s.js >>$@' % (archive, top, n, n),
] ]
), ),
tools = [ tools = [archive],
'@codemirror_original//jar',
'@codemirror_minified//jar',
],
outs = ['mode_%s%s.js' % (n, suffix)], outs = ['mode_%s%s.js' % (n, suffix)],
) )
@ -298,10 +289,7 @@ def pkg_cm():
'unzip -p $(location %s) %s/theme/%s.css >>$@' % (archive, top, n) 'unzip -p $(location %s) %s/theme/%s.css >>$@' % (archive, top, n)
] ]
), ),
tools = [ tools = [archive],
'@codemirror_original//jar',
'@codemirror_minified//jar',
],
outs = ['theme_%s%s.css' % (n, suffix)], outs = ['theme_%s%s.css' % (n, suffix)],
) )
@ -323,8 +311,8 @@ def pkg_cm():
), ),
tools = [ tools = [
'@diff_match_patch//jar', '@diff_match_patch//jar',
'@codemirror_original//jar', archive,
'@codemirror_minified//jar', "//lib:LICENSE-Apache2.0",
], ],
outs = ['addon_merge%s.js' % suffix], outs = ['addon_merge%s.js' % suffix],
) )