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)
for n in CM_ADDONS]
),
tools = [
'@codemirror_original//jar',
'@codemirror_minified//jar',
],
tools = [archive],
outs = ['cm%s.js' % suffix],
)
@ -262,10 +259,7 @@ def pkg_cm():
['unzip -p $(location %s) %s/%s >>$@' % (archive, top, n)
for n in CM_CSS]
),
tools = [
'@codemirror_original//jar',
'@codemirror_minified//jar',
],
tools = [archive],
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),
]
),
tools = [
'@codemirror_original//jar',
'@codemirror_minified//jar',
],
tools = [archive],
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)
]
),
tools = [
'@codemirror_original//jar',
'@codemirror_minified//jar',
],
tools = [archive],
outs = ['theme_%s%s.css' % (n, suffix)],
)
@ -323,8 +311,8 @@ def pkg_cm():
),
tools = [
'@diff_match_patch//jar',
'@codemirror_original//jar',
'@codemirror_minified//jar',
archive,
"//lib:LICENSE-Apache2.0",
],
outs = ['addon_merge%s.js' % suffix],
)