Chromium Code Reviews| Index: src/main.cpp |
| diff --git a/src/main.cpp b/src/main.cpp |
| index e30ac7da59b4ccf9d49b61d151b0958305525ffc..f7b567697ec74ce0ceca3be728863a88d1c99a07 100644 |
| --- a/src/main.cpp |
| +++ b/src/main.cpp |
| @@ -17,12 +17,17 @@ |
| #include "IceBuildDefs.h" |
| #include "IceCompileServer.h" |
| +/// Depending on whether we are building the compiler for the browser or |
| +/// standalone, we will end up creating a Ice::BrowserCompileServer or |
| +/// Ice::CLCompileServer object. Method |
| +/// Ice::CompileServer::runAndReturnErrorCode is used for the invocation. |
| +/// There are no real commandline arguments in the browser case. They are |
| +/// supplied via IPC so argc, and argv are not used in that case. |
| +/// We can only compile the Ice::BrowserCompileServer object with the NaCl |
|
Jim Stichnoth
2015/12/10 18:06:56
I think this is a bit unclear. How about somethin
rkotlerimgtec
2015/12/10 21:27:39
Done.
|
| +/// compiler. |
| +/// |
|
Jim Stichnoth
2015/12/10 18:06:56
Remove this blank comment line?
rkotlerimgtec
2015/12/10 21:27:39
Done.
|
| int main(int argc, char **argv) { |
| - // Start file server and "wait" for compile request. |
| - // Can only compile the BrowserCompileServer w/ the NaCl compiler. |
| if (Ice::BuildDefs::browser()) { |
| - // There are no real commandline arguments in the browser case. They are |
| - // supplied via IPC. |
| assert(argc == 1); |
| return Ice::BrowserCompileServer().runAndReturnErrorCode(); |
| } |