Commit 0208b8e3 authored by yangguo's avatar yangguo Committed by Commit bot

Fix build after revert at 28332.

TBR=machenbach@chromium.org
NOTRY=true
NOTREECHECKS=true

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

Cr-Commit-Position: refs/heads/master@{#28333}
parent 19a28dce
......@@ -431,7 +431,7 @@ def PrepareSources(source_files, native_type, emit_js):
# It cannot be empty (or whitespace, which gets trimmed to empty), as
# the deserialization code assumes each file is nonempty.
if not source_files_and_contents:
source_files_and_contents = [("dummy.js", "void 0;")]
source_files_and_contents = [("dummy.js", "(function() {})")]
result = Sources()
......
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