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

Side by Side Diff: ppapi/native_client/src/untrusted/irt_stub/ppapi_plugin_main.c

Issue 1693213002: Revert of [NaCl SDK] Add initial support for building the SDK with gn (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@gn_i686_gcc
Patch Set: Created 4 years, 10 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 unified diff | Download patch
« no previous file with comments | « ppapi/native_client/src/untrusted/irt_stub/BUILD.gn ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2011 The Chromium Authors. All rights reserved. 2 * Copyright (c) 2011 The Chromium Authors. All rights reserved.
3 * Use of this source code is governed by a BSD-style license that can be 3 * Use of this source code is governed by a BSD-style license that can be
4 * found in the LICENSE file. 4 * found in the LICENSE file.
5 */ 5 */
6 6
7 #include "ppapi/native_client/src/shared/ppapi_proxy/ppruntime.h"
8
9 #include "ppapi/native_client/src/untrusted/irt_stub/ppapi_start.h" 7 #include "ppapi/native_client/src/untrusted/irt_stub/ppapi_start.h"
10 8
11 /* 9 /*
12 * These are dangling references to functions that the application must define. 10 * These are dangling references to functions that the application must define.
13 */ 11 */
14 static const struct PP_StartFunctions ppapi_app_start_callbacks = { 12 static const struct PP_StartFunctions ppapi_app_start_callbacks = {
15 PPP_InitializeModule, 13 PPP_InitializeModule,
16 PPP_ShutdownModule, 14 PPP_ShutdownModule,
17 PPP_GetInterface 15 PPP_GetInterface
18 }; 16 };
19 17
20 /* 18 /*
21 * The application's main (or the one supplied in this library) calls this 19 * The application's main (or the one supplied in this library) calls this
22 * to start the PPAPI world. 20 * to start the PPAPI world.
23 */ 21 */
24 int PpapiPluginMain(void) { 22 int PpapiPluginMain(void) {
25 return PpapiPluginStart(&ppapi_app_start_callbacks); 23 return PpapiPluginStart(&ppapi_app_start_callbacks);
26 } 24 }
OLDNEW
« no previous file with comments | « ppapi/native_client/src/untrusted/irt_stub/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698