Fix V8 extras js2c pipeline
authordomenic <domenic@chromium.org>
Fri, 15 May 2015 15:32:54 +0000 (08:32 -0700)
committerCommit bot <commit-bot@chromium.org>
Fri, 15 May 2015 15:32:45 +0000 (15:32 +0000)
570fca61 introduced a regression that caused minification etc. to be
applied to V8 extras.

R=yangguo@chromium.org
BUG=

Review URL: https://codereview.chromium.org/1125103003

Cr-Commit-Position: refs/heads/master@{#28427}

tools/js2c.py

index e1d617dd274900757cbe4e2c0dcd3cc135f4e58d..f5c28440994c0f8abccef6a2d0f0699912a108b5 100755 (executable)
@@ -415,7 +415,7 @@ def PrepareSources(source_files, native_type, emit_js):
     message_template_file = message_template_files[0]
 
   filters = None
-  if native_type == "EXTRA":
+  if native_type == "EXTRAS":
     filters = BuildExtraFilterChain()
   else:
     filters = BuildFilterChain(macro_file, message_template_file)