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

Side by Side Diff: webkit/tools/pepper_test_plugin/README

Issue 546041: Make the Pepper test run on the mac. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 11 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 | Annotate | Revision Log
OLDNEW
1 This is a test plugin for manual testing of the Pepper plugin API. See 1 This is a test plugin for manual testing of the Pepper plugin API. See
2 https://wiki.mozilla.org/Plugins:PlatformIndependentNPAPI 2 https://wiki.mozilla.org/Plugins:PlatformIndependentNPAPI
3 3
4 Open the Chrome all.sln solution and rebuild the pepper_test_plugin and 4 Open the Chrome all.sln solution and rebuild the pepper_test_plugin and
5 chrome projects. 5 chrome projects.
6 6
7 To load this plugin in Chrome, use the command line flags: 7 To load this plugin in Chrome, use the command line flags:
8 --no-sandbox 8 --no-sandbox
9 --internal-pepper 9 --internal-pepper
10 --load-plugin=<<<YOUR CHECKOUT ROOT>>\src\webkit\tools\pepper_test_plugin\Debu g\pepper_test_plugin.dll 10 --load-plugin=<<<YOUR CHECKOUT ROOT>>\src\webkit\tools\pepper_test_plugin\Debu g\pepper_test_plugin.dll
11 11
12 A simple way to launch Chrome with these command line flags is to run the 12 A simple way to launch Chrome with these command line flags is to run the
13 generated pepper_test_plugin project. 13 generated pepper_test_plugin project.
14 14
15 Note that pepper_test_plugin is not dependent on the chrome project so you 15 Note that pepper_test_plugin is not dependent on the chrome project so you
16 need to remember to build Chrome separately if necessary. 16 need to remember to build Chrome separately if necessary.
17
18 - Mac Instructions -
19 In the pepper_test_plugin.xcodeproj that gets generated in this dir by GYP:
20
21 [There isn't a way to add an Xcode Custom Executable via GYP, so you have to do
22 this by hand each time the .xcoeproj is generated. Sorry.]
23
24 Right (ctrl)-click 'Executables', then "Add -> New Custom Executable..."
25 Call the Executable "Chromium"
26 Set the Executable Path to ${BUILT_PRODUCTS_DIR}/Chromium.app/Contents/MacOS/Chr omium
27 When the Info panel comes up, add these arguments using the '+' button:
28 --no-sandbox
29 --internal-pepper
30 file://${SRCROOT}/test_page.html
31 # Add this if you want Chromium to pause before loading a render view.
32 --renderer-startup-dialog
33 # Add this to run Chromium as a single process.
34 --single-process
35
36 Before you run the executable, copy the plugin into the Chromium.app bundle,
37 into Chromium.app/Contents/PlugIns. You might have to create the PlugIns
38 directory first.
39
40 Once all this is set up, you can use "Build and run" (or cmd-r) in Xcode to
41 run the pepper plugin test.
42
OLDNEW
« no previous file with comments | « webkit/tools/pepper_test_plugin/Info.plist ('k') | webkit/tools/pepper_test_plugin/pepper_test_plugin.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698