diff options
author | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-19 05:17:12 +0000 |
---|---|---|
committer | abarth@chromium.org <abarth@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-11-19 05:17:12 +0000 |
commit | 858eeea0a7a3e3271351ca127734574150af1185 (patch) | |
tree | 1e84210476d1d5ef365737cda1786d9564edff58 /gin/gin.gyp | |
parent | b61ee040ecfd5e983137a114aaa3445ff4dbec4e (diff) | |
download | chromium_src-858eeea0a7a3e3271351ca127734574150af1185.zip chromium_src-858eeea0a7a3e3271351ca127734574150af1185.tar.gz chromium_src-858eeea0a7a3e3271351ca127734574150af1185.tar.bz2 |
Add console.log support to gin_shell
This CL adds a basic console module to gin_shell so that we can print to stdout
with a JavaScript program like the following:
define(["console"], function(console) {
console.log("Hello,", "world");
});
BUG=317398
Review URL: https://codereview.chromium.org/75273007
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@235940 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'gin/gin.gyp')
-rw-r--r-- | gin/gin.gyp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gin/gin.gyp b/gin/gin.gyp index 7bdf8ab..7546cfb 100644 --- a/gin/gin.gyp +++ b/gin/gin.gyp @@ -19,6 +19,8 @@ '../v8/tools/gyp/v8.gyp:v8', ], 'sources': [ + 'modules/console.cc', + 'modules/console.h', 'modules/file_module_provider.cc', 'modules/file_module_provider.h', 'modules/module_registry.cc', |