From 0208b8e3a1d7ce393308866386ac8d94f85faa05 Mon Sep 17 00:00:00 2001 From: yangguo Date: Mon, 11 May 2015 01:50:38 -0700 Subject: [PATCH] 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} --- tools/js2c.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() -- 2.7.4