From: yangguo Date: Mon, 11 May 2015 08:50:38 +0000 (-0700) Subject: Fix build after revert at 28332. X-Git-Tag: upstream/4.7.83~2707 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=0208b8e3a1d7ce393308866386ac8d94f85faa05;p=platform%2Fupstream%2Fv8.git 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} --- diff --git a/tools/js2c.py b/tools/js2c.py index 788b2e7..e1d617d 100755 --- a/tools/js2c.py +++ b/tools/js2c.py @@ -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()