Commit 0db37104 authored by domenic's avatar domenic Committed by Commit bot

Put experimental extras through the same filters as non-experimental

When introducing experimental extras I forgot to update this check. That resulted in experimental extras running through the steps normally reserved for non-extra natives: macro and constant expansion, validation, and minification. This causes problems since per the linked bug minification is buggy.

R=yangguo@chromium.org, jochen@chromium.org
BUG=v8:4064
LOG=N

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

Cr-Commit-Position: refs/heads/master@{#31270}
parent ab3110e8
......@@ -417,7 +417,7 @@ def PrepareSources(source_files, native_type, emit_js):
message_template_file = message_template_files[0]
filters = None
if native_type == "EXTRAS":
if native_type in ("EXTRAS", "EXPERIMENTAL_EXTRAS"):
filters = BuildExtraFilterChain()
else:
filters = BuildFilterChain(macro_file, message_template_file)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment