summaryrefslogtreecommitdiffstats
path: root/o3d
diff options
context:
space:
mode:
authorgman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-04 00:04:36 +0000
committergman@google.com <gman@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2009-11-04 00:04:36 +0000
commit17fbfc46c22c6c928d37bd2d3e6a15523e09e5a5 (patch)
tree72a0edcfa3153eb08017e110e7ea341c76b7a437 /o3d
parentc52846ae2a6f17d68f3a3d633df05cd848581238 (diff)
downloadchromium_src-17fbfc46c22c6c928d37bd2d3e6a15523e09e5a5.zip
chromium_src-17fbfc46c22c6c928d37bd2d3e6a15523e09e5a5.tar.gz
chromium_src-17fbfc46c22c6c928d37bd2d3e6a15523e09e5a5.tar.bz2
Fix for build.
The if was wrong. If the jscompiler exists we DON'T want the non-compiled files. Review URL: http://codereview.chromium.org/342108 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@30895 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'o3d')
-rw-r--r--o3d/samples/samples_gen.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/o3d/samples/samples_gen.py b/o3d/samples/samples_gen.py
index f65c922..cb999c1 100644
--- a/o3d/samples/samples_gen.py
+++ b/o3d/samples/samples_gen.py
@@ -145,7 +145,7 @@ for asset in assets:
# Add in all the MANIFEST files to be copied,
# Skipping the ones in the assets above (if any).
items = eval(open("MANIFEST", "r").read())
-if os.path.exists("../../o3d-internal/jscomp/JSCompiler_deploy.jar"):
+if not os.path.exists("../../o3d-internal/jscomp/JSCompiler_deploy.jar"):
# add in the o3djs files.
js_files = eval(open("o3djs/js_list.manifest", "r").read())
js_files = ["o3djs/" + f for f in js_files]