| Index: ppapi/native_client/src/untrusted/irt_stub/plugin_main_irt.c
|
| diff --git a/ppapi/native_client/src/untrusted/irt_stub/plugin_main_irt.c b/ppapi/native_client/src/untrusted/irt_stub/plugin_main_irt.c
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..95f9c5d719772a05b37a15ae56dae35c4f58b6ca
|
| --- /dev/null
|
| +++ b/ppapi/native_client/src/untrusted/irt_stub/plugin_main_irt.c
|
| @@ -0,0 +1,16 @@
|
| +/*
|
| + * Copyright (c) 2011 The Chromium Authors. All rights reserved.
|
| + * Use of this source code is governed by a BSD-style license that can be
|
| + * found in the LICENSE file.
|
| + */
|
| +
|
| +#include "native_client/src/shared/ppapi_proxy/ppruntime.h"
|
| +
|
| +/*
|
| + * An application that doesn't define its own main but links in -lppapi
|
| + * gets this one. A plugin may instead have its own main that calls
|
| + * PpapiPluginMain (or PpapiPluginStart) after doing some other setup.
|
| + */
|
| +int main(void) {
|
| + return PpapiPluginMain();
|
| +}
|
|
|