Index: build.xml |
=================================================================== |
--- build.xml (revision 5202) |
+++ build.xml (working copy) |
@@ -973,6 +973,17 @@ |
<input file="${src.caja}/ses/WeakMap.js"/> |
<input file="${src.caja}/ses/StringMap.js"/> |
<input file="${src.caja}/ses/whitelist.js"/> |
+ <!-- Accumulate exports from acorn, escodegen and estravese |
+ and move them onto the ses.rewrite object. This happens to |
+ work as a group rather than having to happen individually |
+ because acorn, estraverse and escodegen don't add conflicting |
+ properties on exports --> |
+ <input file="${src.caja}/ses/createExports.js"/> |
+ <input file="${third_party}/js/acorn/acorn.js" jslint="false"/> |
+ <input file="${third_party}/js/escodegen/estraverse.js" jslint="false"/> |
+ <input file="${third_party}/js/escodegen/escodegen.js" jslint="false"/> |
+ <input file="${src.caja}/ses/exportsToSES.js"/> |
+ <input file="${src.caja}/ses/mitigateGotchas.js"/> |
<input file="${src.caja}/ses/atLeastFreeVarNames.js"/> |
<input file="${src.caja}/ses/startSES.js"/> |
<input file="${src.caja}/ses/hookupSES.js"/> |
@@ -994,6 +1005,17 @@ |
<input file="${src.caja}/ses/debug.js"/> |
<input file="${src.caja}/ses/StringMap.js"/> |
<input file="${src.caja}/ses/whitelist.js"/> |
+ <!-- Accumulate exports from acorn, escodegen and estravese |
+ and move them onto the ses.rewrite object. This happens to |
+ work as a group rather than having to happen individually |
+ because acorn, estraverse and escodegen don't add conflicting |
+ properties on exports --> |
+ <input file="${src.caja}/ses/createExports.js"/> |
+ <input file="${third_party}/js/acorn/acorn.js" jslint="false"/> |
+ <input file="${third_party}/js/escodegen/estraverse.js" jslint="false"/> |
+ <input file="${third_party}/js/escodegen/escodegen.js" jslint="false"/> |
+ <input file="${src.caja}/ses/exportsToSES.js"/> |
+ <input file="${src.caja}/ses/mitigateGotchas.js"/> |
<input file="${src.caja}/ses/atLeastFreeVarNames.js"/> |
<input file="${src.caja}/ses/startSES.js"/> |
<input file="${src.caja}/ses/ejectorsGuardsTrademarks.js"/> |