summaryrefslogtreecommitdiffstats
path: root/o3d/documentation/build_docs.py
diff options
context:
space:
mode:
authorgman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-03 06:14:19 +0000
committergman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-08-03 06:14:19 +0000
commit9320f85bc4fcdb342288821697d0e988d4d670ed (patch)
tree3c9c008153232377505c64bf52362cba1171bb57 /o3d/documentation/build_docs.py
parentc8ac83912c574059021eae381df36694159d8116 (diff)
downloadchromium_src-9320f85bc4fcdb342288821697d0e988d4d670ed.zip
chromium_src-9320f85bc4fcdb342288821697d0e988d4d670ed.tar.gz
chromium_src-9320f85bc4fcdb342288821697d0e988d4d670ed.tar.bz2
minor fix to correctly strip goog.exportSymbols
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22259 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d/documentation/build_docs.py')
-rwxr-xr-xo3d/documentation/build_docs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/o3d/documentation/build_docs.py b/o3d/documentation/build_docs.py
index 940f55f..c309996 100755
--- a/o3d/documentation/build_docs.py
+++ b/o3d/documentation/build_docs.py
@@ -274,7 +274,7 @@ def BuildCompiledO3DJS(o3djs_files,
file = open(compiled_o3djs_outpath, 'r')
contents = file.read()
file.close()
- contents = re.sub(r'goog.exportSymbol\([^\)]*\);\n', '', contents)
+ contents = re.sub(r'goog.exportSymbol\([^\)]*\);', '', contents)
requires = set(re.findall(r'o3djs.require\([^\)]*\);', contents))
contents = re.sub(r'o3djs.require\([^\)]*\);', '', contents)
file = open(compiled_o3djs_outpath, 'w')