Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
Fix build after revert at 28332.
Browse files Browse the repository at this point in the history
TBR=machenbach@chromium.org
NOTRY=true
NOTREECHECKS=true

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

Cr-Commit-Position: refs/heads/master@{#28333}
  • Loading branch information
hashseed authored and Commit bot committed May 11, 2015
1 parent 19a28dc commit 0208b8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/js2c.py
Original file line number Diff line number Diff line change
Expand Up @@ -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()

Expand Down

0 comments on commit 0208b8e

Please sign in to comment.