Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(24)

Unified Diff: native_client_sdk/src/libraries/ppapi_stub/main.c

Issue 268493004: [NaCl SDK] Add ppapi_stub for bionic (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Remove unneeded symbol 'dl_irt_ptr'. Created 6 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/libraries/ppapi_stub/main.c
diff --git a/ppapi/native_client/src/untrusted/irt_stub/plugin_main_irt.c b/native_client_sdk/src/libraries/ppapi_stub/main.c
similarity index 74%
copy from ppapi/native_client/src/untrusted/irt_stub/plugin_main_irt.c
copy to native_client_sdk/src/libraries/ppapi_stub/main.c
index 5975be09f73f1201c68670e7a9f2d51382c99bf3..c1428bcb2b83b276d869630bd3d0d12d7ebe640d 100644
--- a/ppapi/native_client/src/untrusted/irt_stub/plugin_main_irt.c
+++ b/native_client_sdk/src/libraries/ppapi_stub/main.c
@@ -1,16 +1,17 @@
/*
- * Copyright (c) 2011 The Chromium Authors. All rights reserved.
+ * Copyright (c) 2014 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 "ppapi/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 PpapiPluginMain();
+
int main(void) {
return PpapiPluginMain();
}
« no previous file with comments | « native_client_sdk/src/libraries/ppapi_stub/library.dsc ('k') | native_client_sdk/src/libraries/ppapi_stub/ppapi_main.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698