Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(556)

Unified Diff: build.xml

Issue 6827077: Mitigate top-level vars and typeof differences between ES5 and ES5/3 with rewriting (Closed) Base URL: http://google-caja.googlecode.com/svn/trunk/
Patch Set: Mitigate top-level vars and typeof differences between ES5 and ES5/3 with rewriting Created 11 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
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"/>
« no previous file with comments | « no previous file | src/com/google/caja/parser/quasiliteral/ES53Rewriter.java » ('j') | src/com/google/caja/ses/exportsToSES.js » ('J')

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b